*** This bug is a duplicate of bug 1802587 ***
    https://bugs.launchpad.net/bugs/1802587

Ok, so I think this is a duplicate of
https://bugs.launchpad.net/glance/+bug/1802587, which was fixed here:
https://review.opendev.org/c/openstack/glance/+/617229.

Dan, thanks a again for mentioning that function.

** This bug has been marked a duplicate of bug 1802587
   With multiple backends enabled, adding a location does not default to 
default store

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1922251

Title:
  nova instance snapshots fail when using rbd

Status in Glance:
  New
Status in OpenStack Compute (nova):
  New

Bug description:
  Snapshotting instances that use the RBD Glance image backend fails if
  Glance is configured to use multiple stores.

  Trace: http://paste.openstack.org/raw/804113/

  The reason is that the Nova Libvirt driver creates the RBD snapshot
  directly and then updates the Glance image location. However, Nova
  isn't aware of the Glance store, so this information won't be
  included.

  Glance will error out when trying to add a location that doesn't
  include the store name when multiple stores are enabled, or even if
  there's a single one passed through the "enabled_backends" glance
  option.

  
https://github.com/openstack/nova/blob/68af588d5c7b5c9472cbc2731fee2956c86206ea/nova/virt/libvirt/imagebackend.py#L1144-L1178
  
https://github.com/openstack/nova/blob/68af588d5c7b5c9472cbc2731fee2956c86206ea/nova/image/glance.py#L701-L702
  
https://github.com/openstack/nova/blob/68af588d5c7b5c9472cbc2731fee2956c86206ea/nova/image/glance.py#L555-L561
  
https://github.com/openstack/python-glanceclient/blob/3.3.0/glanceclient/v2/images.py#L472
  
https://github.com/openstack/glance/blob/b5437773b20db3d6ef20d449a8a43171c8fc7f69/glance/location.py#L122-L129
  
https://github.com/openstack/glance_store/blob/ae9022cd3639bf3d0f482921d03b2b751f757399/glance_store/location.py#L83-L113

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to