fbf4899764b4ada68e42b39cec80a94c95cef03a
The cinder.db.sqlalchemy.api.volume_glance_metadata_bulk_create function
has the following in its docstring:
This API does not support changing the value of a key once it has
been created.
However, it actually fails if a specified key exists and has the same
value. This can cause problems if volume creation is retried following a
failure, since the metadata may have already been created.
This change modifies the function to ignore keys that exist and have the
expected value, as per the docstring.
Related-Bug: #1823445
Change-Id: Ibc3f7b995c43bc281b6978bfcba4d1a50db41fa3
OpenStack Cinder
OpenStack Cinder is a storage service for an open cloud computing service.
You can learn more about Cinder at:
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
git clone https://opendev.org/openstack/cinder
If you'd like to contribute, please see the information in CONTRIBUTING.rst
You can raise bugs on Launchpad
Python client
Description
Languages
Python
99.6%
Smarty
0.4%