Bug 2229750 - Cross-AZ backup creation is broken
Summary: Cross-AZ backup creation is broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z1
: 17.1
Assignee: Brian Rosmaita
QA Contact: Yosi Ben Shimon
Ian Frangs
URL:
Whiteboard:
Depends On:
Blocks: 1905097
TreeView+ depends on / blocked
 
Reported: 2023-08-07 14:26 UTC by Alan Bishop
Modified: 2023-09-21 09:04 UTC (History)
7 users (show)

Fixed In Version: openstack-cinder-18.2.2-1.20230518161044.el9ost
Doc Type: Bug Fix
Doc Text:
Before this update, when specifying an availability zone (AZ) when creating a Block Storage volume backup, the AZ was ignored, which could cause the backup to fail. With this update, the Block Storage backup service resolves this issue.
Clone Of:
Environment:
Last Closed: 2023-09-20 00:29:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1912624 0 None None None 2023-08-07 14:26:48 UTC
OpenStack gerrit 785099 0 None MERGED Do not ignore availability_zone in backup creation 2023-09-01 15:25:10 UTC
Red Hat Issue Tracker OSP-27264 0 None None None 2023-08-07 14:29:12 UTC
Red Hat Product Errata RHBA-2023:5138 0 None None None 2023-09-20 00:30:28 UTC

Description Alan Bishop 2023-08-07 14:26:48 UTC
Description of problem:

The cinder-backup service is no longer able to back up a volume in a different AZ. 

How reproducible:

Always

Steps to Reproduce:
1. Prepare a deployment with a cinder-volume service in one AZ, and the backup service in a different AZ.
2. Create a volume
3. Create a cross-AZ backup of that volume

Actual results:

The backup fails, with an error message in the cinder-scheduler log:

2023-08-07 12:52:34.964 2 ERROR cinder.scheduler.manager [req-08d6c888-8ee0-4d95-92ab-735bb723b790 256db7de35ee451b946003930aef5c99 262b573d07f2425ba7eb3718825e5893 - - -] Service not found for creating backup.: cinder.exception.ServiceNotFound: Service cinder-backup could not be found.

Expected results:

The backup succeeds.

Additional info:

The issue was reported upstream a while ago, and there's a patch proposed to fix it. The patch needs to be updated (it's in merge-conflict).

Comment 1 Brian Rosmaita 2023-08-08 14:00:18 UTC
Regression was introduced in upstream ussuri by change Ie2afb57c4861c4, so this should not need to go to train.

Comment 20 errata-xmlrpc 2023-09-20 00:29:52 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 (Release of components for Red Hat OpenStack Platform 17.1.1 (Wallaby)), 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-2023:5138


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