When a zone is shared with two projects, zone list shows the zone twice

Bug #2025295 reported by Michael Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Critical
Michael Johnson

Bug Description

Pre-requisites:

$ openstack project list
+----------------------------------+--------------------+
| ID | Name |
+----------------------------------+--------------------+
| 08b7e9d2c2cd4fe4b3c618bd2ab3bb66 | invisible_to_admin |
| 11d0a9e24fe5474b9e1224f1dc5c327d | demo |
| 25244b9a47ac4d38b8ae073ef59da03a | service |
| 330662125f3b460dbd12fe93d4d0fed9 | alt_demo |
| 4b1e917e1f6d4353b320151146e5e28b | admin |
+----------------------------------+--------------------+

Steps to reproduce:

$ openstack zone create example.com. --email <email address hidden>

$ openstack zone share create example.com. 11d0a9e24fe5474b9e1224f1dc5c327d

$ openstack zone share create example.com. 330662125f3b460dbd12fe93d4d0fed9

$ openstack zone list
+--------------------------------------+--------------+---------+------------+--------+--------+
| id | name | type | serial | status | action |
+--------------------------------------+--------------+---------+------------+--------+--------+
| 850a0c2f-8b12-4499-889c-f4717c8d0239 | example.com. | PRIMARY | 1687986983 | ACTIVE | NONE |
| 850a0c2f-8b12-4499-889c-f4717c8d0239 | example.com. | PRIMARY | 1687986983 | ACTIVE | NONE |
+--------------------------------------+--------------+---------+------------+--------+--------+

The zone list should only show the zone once.

Also, projects that the zone have been shared with can no longer create records after the second project is added to the share list for the zone.

$ openstack recordset create --type A --record 192.0.2.1 example.com. www
Could not find Zone

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate 16.0.1

This issue was fixed in the openstack/designate 16.0.1 release.

Revision history for this message
Michael Johnson (johnsom) wrote :
Changed in designate:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate 17.0.0.0rc1

This issue was fixed in the openstack/designate 17.0.0.0rc1 release candidate.

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.