307da0778f
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
6 lines
158 B
YAML
6 lines
158 B
YAML
---
|
|
upgrade:
|
|
- Operator needs to perform `cinder-manage db
|
|
online-data-migrations` to migrate existing consistency
|
|
groups to generic volume groups.
|