8d9f862901
When deleting a volume, always use the admin context to fetch the admin_metadata that indicates whether it's a temporary volume. This fixes a bug where a non-admin user failed to retrieve the admin_metadata, which caused the volume to not be treated as temporary. This, in turn, caused quota usage to be incorrectly updated. Closes-Bug: #1778774 Change-Id: I8e6b0c726dc6498b28795a1ea0520ef05e53f047
9 lines
352 B
YAML
9 lines
352 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fix a quota usage error triggered by a non-admin user backing up an
|
|
in-use volume. The forced backup uses a temporary volume, and quota
|
|
usage was incorrectly updated when the temporary volume was deleted
|
|
after the backup operation completed.
|
|
Fixes `bug 1778774 <https://bugs.launchpad.net/tripleo/+bug/1778774>`__.
|