Reset Cinder RPC versions after upgrade
Add "--bump-versions" option to Cinder's db sync command so that stale
RPC version info is purged from Cinder's DB. This ensures all Cinder
services use the latest RPC version after an upgrade.
Closes-Bug: #1774262
Change-Id: I935e65e765fe0a5a88b9cdce9a72b67555e7f9a6
(cherry picked from commit 3426d4cdc6
)
This commit is contained in:
parent
3570a94a69
commit
818f0d3b76
|
@ -136,7 +136,7 @@ outputs:
|
|||
command:
|
||||
- '/usr/bin/bootstrap_host_exec'
|
||||
- 'cinder_api'
|
||||
- "su cinder -s /bin/bash -c 'cinder-manage db sync'"
|
||||
- "su cinder -s /bin/bash -c 'cinder-manage db sync --bump-versions'"
|
||||
step_4:
|
||||
cinder_api:
|
||||
image: *cinder_api_image
|
||||
|
|
Loading…
Reference in New Issue