← Back to team overview

openstack team mailing list archive

Re: XCP snapshotting with volumes attached failure

 

Hi,

Sorry, not had chance to look at the bugs in the last few days.

It should be possible to just snapshot the root VDI. I guess that is what makes the most sense, what does the API say should happen?
I guess we want the snapshot operation on the volume. I am not sure how well this plays with boot from volume.

The error of SR_OPERATION_NOT_SUPPORTED is because you are using LVM over iSCSI (I guess the nova-volume default). If you used the SM integration and did something like VHD over iSCSI you should get the snapshots working. But I guess you don't want the snapshots sitting un-managed on your storage array?

Cheers,
John

From: openstack-bounces+john.garbutt=eu.citrix.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+john.garbutt=eu.citrix.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Roman Sokolkov
Sent: 01 June 2012 14:38
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] XCP snapshotting with volumes attached failure

Hello, openstack developers!

We are using openstack on XCP. And if we tried to snapshot VM with iscsi volumes attached nova fails with http://paste.openstack.org/show/18205/

I filled a bug report few days ago https://bugs.launchpad.net/nova/+bug/1005950 , but there is no answer.

Also, as I could see qemu,kvm snapshotting was refactored https://github.com/openstack/nova/commit/7dbf9c7de23623223ef60c0566d9330797c5f87e in favor snap ONLY root devices instead of libvirt snapshotting

We could use some small hacks to prevent snapshoting with attached volumes, but it would be better if xen(xcp) snapshotting will refactored likewise a libvirt one. Is it possible?


--
Regards, Roman Sokolkov

Follow ups

References