You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "angeline shen (JIRA)" <ji...@apache.org> on 2013/10/30 00:13:25 UTC

[jira] [Created] (CLOUDSTACK-4993) [VMware] When issuing detach ISO to Vcenter, MS should prevent Vcenter from posting Virtual Machine question dialog waiting for user response

angeline shen created CLOUDSTACK-4993:
-----------------------------------------

             Summary: [VMware] When issuing detach ISO to Vcenter, MS should prevent Vcenter from posting Virtual Machine question dialog waiting for user response
                 Key: CLOUDSTACK-4993
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4993
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.2.1
         Environment: MS  10.223.50.3  http://repo-ccp.citrix.com/releases/ASF/rhel/6.4/4.2/CloudPlatform-4.2.1-28-rhel6.4.tar.gz
host    ESXi 5.1     Vcenter 5.1
            Reporter: angeline shen
            Priority: Critical
             Fix For: 4.2.1


1.    advance zone.  register ISO    
      http://nfs1.lab.vmops.com/isos_64bit/CentOS-6.4-x86_64-bin-DVD1.iso
     Deploy VM with ISO
2. VM >   Detach  ISO failed  after 10 minutes
2013-10-29 14:09:58,663 WARN  [storage.resource.VmwareStorageProcessor] (DirectAgent-385:10.223.51.3) AttachIsoCommand(detach) failed due to Exception: javax.xml.ws.WebServiceException
Message: java.net.SocketTimeoutException: Read timed out

javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed out
        at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:196)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:212)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:203)
        at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:122)
        at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
        at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
        at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
        at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
        at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
        at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
        at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:146)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
        at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
        at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
        at $Proxy90.waitForUpdates(Unknown Source)
        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForValues(VmwareClient.java:462)
        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:404)
        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.detachIso(VirtualMachineMO.java:1244)
        at com.cloud.storage.resource.VmwareStorageProcessor.attachIso(VmwareStorageProcessor.java:1353)
        at com.cloud.storage.resource.VmwareStorageProcessor.dettachIso(VmwareStorageProcessor.java:1376)
        at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:136)
        at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:57)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:559)
        at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:312)
        at sun.security.ssl.InputRecord.read(InputRecord.java:350)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:884)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
        at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:192)
        ... 31 more
2013-10-29 14:09:58,665 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-385:null) Seq 2-880674678: Response Received: 
2013-10-29 14:09:58,682 DEBUG [agent.transport.Request] (DirectAgent-385:null) Seq 2-880674678: Processing:  { Ans: , MgmtId: 206915885077197, via: 2, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.AttachAnswer":{"result":false,"details":"AttachIsoCommand(detach) failed due to Exception: javax.xml.ws.WebServiceException\nMessage: java.net.SocketTimeoutException: Read timed out\n","wait":0}}] }

2013-10-29 14:09:58,665 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-385:null) Seq 2-880674678: Response Received: 
2013-10-29 14:09:58,682 DEBUG [agent.transport.Request] (DirectAgent-385:null) Seq 2-880674678: Processing:  { Ans: , MgmtId: 206915885077197, via: 2, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.AttachAnswer":{"result":false,"details":"AttachIsoCommand(detach) failed due to Exception: javax.xml.ws.WebServiceException\nMessage: java.net.SocketTimeoutException: Read timed out\n","wait":0}}] }
2013-10-29 14:09:58,682 DEBUG [agent.transport.Request] (Job-Executor-62:job-59 = [ 7a98e072-152c-4a49-a621-e62fad3854be ]) Seq 2-880674678: Received:  { Ans: , MgmtId: 206915885077197, via: 2, Ver: v1, Flags: 10, { AttachAnswer } }
2013-10-29 14:09:58,682 DEBUG [agent.manager.AgentManagerImpl] (Job-Executor-62:job-59 = [ 7a98e072-152c-4a49-a621-e62fad3854be ]) Details from executing class org.apache.cloudstack.storage.command.DettachCommand: AttachIsoCommand(detach) failed due to Exception: javax.xml.ws.WebServiceException
Message: java.net.SocketTimeoutException: Read timed out

2013-10-29 14:09:58,752 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-62:job-59 = [ 7a98e072-152c-4a49-a621-e62fad3854be ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.iso.DetachIsoCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to detach iso
        at com.cloud.template.TemplateManagerImpl.detachIso(TemplateManagerImpl.java:940)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at org.apache.cloudstack.api.command.user.iso.DetachIsoCmd.execute(DetachIsoCmd.java:87)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2013-10-29 14:09:58,755 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-62:job-59 = [ 7a98e072-152c-4a49-a621-e62fad3854be ]) Complete async job-59 = [ 7a98e072-152c-4a49-a621-e62fad3854be ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to detach iso
2013-10-29 14:10:00,505 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START===  10.215.3.21 -- GET  command=queryAsyncJobResult&jobId=7a98e072-152c-4a49-a621-e62fad3854be&response=json&sessionkey=w4u2QVrohj0wciVlJoatiDNtzuw%3D&_=1383081077559






--
This message was sent by Atlassian JIRA
(v6.1#6144)