zone export location is not accessible

Bug #1658628 reported by Rahul Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Invalid
Undecided
Unassigned

Bug Description

zone export location is not accessible

IOS:Ubuntu
release name: ocata

Steps to reproduce .
1.Create a zone
designate@vm1:~/devstack$ openstack zone create --email <email address hidden> abc.com.
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| action | CREATE |
| attributes | {} |
| created_at | 2017-01-23T09:41:03.000000 |
| description | None |
| email | <email address hidden> |
| id | 668abdd5-6cd5-433b-855d-a3941fd065ae |
| masters | |
| name | abc.com. |
| pool_id | 794ccc2c-d751-44fe-b57f-8894c9f5c842 |
| project_id | 46fa5ec508604e46be15ba2f89eb17f4 |
| serial | 1485164463 |
| status | PENDING |
| transferred_at | None |
| ttl | 3600 |
| type | PRIMARY |
| updated_at | None |
| version | 1 |
+----------------+--------------------------------------+
designate@vm1:~/devstack$
designate@vm1:~/devstack$
designate@vm1:~/devstack$
2.Do show zone list
designate@vm1:~/devstack$ openstack zone list
+--------------------------------------+-------------------+---------+------------+--------+--------+
| id | name | type | serial | status | action |
+--------------------------------------+-------------------+---------+------------+--------+--------+
| 84eae238-2103-401d-8859-ba596eaf88f8 | example5.com. | PRIMARY | 1484891436 | ACTIVE | NONE |
| b0ea129d-6397-437e-97fa-f2326573b3df | example3.com. | PRIMARY | 1484818792 | ACTIVE | NONE |
| 9e52534c-3588-4675-86c4-dbd26eae22b5 | example6.com. | PRIMARY | 1484818960 | ACTIVE | NONE |
| bfe09efc-db85-4613-b03f-614364051070 | example421.com. | PRIMARY | 1484819122 | ACTIVE | NONE |
| f7bd4638-294f-42f4-8105-e93928f14724 | example.com. | PRIMARY | 1484822630 | ACTIVE | NONE |
| a0da4346-3734-44bb-befa-a52874778b26 | example7.com. | PRIMARY | 1484822798 | ACTIVE | NONE |
| 8fee8469-5d01-4f15-a1a1-be3bb932fd78 | doctestdomain.eu. | PRIMARY | 1484895641 | ACTIVE | NONE |
| 7151e275-6369-40d5-ae2d-7600ec187c8d | example10.com. | PRIMARY | 1484899540 | ACTIVE | NONE |
| 21e63cfa-9bd9-4e81-b594-f99273e37ac5 | google.com. | PRIMARY | 1484912083 | ACTIVE | NONE |
| 799823c7-2ee4-4134-a275-9d8a7a705317 | yahoo.com. | PRIMARY | 1485160515 | ACTIVE | NONE |
| 668abdd5-6cd5-433b-855d-a3941fd065ae | abc.com. | PRIMARY | 1485164463 | ACTIVE | NONE |
+--------------------------------------+-------------------+---------+------------+--------+--------+
designate@vm1:~/devstack$
3.Do zone export
designate@vm1:~/devstack$ openstack zone export create abc.com.
+------------+--------------------------------------+
| Field | Value |
+------------+--------------------------------------+
| created_at | 2017-01-23T09:42:33.000000 |
| id | 22a614ef-0f45-402e-9d1d-c15a353fd658 |
| location | None |
| message | None |
| project_id | 46fa5ec508604e46be15ba2f89eb17f4 |
| status | PENDING |
| updated_at | None |
| version | 1 |
| zone_id | 668abdd5-6cd5-433b-855d-a3941fd065ae |
+------------+--------------------------------------+
4.Check location of zone export
designate@vm1:~/devstack$ openstack zone export show 22a614ef-0f45-402e-9d1d-c15a353fd658
+------------+--------------------------------------------------------------------------------+
| Field | Value |
+------------+--------------------------------------------------------------------------------+
| created_at | 2017-01-23T09:42:33.000000 |
| id | 22a614ef-0f45-402e-9d1d-c15a353fd658 |
| location | designate://v2/zones/tasks/exports/22a614ef-0f45-402e-9d1d-c15a353fd658/export |
| message | None |
| project_id | 46fa5ec508604e46be15ba2f89eb17f4 |
| status | COMPLETE |
| updated_at | 2017-01-23T09:42:33.000000 |
| version | 2 |
| zone_id | 668abdd5-6cd5-433b-855d-a3941fd065ae |
+------------+--------------------------------------------------------------------------------+
designate@vm1:~/devstack$

Revision history for this message
Graham Hayes (grahamhayes) wrote :

you need to use

   openstack zone export showfile <export-id>

to get the zone export (which is the text/dns representation of the zone)

Changed in designate:
status: New → Invalid
Revision history for this message
Rahul Yadav (rahul.y) wrote :

How to access below location ?
location | designate://v2/zones/tasks/exports/22a614ef-0f45-402e-9d1d-c15a353fd658/export |

designate@vm1:~/devstack$ openstack zone export show 22a614ef-0f45-402e-9d1d-c15a353fd658
+------------+--------------------------------------------------------------------------------+
| Field | Value |
+------------+--------------------------------------------------------------------------------+
| created_at | 2017-01-23T09:42:33.000000 |
| id | 22a614ef-0f45-402e-9d1d-c15a353fd658 |
| location | designate://v2/zones/tasks/exports/22a614ef-0f45-402e-9d1d-c15a353fd658/export |
| message | None |
| project_id | 46fa5ec508604e46be15ba2f89eb17f4 |
| status | COMPLETE |
| updated_at | 2017-01-23T09:42:33.000000 |
| version | 2 |
| zone_id | 668abdd5-6cd5-433b-855d-a3941fd065ae |
+------------+--------------------------------------------------------------------------------+

Revision history for this message
Rahul Yadav (rahul.y) wrote :

any update on above comment ???

Revision history for this message
Graham Hayes (grahamhayes) wrote :

You need to use "showfile" not show.

Revision history for this message
Rahul Yadav (rahul.y) wrote :

When you do designate@vm1:~/devstack$ openstack zone export show eb137671-164a-4383-af8e-13f44fce7983 we get a table , in that table the path of location is designate://v2/zones/tasks/exports/eb137671-164a-4383-af8e-13f44fce7983/export i am not able to access this location from my machine.

 Field | Value |
+------------+--------------------------------------------------------------------------------+
| created_at | 2017-01-31T06:52:43.000000 |
| id | eb137671-164a-4383-af8e-13f44fce7983 |
| location | designate://v2/zones/tasks/exports/eb137671-164a-4383-af8e-13f44fce7983/export |
| message | None |
| project_id | 46fa5ec508604e46be15ba2f89eb17f4 |
| status | COMPLETE |
| updated_at | 2017-01-31T06:52:43.000000 |
| version | 2 |
| zone_id | a0da4346-3734-44bb-befa-a52874778b26 |

Revision history for this message
Rahul Yadav (rahul.y) wrote :

Ok got it.. here we can only access location content via CLI only.

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.