[Bug 1715417] Re: Cannot view a zone in dashboard - 404 errors
James Page
james.page at ubuntu.com
Thu Feb 22 12:09:34 UTC 2018
This bug was fixed in the package designate-dashboard - 5.0.1-0ubuntu1~cloud0
---------------
designate-dashboard (5.0.1-0ubuntu1~cloud0) xenial-pike; urgency=medium
.
* New upstream release for the Ubuntu Cloud Archive.
.
designate-dashboard (5.0.1-0ubuntu1) artful; urgency=medium
.
* d/gbp.conf: Create stable/pike branch.
* New stable point release for OpenStack Pike (LP: #1715417).
** Changed in: cloud-archive/pike
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1715417
Title:
Cannot view a zone in dashboard - 404 errors
Status in Ubuntu Cloud Archive:
Invalid
Status in Ubuntu Cloud Archive pike series:
Fix Released
Status in Designate Dashboard:
Fix Released
Status in designate-dashboard package in Ubuntu:
Invalid
Status in designate-dashboard source package in Artful:
Fix Released
Bug description:
[Impact]
See original bug description.
[Test Case]
See original bug description.
[Regression Potential]
This bug is fixed in a stable upstream point release and therefore should have minimal regression potential.
[Original Bug Description]
In horizon, with the dashboard enabled, attempts to view a defined
zone fail with a 404 not found error. (The zone is there/working via
cli and is itself working fine)
To reproduce:
Define a zone:
$ openstack zone create --email admin at sample.openstack.org sample.openstack.org.
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| action | CREATE |
| attributes | |
| created_at | 2017-09-06T14:51:13.000000 |
| description | None |
| email | admin at sample.openstack.org |
| id | abc4daf4-0d3c-47c9-a902-4e58edc83754 |
| masters | |
| name | sample.openstack.org. |
| pool_id | c723bae4-c5de-46ea-9ff4-bc0d634cb9c5 |
| project_id | be99d8a5af314b89a664e263cef2876e |
| serial | 1504709472 |
| status | PENDING |
| transferred_at | None |
| ttl | 3600 |
| type | PRIMARY |
| updated_at | None |
| version | 1 |
+----------------+--------------------------------------+
$
$ openstack zone list
+--------------------------------------+-----------------------+---------+------------+--------+--------+
| id | name | type | serial | status | action |
+--------------------------------------+-----------------------+---------+------------+--------+--------+
| abc4daf4-0d3c-47c9-a902-4e58edc83754 | sample.openstack.org. | PRIMARY | 1504709472 | ACTIVE | NONE |
+--------------------------------------+-----------------------+---------+------------+--------+--------+
$
In horizon:
login and navigate to Project --> DNS --> Zones -->
sample.openstack.org.
Brings you here:
http://10.196.222.50/project/ngdetails/OS::Designate::Zone/abc4daf4
-0d3c-47c9-a902-4e58edc83754
The resulting 404 error page is like so:
Page not found (404)
Request Method: GET
Request URL: http://10.196.222.50/project/ngdetails/OS::Designate::Zone/abc4daf4-0d3c-47c9-a902-4e58edc83754
Using the URLconf defined in openstack_dashboard.urls, Django tried
these URL patterns, in this order:
^$ [name='splash']
^api/
^home/$ [name='user_home']
^i18n/js/(?P<packages>\S+?)/$ [name='jsi18n']
^i18n/setlang/$ [name='set_language']
^i18n/
^jasmine-legacy/$ [name='jasmine_tests']
^jasmine/.*?$
^admin/
^settings/
^app-catalog/
^identity/
^project/ ^cgroups/
^project/ ^stacks/template_versions/
^project/ ^routers/
^project/ ^images/
^project/ ^api_access/
^project/ ^containers/
^project/ ^networks/
^project/ ^snapshots/
^project/ ^dnszones/
^project/ ^volumes/
^project/ ^stacks/
^project/ ^cg_snapshots/
^project/ ^reverse_dns/
^project/ ^network_topology/
^project/ ^trunks/
^project/ ^security_groups/
^project/ ^network_qos/
^project/ ^key_pairs/
^project/ ^instances/
^project/ ^floating_ips/
^project/ ^backups/
^project/ ^stacks/resource_types/
^project/ ^$ [name='index']
^project/ ^warning$ [name='warning']
^auth/
^static\/(?P<path>.*)$
^media\/(?P<path>.*)$
^500/$
The current path, project/ngdetails/OS::Designate::Zone/abc4daf4-0d3c-
47c9-a902-4e58edc83754, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a
standard 404 page.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1715417/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list