Toshio Iwasaki created CLOUDSTACK-6141:
------------------------------------------
Summary: Failed to "backup" snapshot when using S3 secondary
storage
Key: CLOUDSTACK-6141
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6141
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Snapshot
Affects Versions: 4.2.1
Environment: CentOS 6.5/S3 secondary storage/NFS primary
storage/qemu-img 0.12.1
Reporter: Toshio Iwasaki
Priority: Minor
it seems that
"/usr/share/cloudstack-common/scripts/storage/qcow2/managesnapshot.sh" isn't
working with qemu-img 0.12.1.
======
backup_snapshot()
:
$qemu_img convert -f qcow2 -O qcow2 -s $snapshotname $disk $destPath/$destName
>& /dev/null
======
qemu-img(ver 0.12.1) don't recognize "-s" argument.
- managementserver.log
====================================================
2014-02-19 09:34:49,155 DEBUG [agent.transport.Request]
(AgentManager-Handler-13:null) Seq 8-1727727724: Processing: { Ans: , MgmtId:
18005771460084, via: 8, Ver: v1, Flags: 110,
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Failed
to backup 6005d4e1-b053-4339-ace5-5a1ba333b645 for disk
/mnt/58e3a408-13e7-3621-8141-78dc653fed07/5fba40b9-c299-4c79-898c-cad18d41cae8
to /mnt/d858e5dd-42f4-3bca-be0c-b667a5322b4e/snapshots/2/58","wait":0}}] }
====================================================
and agent.log
====================================================
2014-02-19 09:34:41,843 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) Executing:
/usr/share/cloudstack-common/scripts/storage/qcow2/managesnapshot.sh -b
/mnt/58e3a408-13e7-3621-8141-78dc653fed07/5fba40b9-c299-4c79-898c-cad18d41cae8
-n 6005d4e1-b053-4339-ace5-5a1ba333b645 -p
/mnt/d858e5dd-42f4-3bca-be0c-b667a5322b4e/snapshots/2/58 -t
6005d4e1-b053-4339-ace5-5a1ba333b645
2014-02-19 09:34:41,964 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) Exit value is 2
2014-02-19 09:34:41,965 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) Failed to backup
6005d4e1-b053-4339-ace5-5a1ba333b645 for disk
/mnt/58e3a408-13e7-3621-8141-78dc653fed07/5fba40b9-c299-4c79-898c-cad18d41cae8
to /mnt/d858e5dd-42f4-3bca-be0c-b667a5322b4e/snapshots/2/58
2014-02-19 09:34:41,965 DEBUG [kvm.storage.KVMStorageProcessor]
(agentRequest-Handler-3:null) Failed to backup snaptshot: Failed to backup
6005d4e1-b053-4339-ace5-5a1ba333b645 for disk
/mnt/58e3a408-13e7-3621-8141-78dc653fed07/5fba40b9-c299-4c79-898c-cad18d41cae8
to /mnt/d858e5dd-42f4-3bca-be0c-b667a5322b4e/snapshots/2/58
====================================================
#I'm afraid that im not good at english...
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)