You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Fang Wang (JIRA)" <ji...@apache.org> on 2013/07/12 20:25:49 UTC
[jira] [Commented] (CLOUDSTACK-3470) [KVM] CopyCommand is not
implemented in KVM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707202#comment-13707202 ]
Fang Wang commented on CLOUDSTACK-3470:
---------------------------------------
Volume migration is not supported on KVM yet.
> [KVM] CopyCommand is not implemented in KVM
> -------------------------------------------
>
> Key: CLOUDSTACK-3470
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3470
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: API, KVM
> Affects Versions: 4.2.0
> Reporter: Rajesh Battala
> Assignee: Fang Wang
> Priority: Blocker
> Fix For: 4.2.0
>
>
> while performing Volume Migrate from one ZWPS, to another ZWPS using KVM.
> copyVolumeBetweenPools method is triggering the CopyCommand to copy the volume from store to another.
> This CopyCommand is sent to KVM Agent to execute the operation of copying volume from Src Store to Dest Store.
> Issue is: CopyCommand is not implemented in KVM Resouce, hence failing the migration of Volumes
> 2013-07-11 15:48:59,778 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Request:Seq 4-2091581770: { Cmd , MgmtId: 235715300172635, via: 4, Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"63d241ad-d372-40fc-b770-7661902ff52d","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"f0802731-62fe-3a85-b81a-98ae47e845cf","id":2,"poolType":"NetworkFilesystem","host":"10.102.192.100","path":"/cpg_vol/rajesh/zwps1","port":2049}},"name":"vol3","size":0,"path":"00ff0a7a-95a8-4809-a334-f8a0d9aa3db2","volumeId":13,"accountId":2,"format":"QCOW2","id":13}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"63d241ad-d372-40fc-b770-7661902ff52d","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.102.192.100/cpg_vol/rajesh/secondary","_role":"Image"}},"name":"vol3","size":0,"path":"volumes/2/13","volumeId":13,"accountId":2,"format":"QCOW2","id":13}},"wait":10800}}] }
> 2013-07-11 15:48:59,778 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing command: org.apache.cloudstack.storage.command.CopyCommand
> 2013-07-11 15:48:59,778 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Response: unsupported commandorg.apache.cloudstack.storage.command.CopyCommand
> 2013-07-11 15:48:59,780 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Seq 4-2091581770: { Ans: , MgmtId: 235715300172635, via: 4, Ver: v1, Flags: 110, [{"com.cloud.agent.api.UnsupportedAnswer":{"result":false,"details":"Unsupported command issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure you got the right type of server?","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