cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-3663) [VMWARE]Failed to create private templates (Unable to find the owner VM for volume operation)
Date Fri, 19 Jul 2013 10:48:48 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sailaja Mada updated CLOUDSTACK-3663:
-------------------------------------

    Attachment: management-server.log
                cloud-backup.dmp
                apilog.log
    
> [VMWARE]Failed to create private templates (Unable to find the owner VM for volume operation)
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3663
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3663
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Storage Controller, VMware
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>            Priority: Critical
>         Attachments: apilog.log, cloud-backup.dmp, management-server.log
>
>
> Steps:
> 1. Configure Adv zone with VMWARE with Zone wide primary storage
> 2. Deploy VM using default template
> 3. Stop VM
> 4. Tried to create template using this instance ROOT volume. (http://10.102.192.207:8096/client/api?command=createTemplate&volumeid=232046de-ddd9-4c71-89d2-ab0fe39d979b&displaytext=newvol4&name=newvol4&ostypeid=12&account=admin)
> Observation ;
> Failed to create private templates (Unable to find the owner VM for volume operation)
 (Attached logs and DB)
> 2013-07-19 15:07:09,066 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-6:null)
SeqA 2-394: Sending Seq 2-394:  { Ans: , MgmtId: 187767034175903, via: 2, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
> 2013-07-19 15:07:09,110 DEBUG [agent.manager.AgentAttache] (Job-Executor-14:job-25 =
[ d3faa71d-9514-41ac-84be-5b4767a722cd ]) Request seq: 1758134335
> 2013-07-19 15:07:09,111 DEBUG [agent.manager.AgentAttache] (Job-Executor-14:job-25 =
[ d3faa71d-9514-41ac-84be-5b4767a722cd ]) waiting to send 1758134335
> 2013-07-19 15:07:09,111 DEBUG [agent.manager.AgentAttache] (Job-Executor-14:job-25 =
[ d3faa71d-9514-41ac-84be-5b4767a722cd ]) entering synchronize block for sending 1758134335
> 2013-07-19 15:07:09,128 DEBUG [agent.transport.Request] (Job-Executor-14:job-25 = [ d3faa71d-9514-41ac-84be-5b4767a722cd
]) Seq 3-1758134335: Sending  { Cmd , MgmtId: 187767034175903, via: 3, Ver: v1, Flags: 100011,
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"232046de-ddd9-4c71-89d2-ab0fe39d979b","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6a54ccfe-ada6-3621-89f6-3eb182200637","id":1,"poolType":"NetworkFilesystem","host":"10.102.192.100","path":"/cpg_vol/sailaja/camponewps1","port":2049}},"name":"ROOT-6","size":0,"path":"ROOT-6-6","volumeId":6,"vmName":"i-3-6-VM","accountId":3,"format":"OVA","id":6}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/3/204","uuid":"77fdd847-bda3-40c5-97e6-40981223691b","id":204,"format":"RAW","accountId":3,"hvm":true,"displayText":"newvol3","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/sailaja/camponewss1","_role":"Image"}},"name":"1ee6416ad-cd28-3378-9e9e-9f295b16c627"}},"executeInSequence":false,"wait":10800}}]
}
> 2013-07-19 15:07:09,539 DEBUG [agent.transport.Request] (AgentManager-Handler-12:null)
Seq 3-1758134335: Processing:  { Ans: , MgmtId: 187767034175903, via: 3, Ver: v1, Flags: 10,
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"CreatePrivateTemplateFromVolumeCommand
exception: java.lang.Exception: Unable to find the owner VM for volume operation. vm: i-3-6-VM\ncom.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:572)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)\ncom.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)\ncom.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)\ncom.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)\ncom.cloud.agent.Agent.processRequest(Agent.java:525)\ncom.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\ncom.cloud.utils.nio.Task.run(Task.java:83)\njava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\njava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\njava.lang.Thread.run(Thread.java:679)\n","wait":0}}]
}
> 2013-07-19 15:07:09,539 DEBUG [agent.transport.Request] (Job-Executor-14:job-25 = [ d3faa71d-9514-41ac-84be-5b4767a722cd
]) Seq 3-1758134335: Received:  { Ans: , MgmtId: 187767034175903, via: 3, Ver: v1, Flags:
10, { CopyCmdAnswer } }
> 2013-07-19 15:07:09,604 DEBUG [cloud.template.TemplateManagerImpl] (Job-Executor-14:job-25
= [ d3faa71d-9514-41ac-84be-5b4767a722cd ]) Failed to create templateCreatePrivateTemplateFromVolumeCommand
exception: java.lang.Exception: Unable to find the owner VM for volume operation. vm: i-3-6-VM
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:572)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
> com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
> com.cloud.agent.Agent.processRequest(Agent.java:525)
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> com.cloud.utils.nio.Task.run(Task.java:83)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:679)
> 2013-07-19 15:07:09,799 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-25
= [ d3faa71d-9514-41ac-84be-5b4767a722cd ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.template.CreateTemplateCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create templateCreatePrivateTemplateFromVolumeCommand
exception: java.lang.Exception: Unable to find the owner VM for volume operation. vm: i-3-6-VM
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:572)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
> com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
> com.cloud.agent.Agent.processRequest(Agent.java:525)
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> com.cloud.utils.nio.Task.run(Task.java:83)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:679)
>         at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1369)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.template.CreateTemplateCmd.execute(CreateTemplateCmd.java:263)
>         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:679)
> 2013-07-19 15:07:09,830 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-14:job-25
= [ d3faa71d-9514-41ac-84be-5b4767a722cd ]) Complete async job-25 = [ d3faa71d-9514-41ac-84be-5b4767a722cd
], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to create templateCreatePrivateTemplateFromVolumeCommand
exception: java.lang.Exception: Unable to find the owner VM for volume operation. vm: i-3-6-VM
> com.cloud.storage.resource.VmwareStorageProcessor.createTemplateFromVolume(VmwareStorageProcessor.java:572)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:49)
> com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.executeRequest(VmwareSecondaryStorageResourceHandler.java:98)
> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:56)
> com.cloud.agent.Agent.processRequest(Agent.java:525)
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> com.cloud.utils.nio.Task.run(Task.java:83)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> java.lang.Thread.run(Thread.java:679)
> 2013-07-19 15:07:13,916 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null)
SeqA 2-395: Processing Seq 2-395:  { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
 \"connections\": []\n}","wait":0}}] }
> 2013-07-19 15:07:13,922 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null)
SeqA 2-395: Sending Seq 2-395:  { Ans: , MgmtId: 187767034175903, via: 2, Ver: v1, Flags:
100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message