Bug 1905097 - Cinder restore across Availability Zones
Summary: Cinder restore across Availability Zones
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-cinderclient
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: ---
Assignee: Alan Bishop
QA Contact: Evelina Shames
Andy Stillman
URL:
Whiteboard:
Depends On: 2229750
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-07 13:46 UTC by Gregory Charot
Modified: 2023-08-16 10:33 UTC (History)
7 users (show)

Fixed In Version: python-cinderclient-7.4.1-0.20210904062152.4f72e6f.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 762020 0 None MERGED Support backup-restore to a specific volume type or AZ 2021-03-04 18:11:06 UTC
Red Hat Issue Tracker OSP-2223 0 None None None 2021-12-14 15:18:26 UTC

Description Gregory Charot 2020-12-07 13:46:54 UTC
Description of problem:

As a user i want to easily restore a removed backuped by cinder backup to a different AZ than the original volume.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Currently possible with the cinder create command
$ BACKUP_ID=$(openstack volume backup list --name vol-dcn1 -f value -c ID)
& OS_VOLUME_API_VERSION=3.51 cinder create --availability-zone az-dcn2 --name vol-dcn2 --backup-id $BACKUP_ID 1


Goal is to integrate this with cinder backup tooling or API.

Comment 1 Alan Bishop 2021-03-04 18:12:25 UTC
The patch merged on master, and is on target for OSP-17.

Comment 2 Gregory Charot 2021-04-13 18:23:54 UTC
not a GA must have, moving to 17.0.2

Comment 10 Alan Bishop 2023-08-07 14:35:07 UTC
Doc updates for this BZ will be limited to updating the command to restore a backup (step 2) in [1].

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1-beta/html-single/deploying_a_distributed_compute_node_dcn_architecture/index#proc_backup-and-restore-across-edge-sites_appendix

However, it turns out cross-az backups themselves are broken in OSP-17 (bug #2229750), which makes it difficult to verify the new command for restoring a cross-az backup. I'm clearing the needinfo now, and will revisit the doc issue when the blocking bug is cleared.

Comment 11 Lon Hohberger 2023-08-16 10:33:56 UTC
According to our records, this should be resolved by python-cinderclient-7.4.1-1.20220727131518.4f72e6f.el9ost.  This build is available now.


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