Admin snapshots page has an exception

Bug #1678361 reported by wei.ying
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
wei.ying

Bug Description

Env: devstack master branch

If snapshots list is not empty and redirect to admin snapshots panel,it will throws an exception.

Exception info:
NoReverseMatch at /admin/snapshots/

u'volumes' is not a registered namespace inside 'horizon:admin:volumes'

Request Method: GET
Request URL: http://192.168.122.210/dashboard/admin/snapshots/
Django Version: 1.8.17
Exception Type: NoReverseMatch
Exception Value:

u'volumes' is not a registered namespace inside 'horizon:admin:volumes'

Exception Location: /usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py in reverse, line 571
Python Executable: /usr/bin/python
Python Version: 2.7.12
Python Path:

['/opt/stack/horizon',
 '/opt/stack/horizon',
 '/opt/stack/keystone',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/neutron',
 '/opt/stack/nova',
 '/opt/stack/horizon',
 '/opt/stack/tempest',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/opt/stack/horizon/openstack_dashboard']

Server time: Sat, 1 Apr 2017 04:07:02 +0000

wei.ying (wei.yy)
description: updated
Changed in horizon:
assignee: nobody → wei.ying (wei.yy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/452380

Changed in horizon:
status: New → In Progress
Changed in horizon:
milestone: none → pike-1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/452380
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=18267614e65910fc00e8b400f6ddf30cf7dcda2b
Submitter: Jenkins
Branch: master

commit 18267614e65910fc00e8b400f6ddf30cf7dcda2b
Author: wei.ying <email address hidden>
Date: Sat Apr 1 12:32:14 2017 +0800

    Fix volume redirect url error

    There is an error in path of admin snapshot.
    This patch corrects the redirect url.

    Change-Id: I5dbc055a61290fbdd177a716e6df93efce412d4d
    Closes-Bug: 1678361

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b1

This issue was fixed in the openstack/horizon 12.0.0.0b1 development milestone.

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.