Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1420438 - [RFE] Migration between Cinder AZs
Summary: [RFE] Migration between Cinder AZs
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 13.0 (Queens)
Hardware: All
OS: Linux
Target Milestone: Upstream M1
: 14.0 (Rocky)
Assignee: Gorka Eguileor
QA Contact: Avi Avraham
James Smith
Depends On: 1554768 1554772 1554784
Blocks: 1381612 1640757
TreeView+ depends on / blocked
Reported: 2017-02-08 16:20 UTC by Mikel Olasagasti
Modified: 2021-06-10 11:54 UTC (History)
10 users (show)

Fixed In Version: openstack-cinder-12.0.1-0.20180418194613.c476898.el7ost.noarch
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1554768 1640757 (view as bug list)
Last Closed: 2019-01-11 11:47:00 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1747949 0 None None None 2018-02-09 16:08:43 UTC
OpenDaylight gerrit 550775 0 None None None 2018-04-19 07:29:43 UTC
OpenStack gerrit 541779 0 'None' MERGED Fix AZ not matching backend after migration 2020-03-31 14:40:44 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:47:25 UTC

Description Mikel Olasagasti 2017-02-08 16:20:09 UTC
Description of problem:

IHAC that would like to have the ability to migrate volumes between Cinder AZs

Version-Release number of selected component (if applicable):


Additional info:

Blueprint https://blueprints.launchpad.net/cinder/+spec/volume-migration-between-availability-zones

Comment 1 Red Hat Bugzilla Rules Engine 2017-03-01 14:24:23 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 7 Gorka Eguileor 2018-04-19 07:29:43 UTC
This is now in stable/Queens [1] so it will be included in OSP13 on next rebase.

[1]: https://review.openstack.org/#/c/550775/

Comment 8 Tzach Shefi 2018-05-03 09:28:58 UTC
I'll test then move to verified. 

For verification steps -> 

Comment 9 Tzach Shefi 2018-05-03 10:53:20 UTC
Verified on:

Create a volume
cinder create --display-name nfs2 --volume-type nfs 1 --availability-zone dc2
| Property                       | Value                                |
| attachments                    | []                                   |
| availability_zone              | dc2      

Retype/migrate to other backend LVM,Zone dc1

cinder retype 74f5d314-3e76-4d42-8e16-c05388344fee lvm --migration-policy on-demand

Verify that volume successfully migrated to other availability zone ->  dc1

cinder show 74f5d314-3e76-4d42-8e16-c05388344fee
| Property                       | Value                                 |
| attached_servers               | []                                    |
| attachment_ids                 | []                                    |
| availability_zone              | dc1                                   |
..                                 |
| status                         | available 

Looking great, verified.

Comment 12 Tzach Shefi 2018-11-12 13:38:10 UTC
Hit a new bug, attached migration of vol, works but source volume remains.
This doesn't happen with migration of a none attached volume.


Comment 13 Tzach Shefi 2018-11-12 14:02:04 UTC
Low usability bug.
User isn't notified that migration (to other az) of a vol with snapshots failed. It fails due to snapshots this is the correct/expected result. 
But user isn't notified that no migration occurred.  


Comment 17 errata-xmlrpc 2019-01-11 11:47:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.