From 2c19b1c605f4f7280e4c67241b2a3e9cb675b620 Mon Sep 17 00:00:00 2001 From: xing-yang Date: Wed, 23 Nov 2016 14:13:55 -0500 Subject: [PATCH] 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 --- ...der-manage-db-online-schema-migrations-d1c0d40f26d0f033.yaml | 2 +- .../migrate-cg-to-generic-volume-groups-f82ad3658f3e567c.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/releasenotes/notes/cinder-manage-db-online-schema-migrations-d1c0d40f26d0f033.yaml b/releasenotes/notes/cinder-manage-db-online-schema-migrations-d1c0d40f26d0f033.yaml index 859acd5c4ac..69da2f6a19e 100644 --- a/releasenotes/notes/cinder-manage-db-online-schema-migrations-d1c0d40f26d0f033.yaml +++ b/releasenotes/notes/cinder-manage-db-online-schema-migrations-d1c0d40f26d0f033.yaml @@ -4,7 +4,7 @@ upgrade: 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 + 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 diff --git a/releasenotes/notes/migrate-cg-to-generic-volume-groups-f82ad3658f3e567c.yaml b/releasenotes/notes/migrate-cg-to-generic-volume-groups-f82ad3658f3e567c.yaml index e6d6c649153..67e0b0c40a5 100644 --- a/releasenotes/notes/migrate-cg-to-generic-volume-groups-f82ad3658f3e567c.yaml +++ b/releasenotes/notes/migrate-cg-to-generic-volume-groups-f82ad3658f3e567c.yaml @@ -1,5 +1,5 @@ --- upgrade: - Operator needs to perform `cinder-manage db - online-data-migrations` to migrate existing consistency + online_data_migrations` to migrate existing consistency groups to generic volume groups.