File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -151,9 +151,23 @@ Known issues
151151 OpenSearch upgrade. To workaround this, you can run the following PUT request
152152 to enable allocation again:
153153
154- ..code-block:: console
154+ .. code-block :: console
155155
156- curl -X PUT "https://<kolla-vip>:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d '{ "transient" : { "cluster.routing.allocation.enable" : "all" } } '
156+ curl -X PUT "https://<kolla-vip>:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d '{ "transient" : { "cluster.routing.allocation.enable" : "all" } } '
157+
158+ * Cinder database migrations fail during the upgrade process when the
159+ ``use_quota `` column is set to ``NULL ``, which can be the case on deleted
160+ volumes and snapshots if OpenStack has been in operation for several
161+ releases. See `Launchpad bug 2070475
162+ <https://bugs.launchpad.net/cinder/+bug/2070475> `__ for details. Until the
163+ `database migrations are fixed
164+ <https://review.opendev.org/c/openstack/cinder/+/923635> `__, the data can be
165+ fixed with the following MySQL queries:
166+
167+ .. code-block :: mysql
168+
169+ UPDATE volumes SET use_quota = 1 WHERE use_quota IS NULL AND deleted_at IS NOT NULL;
170+ UPDATE snapshots SET use_quota = 1 WHERE use_quota IS NULL AND deleted_at IS NOT NULL;
157171
158172 Security baseline
159173=================
You can’t perform that action at this time.
0 commit comments