Reviewed: https://review.openstack.org/452999 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2ee3f462cab0a3fd7985c33620ff318ca19e8d74 Submitter: Jenkins Branch: master
commit 2ee3f462cab0a3fd7985c33620ff318ca19e8d74 Author: wei.ying <[email protected]> Date: Tue Apr 4 08:34:33 2017 +0800 Fix edit qos spec form exception The Exception thrown because the given URL is not correct. This patch adding the correct URL to edit the QoS spec, Also add unit test to check template name and submit url. Change-Id: I48b4c4f53ec97e6cdb0a4d8fc91c4c680a13e193 Closes-Bug: #1679436 ** Changed in: horizon Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1679436 Title: Edit qos specs page has an exception Status in OpenStack Dashboard (Horizon): Fix Released Bug description: Env: devstack master branch If click edit qos spec,it will throws an exception. Exception info: Internal Server Error: /admin/volume_types/qos_specs/1df7fe9c-d2b8-4111-af04-f74a3813ca7d/key/a/edit/ Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec return view_func(request, *args, **kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 52, in dec return view_func(request, *args, **kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 36, in dec return view_func(request, *args, **kwargs) File "/opt/stack/horizon/horizon/decorators.py", line 84, in dec return view_func(request, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch return handler(request, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/django/views/generic/edit.py", line 206, in get return self.render_to_response(self.get_context_data(form=form)) File "/opt/stack/horizon/openstack_dashboard/dashboards/admin/volume_types/qos_specs/views.py", line 126, in get_context_data context['submit_url'] = reverse(self.submit_url, args=args) File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 571, in reverse (key, ':'.join(resolved_path))) NoReverseMatch: u'volume_types' is not a registered namespace inside 'horizon:admin:volumes' To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1679436/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

