Public bug reported: Recently merged patch [1] adds a capacity to image to update the store location in the location metadata. Lazy update of metadata fails on image-list call if one of the image listed is not owned by the user and throws NotFound error.
Environment details: 1. Devstack: latest version 2. glance_store v1.0.0 Steps to reproduce: 1. Enable multiple stores in glance-api.conf (Add below params under respective sections) [Default] enabled_backends = fast:file,cheap:file [glance_store] default_backend = fast [fast] filesystem_store_datadir = /opt/stack/data/glance/fast/ [cheap] filesystem_store_datadir = /opt/stack/data/glance/cheap/ 2. restart glance-api service 3. source using ~/devstack localrc demo demo 4. Run glance image-list command Expected result: All images should be shown Actual Result: HTTP 400 Bad Request: No image found with ID <image-id> ** Affects: glance Importance: Undecided Assignee: Abhishek Kekane (abhishek-kekane) Status: New ** Changed in: cinder Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane) ** Changed in: cinder Status: New => Invalid ** Project changed: cinder => glance ** Changed in: glance Status: Invalid => New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1840885 Title: MultiStore: Lazy update fails if image is not owned by owner Status in Glance: New Bug description: Recently merged patch [1] adds a capacity to image to update the store location in the location metadata. Lazy update of metadata fails on image-list call if one of the image listed is not owned by the user and throws NotFound error. Environment details: 1. Devstack: latest version 2. glance_store v1.0.0 Steps to reproduce: 1. Enable multiple stores in glance-api.conf (Add below params under respective sections) [Default] enabled_backends = fast:file,cheap:file [glance_store] default_backend = fast [fast] filesystem_store_datadir = /opt/stack/data/glance/fast/ [cheap] filesystem_store_datadir = /opt/stack/data/glance/cheap/ 2. restart glance-api service 3. source using ~/devstack localrc demo demo 4. Run glance image-list command Expected result: All images should be shown Actual Result: HTTP 400 Bad Request: No image found with ID <image-id> To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1840885/+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