`zone transfer accept list` returns data from `zone transfer request list`

Bug #1901172 reported by Mike Durnosvistov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-designateclient
Critical
Mike Durnosvistov

Bug Description

There is a bug in `openstack zone transfer accept list` command
It performs request to /v2/zones/tasks/transfer_requests and returns the same response like `openstack zone transfer request list`.

Zone Transfer Request List:
-> openstack zone transfer request list
+--------------------------------------+--------------------------------------+-----------------------------+----------------------------------+----------------------------------+----------+----------+
| id | zone_id | zone_name | project_id | target_project_id | status | key |
+--------------------------------------+--------------------------------------+-----------------------------+----------------------------------+----------------------------------+----------+----------+
| fc46bb1f-bdf0-4e67-96e0-f8c04f26261c | cd046f4b-f4dc-4e41-b946-1a2d32e1be40 | foo12344.example.com. | 3e0fd3f8e9ec449686ef26a16a284265 | 9f3cfb08bf52469abe598e127676cd57 | COMPLETE | RK30VXHJ |
| c5d11193-72ea-4d9f-ba04-7f80e99627fa | 30d67a9a-d6df-4ba7-9b55-fb49e7987f84 | bar4.test.zone.com. | 3e0fd3f8e9ec449686ef26a16a284265 | 9f3cfb08bf52469abe598e127676cd57 | COMPLETE | KAB8L7L8 |
| 17754090-e6af-41ed-986f-0bbe82a68d91 | 51789334-0cbd-4120-a34e-a02d0346b643 | foo12344.example.zone.com. | 3e0fd3f8e9ec449686ef26a16a284265 | 9f3cfb08bf52469abe598e127676cd57 | COMPLETE | M2KA0Y20 |
| 9274edc0-a1c5-4296-8097-06c9ed3f5823 | 36306d89-2c0a-477a-b2fc-2708c52126af | foo12344.example.zone1.com. | 3e0fd3f8e9ec449686ef26a16a284265 | 9f3cfb08bf52469abe598e127676cd57 | COMPLETE | WJDZ9AIV |
+--------------------------------------+--------------------------------------+-----------------------------+----------------------------------+----------------------------------+----------+----------+

Expected response from Zone Transfer Accept List:
-> openstack zone transfer accept list
+--------------------------------------+--------------------------------------+----------------------------------+--------------------------------------+----------+-----+
| id | zone_id | project_id | zone_transfer_request_id | status | key |
+--------------------------------------+--------------------------------------+----------------------------------+--------------------------------------+----------+-----+
| 92236f39-0fad-4f8f-bf25-fbdf027de34d | cd046f4b-f4dc-4e41-b946-1a2d32e1be40 | 9f3cfb08bf52469abe598e127676cd57 | fc46bb1f-bdf0-4e67-96e0-f8c04f26261c | COMPLETE | |
| f785ef12-7ee0-4c30-bd67-a2b9edba0dff | 30d67a9a-d6df-4ba7-9b55-fb49e7987f84 | 9f3cfb08bf52469abe598e127676cd57 | c5d11193-72ea-4d9f-ba04-7f80e99627fa | COMPLETE | |
| 9a6cc0c5-1091-4375-93d3-112d5d4c06b0 | 51789334-0cbd-4120-a34e-a02d0346b643 | 9f3cfb08bf52469abe598e127676cd57 | 17754090-e6af-41ed-986f-0bbe82a68d91 | COMPLETE | |
| dfd169fe-6a97-402c-9786-ed505863dabb | 36306d89-2c0a-477a-b2fc-2708c52126af | 9f3cfb08bf52469abe598e127676cd57 | 9274edc0-a1c5-4296-8097-06c9ed3f5823 | COMPLETE | |
+--------------------------------------+--------------------------------------+----------------------------------+--------------------------------------+----------+-----+

Actual response from Zone Transfer Accept List:
-> openstack zone transfer accept list
+--------------------------------------+--------------------------------------+----------------------------------+--------------------------+----------+----------+
| id | zone_id | project_id | zone_transfer_request_id | status | key |
+--------------------------------------+--------------------------------------+----------------------------------+--------------------------+----------+----------+
| fc46bb1f-bdf0-4e67-96e0-f8c04f26261c | cd046f4b-f4dc-4e41-b946-1a2d32e1be40 | 3e0fd3f8e9ec449686ef26a16a284265 | | COMPLETE | RK30VXHJ |
| c5d11193-72ea-4d9f-ba04-7f80e99627fa | 30d67a9a-d6df-4ba7-9b55-fb49e7987f84 | 3e0fd3f8e9ec449686ef26a16a284265 | | COMPLETE | KAB8L7L8 |
| 17754090-e6af-41ed-986f-0bbe82a68d91 | 51789334-0cbd-4120-a34e-a02d0346b643 | 3e0fd3f8e9ec449686ef26a16a284265 | | COMPLETE | M2KA0Y20 |
| 9274edc0-a1c5-4296-8097-06c9ed3f5823 | 36306d89-2c0a-477a-b2fc-2708c52126af | 3e0fd3f8e9ec449686ef26a16a284265 | | COMPLETE | WJDZ9AIV |
+--------------------------------------+--------------------------------------+----------------------------------+--------------------------+----------+----------+

Changed in python-designateclient:
assignee: nobody → Mike Durnosvistov (glacierrdev)
Changed in python-designateclient:
status: New → In Progress
Changed in python-designateclient:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-designateclient 4.3.0

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers