cinder/releasenotes/notes/cinder-manage-db-online-schema-migrations-d1c0d40f26d0f033.yaml
xing-yang 2c19b1c605 Fix online data migrations cmd in release notes
The online data migrations command in the release notes
needs to be corrected.

$ cinder-manage db online-data-migrations
usage: cinder-manage db [-h]
{online_data_migrations,purge,sync,version} ...
cinder-manage db: error: argument action: invalid choice:
'online-data-migrations' (choose from 'online_data_migrations',
                          'purge', 'sync', 'version')

"cinder-manage db online_data_migrations" is the right command.

Change-Id: I38d36f0721a6d0889639010e91ab041f935d0a00
2016-11-23 14:13:55 -05:00

14 lines
782 B
YAML

---
upgrade:
- To get rid of long running DB data migrations that must be run offline,
Cinder will now be able to execute them online, on a live cloud. Before
upgrading from Ocata to Pike, operator needs to perform all the Newton
data migrations. To achieve that he needs to perform `cinder-manage db
online_data_migrations` until there are no records to be updated. To limit
DB performance impact migrations can be performed in chunks limited by
`--max_number` option. If your intent is to upgrade Cinder in a non-live
manner, you can use `--ignore_state` option safely. Please note that
finishing all the Newton data migrations will be enforced by the first
schema migration in Pike, so you won't be able to upgrade to Pike without
that.