ee1849714e
This fixes the bug related to cinder store migration being unable to complete if a non-owner, non-admin user GETs the image before one of the authorized users has triggered the lazy migration. Change-Id: I187f626816ef1bc7303251165d2282bf6985cfd1 Closes-Bug: #1932337
14 lines
611 B
YAML
14 lines
611 B
YAML
---
|
|
fixes:
|
|
- |
|
|
The cinder store lazy migration code assumed that the user
|
|
performing the GET was authorized to modify the image in order to
|
|
perform the update. This will not be the case for shared or public
|
|
images where the user is not the owner or an admin, and would
|
|
result in a 404 to the user if a migration is needed but not
|
|
completed. Now, we delay the migration if we are not sufficiently
|
|
authorized, allowing the first GET by the owner (or an admin) to
|
|
perform it. See Bug 1932337_ for more information.
|
|
|
|
.. _1932337: https://bugs.launchpad.net/glance/+bug/1932337
|