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
This commit is contained in:
Alan Bishop 2018-05-30 15:46:52 -04:00
parent 1c9b288079
commit 3426d4cdc6

View File

@ -148,7 +148,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