b3d3f31fa3
Previous patch I79d70543856c01a45e2d8c083ab8df6b9c047ebc implemented filtering of glance "os_glance..." metadata but its logic overlooked the fact that the glance metadata to be filtered are actually in a "properties" sub-dict as adjusted by the "_merge_volume_image_meta" method in cinder/volume/api.py. This patch re-invokes the filtering loop on the "properties" sub-dict when it is present. New unit test covers filtering in both cases. Closes-bug: #1945500 Change-Id: I06b8c363c4017adfa1ad134ad7a8a0954c005e62
9 lines
372 B
YAML
9 lines
372 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1945500 <https://bugs.launchpad.net/cinder/+bug/1945500>`_: The
|
|
original attempt at fixing this bug did not account for differences in
|
|
how glance and cinder store image metadata, and as a result some image
|
|
properties were not filtered out. This new improved fix addresses those
|
|
differences and makes the filtering more thorough.
|