summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorNicholas Kuechler <nkuechler@gmail.com>2013-02-01 11:04:01 -0600
committerNicholas Kuechler <nkuechler@gmail.com>2013-02-12 17:06:58 -0600
commit8ddbbf095136333cb9f2f4c7d60e37f70c759776 (patch)
treeae85fc6cca3df3e97802eda2e9a758b32c129c49 /nova/utils.py
parentc421d775ee3052d1af4c08b8ff81f6877ca8b1a8 (diff)
downloadnova-8ddbbf095136333cb9f2f4c7d60e37f70c759776.tar.gz
nova-8ddbbf095136333cb9f2f4c7d60e37f70c759776.tar.xz
nova-8ddbbf095136333cb9f2f4c7d60e37f70c759776.zip
Move allowvssprovider=false to vm-data field
Currently we're setting allowvssprovider=false in the other-config field. However, this setting is not honored in the other-config field, allowing vss-based snapshots to be created. The allowvssprovider=false should be moved to the vm-data field in xenstore as that field is used to decide whether vss snapshotting is allowed or not. Amended to change: 'str(False)' to 'false'. Relevant code: https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vm_utils.py#L233 Manually set allowvssprovider=false in the vm-data field: xe vm-param-set uuid=<VM-UUID> xenstore-data:vm-data/allowvssprovider=false References: https://github.com/mcclurmc/xcp-storage-managers/blob/master/drivers/vss_control#L38 https://github.com/mcclurmc/xcp-storage-managers/blob/master/snapwatchd/snapwatchd#L298 Change-Id: I96efbc18cb7eb0ee2d0e6526b3c4f3502a68e1dd Fixes: bug #1112673
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions