ptr record set faile swith "Duplicate Record" ptrdname ist not changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
New
|
Undecided
|
Unassigned |
Bug Description
If test.name.invalid. is already set as ptrdname for RegionOne:
openstack --os-project-
fails with
"Duplicate Record"
(RESP BODY: {"code": 409, "type": "duplicate_record", "message": "Duplicate Record", "request_id": "req-ba1d83db-
which as far as I chased it down comes from designate-central which tries to create a record in the database which has a unique key on hash=md5(
While the old records are supposed to be removed before creating a new one in central/
It seems to me that the transaction around update_floatingip() needs to be commited once the old records are removed to expose this change to the worker updating the status.