3 Commits

Author SHA1 Message Date
Sean McGinnis
c5630ce51d Clean up release notes for Ocata
Fix up various issues in the release notes in preparation for
branching the RC-1 release.

Change-Id: I8db5d2859c36d666732c513afe520d588ac9f3ba
2017-02-02 08:15:52 -06:00
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
xing-yang
307da0778f Migrate consistency groups to groups
This patch provides script to migrate data from consistencygroups to
groups and from cgsnapshots to group_snapshots.

In the migration script, it creates a default_cgsnapshot_type
for migrating data and copies data from consistency groups to
groups and from cgsnapshots to group_snapshots. Migrated consistency
groups and cgsnapshots will be removed from the database.

It depends on the following patch that adds generic code for
online data migrations:
    https://review.openstack.org/#/c/330391/

Run the following command to migrate CGs:
    cinder-manage db online_data_migrations
    --max_count <max>
    --ignore_state
max_count is optional. Default is 50.
ignore_state is optional. Default is False.

UpgradeImpact
Partial-Implements: blueprint generic-volume-group
Related: blueprint online-schema-upgrades
Change-Id: I1cf31e4ba4acffe08e2c09cbfd5b50cf0ea7a6e0
2016-11-21 21:43:17 -05:00