summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorwhoami-rajat <rajatdhasmana@gmail.com>2021-02-09 17:32:34 +0000
committerwhoami-rajat <rajatdhasmana@gmail.com>2021-02-16 07:55:35 +0000
commitd0702ea82672237ea8c864eb0de7cc3d25e83010 (patch)
treeb67b647a51ed3b57a9cab478c3dca5fecba78784 /releasenotes
parent488d3e2fe31e4fc7a461e9de8b20df481d78daa2 (diff)
downloadglance_store-d0702ea82672237ea8c864eb0de7cc3d25e83010.tar.gz
Validate volume type during volume create
Currently when configuring multiple cinder stores, glance validates the volume types configured in glance-api.conf during service startup. This check however has a dependency on cinder API service to be up and running. During certain deployment scenarios, it is not always mandatory that cinder is already running when we are starting glance hence this check will fail the glance service hence the deployment This patch removes the startup exceptions and instead logs a warning. Also the check is done during volume create so handling for NotFound exception from cinder is also handled. Change-Id: I468523b947ad6fcff4b074d2ed1cb7a9e52b15ca Closes-Bug: #1915163
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/volume-type-validation-check-011a400d7fb3b307.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/releasenotes/notes/volume-type-validation-check-011a400d7fb3b307.yaml b/releasenotes/notes/volume-type-validation-check-011a400d7fb3b307.yaml
new file mode 100644
index 0000000..7ff169b
--- /dev/null
+++ b/releasenotes/notes/volume-type-validation-check-011a400d7fb3b307.yaml
@@ -0,0 +1,12 @@
+---
+upgrade:
+ - |
+ Previously, during service startup, the check to validate volume types
+ used to raise ``BackendException`` or ``BadStoreConfiguration`` exceptions
+ when an invalid volume type was configured hence failing the service
+ startup. It now logs a warning and the glance service starts normally.
+fixes:
+ - |
+ `Bug #1915163 <https://bugs.launchpad.net/glance-store/+bug/1915163>`_:
+ Added handling to log and raise proper exception during image create when
+ an invalid volume type is configured.