← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1840885] [NEW] MultiStore: Lazy update fails if image is not owned by owner

 

You have been subscribed to a public bug:

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: Invalid

-- 
MultiStore: Lazy update fails if image is not owned by owner
https://bugs.launchpad.net/bugs/1840885
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance.


References