Designate DNS - Secondary type zone are not listed in "openstack zone list"

Bug #1940544 reported by Arkady Shtempler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Designate
Fix Committed
Undecided
Unassigned

Bug Description

### Scenario ###
Create a Secondary type zone
Note: it's possible to use Bind fpr AXFR
Once Zone is active list zones with:"openstack zone list"

### Expected result ###
Secondary Zone is listed

### Actual Result ###
Secondary Zone is not listed

(openstack) zone show ecea85da-f3ac-4948-b616-87e740ccf45f
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| action | NONE |
| attributes | |
| created_at | 2021-08-18T10:54:18.000000 |
| description | None |
| email | <email address hidden> |
| id | ecea85da-f3ac-4948-b616-87e740ccf45f |
| masters | 10.35.64.8 |
| name | debuntu.foo. |
| pool_id | 794ccc2c-d751-44fe-b57f-8894c9f5c842 |
| project_id | 814452a9efd84ceab74b6d05ee025d82 |
| serial | 1 |
| status | ACTIVE |
| transferred_at | None |
| ttl | 3600 |
| type | SECONDARY |
| updated_at | 2021-08-18T10:54:23.000000 |
| version | 2 |
+----------------+--------------------------------------+
(openstack)
(openstack)
(openstack) zone list --all

(openstack)
(openstack)

Changed in designate:
assignee: nobody → Ekaterina Chernova (efedorova)
status: New → In Progress
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

"openstack zone list --type SECONDARY" works for me. Maybe we can be more explicit in the documentation, but for me this is working as expected.

Revision history for this message
Mitya Eremeev (mitos) wrote :

"openstack zone list" outputs all zone types in Victoria.
In next releases it only outputs PRIMARY zones.
I believe it's not correct.
At least there is no explanation why the default behavior was changed.
The commit which changed default behavior had other goal.
It only wanted to move validation checks in other place.

https://github.com/openstack/python-designateclient/commit/b68b70a097fd9b968407f253c8eaf91c76ff0fd1

Changed in designate:
assignee: Ekaterina Chernova (efedorova) → Mitya Eremeev (mitos)
Revision history for this message
Mitya Eremeev (mitos) wrote (last edit ):
Changed in designate:
assignee: Mitya Eremeev (mitos) → nobody
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-designateclient 5.1.0

This issue was fixed in the openstack/python-designateclient 5.1.0 release.

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.