cinder/cinder/cmd
Gorka Eguileor 3cd2ebd375 Avoid second restart on offline upgrades
On offline upgrades, due to the rolling upgrade mechanism we need to
restart the cinder services twice to complete the upgrade, just like in
the rolling upgrade case.

The current offline upgrade process is:

- Stop cinder services
- Upgrade the cinder nodes
- Sync your DB
- Start the cinder services
- Restart all the cinder services

This second restart creates a bad user experience and it should not be
necessary on an offline upgrade, so this patch adds a new optional
parameter -called "--bump-versions"- to the cinder-manage db sync
command that allows us to skip the restart of the services.

Closes-Bug: #1756321
Change-Id: I1b58c637f6b2187a78c9c00a6c4933335439ad6f
2018-04-02 15:13:06 +02:00
..
__init__.py Use pbr entry_points to setup the cinder scripts 2014-12-08 09:53:22 -05:00
api.py Moved CORS middleware configuration into oslo-config-generator 2016-03-08 08:51:52 -08:00
backup.py Support multiple processes on Cinder Backup 2018-03-14 10:52:25 +01:00
manage.py Avoid second restart on offline upgrades 2018-04-02 15:13:06 +02:00
rtstool.py rtstool surrounds IPv6 addresses by brackets 2016-03-28 16:20:42 +03:00
scheduler.py Merge "Add 'conf' param for TextGuruMeditation autorun setup" 2016-03-03 19:01:46 +00:00
volume.py Windows: allow multiple c-vol backends per service 2018-01-11 13:11:39 +02:00
volume_usage_audit.py Remove unused print_function imports 2017-11-02 11:06:58 -04:00