incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devdeep Singh" <>
Subject Review Request: Multiple snapshots on a volume failing on XenServer 6.1.
Date Sun, 16 Dec 2012 10:46:07 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for cloudstack.


CS-16544: Create Snapshot (2nd time - reccuring) is failing on XenServer 6.1. The issue is
that while backing up a snapshot when cloudstack tries to update the parent (of the backed
up vhd), vhd-util isn't present at the desired location and setParent function in vmopsSnapshot
fails. This issue is observed only on Xenserver 6.1. The reason for this is, when CloudStack
connects to a Xenserver and executes the SetupCommand, it copies vhd-util tool to /opt/xensource/bin
directory on the host. However, in vmopsSnapshot python file 'VHD_UTIL' is initialized to
/usr/sbin/. The issue is not observed on 6.0.2 (and I guess previous versions) because vhd-util
is present in /usr/sbin/ directory by default (after a clean install). Whereas, in Xenserver
6.1, vhd-util is present in '/usr/bin'. Fixed the issue by updating VHD_UTIL to point to /opt/xensource/bin/vhd-util
in vmopsSnapshot file.

This addresses bug


  scripts/vm/hypervisor/xenserver/vmopsSnapshot 80e21f8 



Tested by taking multiple snapshots of the same volume.


Devdeep Singh

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message