Idempotent creation of availability zones broken: oslo_db.exception.DBDuplicateEntry: (pymysql.err.IntegrityError) (1062, "Duplicate entry 'nova-False' for key 'availability_zones.az_name_uc'")

Bug #2008813 reported by Goutham Pacha Ravi
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Felipe Rodrigues

Bug Description

In the CI, during the "2023.1/Antelope" cycle, we frequently run into an issue where the idempotent creation of AZ [1][2][3] fails during service creation. This often affects the manila-data service on the CI given the way we setup AZ based services. We create the scheduler service first, then setup backend-specific share-manager services and then the manila-data service. The backend-specific share manager services are always set to separate AZs to aid our testing.

Error log:

Steps to reproduce
Reproducible by setting up devstack with Manila as well - with any share backend.

The issues started occurring on sporadic jobs, curiously with the dummy driver configured, after we merged


Vida Haririan (vhariria)
Changed in manila:
assignee: nobody → Felipe Rodrigues (felipefutty)
Revision history for this message
Vida Haririan (vhariria) wrote :
Vida Haririan (vhariria)
Changed in manila:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.