Bug 2229750

Summary: Cross-AZ backups are broken
Product: Red Hat OpenStack Reporter: Alan Bishop <abishop>
Component: openstack-cinderAssignee: Brian Rosmaita <brian.rosmaita>
Status: ON_DEV --- QA Contact: Evelina Shames <eshames>
Severity: medium Docs Contact: Andy Stillman <astillma>
Priority: medium    
Version: 17.0 (Wallaby)CC: brian.rosmaita, ifrangs, jelynch, lsvaty, pgrist
Target Milestone: z2Keywords: Regression, Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
When you specify an availability zone (AZ) when creating a Block Storage volume backup, the AZ is ignored. This may cause the backup to fail if the configuration of your AZs prevents the scheduler from satisfying the backup request. This issue does not affect the cross-availability-zone creation of volumes from existing backups.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1905097    

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.