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'")
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
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: https:/
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 https:/
[1] https:/
[2] https:/
[3] https:/
Changed in manila: | |
assignee: | nobody → Felipe Rodrigues (felipefutty) |
Changed in manila: | |
status: | New → Triaged |
Changed in manila: | |
assignee: | Felipe Rodrigues (felipefutty) → nobody |
See additional related discussions at https:/ /meetings. opendev. org/meetings/ manila/ 2023/manila. 2023-03- 02-15.00. log.html