cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishan Kavala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3470) [KVM] CopyCommand is not implemented in KVM
Date Mon, 12 Aug 2013 14:42:47 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13736910#comment-13736910
] 

Kishan Kavala commented on CLOUDSTACK-3470:
-------------------------------------------

CopyCommand was implemented along with fixes for CLOUDSTACK-4211. Verified on latest agent
code. Making fixVersion = future for ZWPS related fixes.

2013-08-12 19:57:04,890 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Request:Seq
1-745406596:  { Cmd , MgmtId: 101318455136477, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cb3d8ab0-1121-4c2c-8cd5-dd24aaeb9fc5","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c81a7053-7722-3341-bdaf-9bc53062b75d","id":5,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/kishan/primary30","port":2049}},"name":"DATA-16","size":5368709120,"path":"262c64c8-3a83-4f35-8ec1-b709144284e3","volumeId":22,"vmName":"i-2-16-VM","accountId":2,"format":"QCOW2","id":22,"hypervisorType":"KVM"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cb3d8ab0-1121-4c2c-8cd5-dd24aaeb9fc5","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/kishan/secondary","_role":"Image"}},"name":"DATA-16","size":5368709120,"path":"volumes/2/22","volumeId":22,"vmName":"i-2-16-VM","accountId":2,"format":"QCOW2","id":22,"hypervisorType":"KVM"}},"executeInSequence":false,"wait":10800}}]
}
2013-08-12 19:57:04,890 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Processing
command: org.apache.cloudstack.storage.command.CopyCommand
2013-08-12 19:57:05,401 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:null) Seq 1-745406596:
 { Ans: , MgmtId: 101318455136477, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"path":"volumes/2/22/62949cdb-0986-4f8b-82bf-9a37fc881fd5","accountId":0,"id":0}},"result":true,"wait":0}}]
}
2013-08-12 19:57:05,593 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Request:Seq
1-745406597:  { Cmd , MgmtId: 101318455136477, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cb3d8ab0-1121-4c2c-8cd5-dd24aaeb9fc5","volumeType":"DATADISK","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.147.28.7/export/home/kishan/secondary","_role":"Image"}},"name":"DATA-16","size":5368709120,"path":"volumes/2/22/62949cdb-0986-4f8b-82bf-9a37fc881fd5","volumeId":22,"vmName":"i-2-16-VM","accountId":2,"format":"QCOW2","id":22,"hypervisorType":"KVM"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"c3a13a7e-c76b-4a0f-b2bd-f62342d38b5d","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"4ef8642c-29a6-3a4f-ab8f-138f2f0ecbfb","id":3,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/kishan/primary","port":2049}},"name":"DATA-16","size":5368709120,"path":"262c64c8-3a83-4f35-8ec1-b709144284e3","volumeId":23,"vmName":"i-2-16-VM","accountId":2,"id":23,"hypervisorType":"KVM"}},"executeInSequence":false,"wait":10800}}]
}
2013-08-12 19:57:06,219 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) Seq 1-745406597:
 { Ans: , MgmtId: 101318455136477, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"path":"64c13396-6df4-4138-99f6-4759c5bf0ef2","accountId":0,"id":0}},"result":true,"wait":0}}]
}
2013-08-12 19:57:06,685 DEBUG [cloud.agent.Agent] (agentRequest-Handler-5:null) Processing
command: com.cloud.agent.api.GetStorageStatsCommand
2013-08-12 19:57:06,696 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null)
Attempting to lock pool d2b630fd-efe9-4cfd-8e97-08729172fbf3 with file /var/lib/libvirt/images/KVMFILELOCK/.lock
2013-08-12 19:57:06,699 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handler-5:null)
Releasing the lock on pool d2b630fd-efe9-4cfd-8e97-08729172fbf3 with file /var/lib/libvirt/images/KVMFILELOCK/.lock
2013-08-12 19:57:06,781 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Request:Seq
1-745406599:  { Cmd , MgmtId: 101318455136477, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DeleteCommand":{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"cb3d8ab0-1121-4c2c-8cd5-dd24aaeb9fc5","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c81a7053-7722-3341-bdaf-9bc53062b75d","id":5,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/kishan/primary30","port":2049}},"name":"DATA-16","size":5368709120,"path":"262c64c8-3a83-4f35-8ec1-b709144284e3","volumeId":22,"vmName":"i-2-16-VM","accountId":2,"format":"QCOW2","id":22,"hypervisorType":"KVM"}},"wait":0}}]
}
2013-08-12 19:57:06,781 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Processing
command: org.apache.cloudstack.storage.command.DeleteCommand
2013-08-12 19:57:06,916 DEBUG [cloud.agent.Agent] (agentRequest-Handler-2:null) Seq 1-745406599:
 { Ans: , MgmtId: 101318455136477, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":true,"wait":0}}]
}
                
> [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

Mime
View raw message