← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1112673] Re: allowvssprovider=false not honored in other_config field

 

The bug is still present. My previous fix is problematic and I have the
proper fix incoming.

** Changed in: nova
       Status: Fix Released => Incomplete

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1112673

Title:
  allowvssprovider=false not honored in other_config field

Status in OpenStack Compute (Nova):
  Incomplete

Bug description:
  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.

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1112673/+subscriptions