[Bug 1715417] Re: Cannot view a zone in dashboard - 404 errors
Łukasz Zemczak
1715417 at bugs.launchpad.net
Thu Jan 18 12:01:23 UTC 2018
Hello James, or anyone else affected,
Accepted designate-dashboard into artful-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/designate-dashboard/5.0.1-0ubuntu1 in a few hours, and then in the
-proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Description changed:
+ [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/$
+ ^$ [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.
** Changed in: designate-dashboard (Ubuntu Artful)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-artful
--
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:
Triaged
Status in Designate Dashboard:
Fix Released
Status in designate-dashboard package in Ubuntu:
Invalid
Status in designate-dashboard source package in Artful:
Fix Committed
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