Bug 1554772 - [RFE] Migration between Cinder AZs
Summary: [RFE] Migration between Cinder AZs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 11.0 (Ocata)
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: z5
: 11.0 (Ocata)
Assignee: Gorka Eguileor
QA Contact: Avi Avraham
Kim Nylander
URL:
Whiteboard:
Depends On: 1554784
Blocks: 1381612 1420438 1554768 1640757
TreeView+ depends on / blocked
 
Reported: 2018-03-13 10:45 UTC by Gorka Eguileor
Modified: 2022-08-16 10:07 UTC (History)
12 users (show)

Fixed In Version: openstack-cinder-10.0.6-21.el7ost
Doc Type: Enhancement
Doc Text:
Cinder volume migration between different availability zones is now supported.
Clone Of: 1554768
: 1554784 (view as bug list)
Environment:
Last Closed: 2018-05-18 16:48:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1747949 0 None None None 2018-03-13 10:45:25 UTC
OpenStack gerrit 541779 0 None None None 2018-03-13 10:45:25 UTC
Red Hat Issue Tracker OSP-4968 0 None None None 2022-08-16 10:07:25 UTC
Red Hat Product Errata RHBA-2018:1611 0 None None None 2018-05-18 16:50:10 UTC

Comment 5 Tzach Shefi 2018-05-03 15:46:33 UTC
Verified on:
openstack-cinder-10.0.6-24.el7ost.noarch


Add second backend (nfs), config two zones. 

Create a volume on nfs on DC2 

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


Migrate the volume to LVM other availability zone dc1
cinder retype 4ca235d3-294c-4087-a347-d260dcfa5844 lvm --migration-policy on-demand


cinder show 4ca235d3-294c-4087-a347-d260dcfa5844
+--------------------------------+---------------------------------------+                                           
| Property                       | Value                                 |                                           
+--------------------------------+---------------------------------------+                                           
| attachments                    | []                                    |                                           
| availability_zone              | dc1                                   |                                           
..                             |
| status                         | available   


As expected volume migration between availability zones dc2->dc1 successfully completed.

Comment 8 errata-xmlrpc 2018-05-18 16:48:51 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.

https://access.redhat.com/errata/RHBA-2018:1611


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