[ https://issues.apache.org/jira/browse/CLOUDSTACK-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajesh Battala updated CLOUDSTACK-3470: --------------------------------------- Summary: [KVM] CopyCommand is not implemented in KVM (was: [KVM]Mismatch of package name in copyVolumeCmd sent from server to Agent (kvm)) > [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 > Priority: Blocker > Fix For: 4.2.0 > > > copyvolume command is under the package of com.cloud.* > but when it sends to the agent, its sending with org.apache.* > which is causing the copyVolumeCmd fail at the KVM agent side. > 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