[Bug 1681073] Re: Create Consistency Group form has an exception
Chris Halse Rogers
raof at ubuntu.com
Wed Dec 20 00:22:39 UTC 2017
Hello wei.ying, or anyone else affected,
Accepted horizon into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/horizon/2:9.1.2-0ubuntu3 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-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. 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!
** Changed in: horizon (Ubuntu Xenial)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1681073
Title:
Create Consistency Group form has an exception
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive mitaka series:
Triaged
Status in Ubuntu Cloud Archive newton series:
Fix Committed
Status in Ubuntu Cloud Archive ocata series:
Fix Committed
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in horizon package in Ubuntu:
Fix Released
Status in horizon source package in Xenial:
Fix Committed
Bug description:
[Impact]
Affected
- UCA Mitaka, Ocata
- Xenial, Zesty ( Artful is incidentlly added, please ignore it)
After enabling consistency groups by changing api-paste.ini,
When trying to create consistency group, there are error like below.
Exception info:
Internal Server Error: /project/cgroups/create/
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 "/opt/stack/horizon/horizon/workflows/views.py", line 199, in post
exceptions.handle(request)
File "/opt/stack/horizon/horizon/exceptions.py", line 352, in handle
six.reraise(exc_type, exc_value, exc_traceback)
File "/opt/stack/horizon/horizon/workflows/views.py", line 194, in post
success = workflow.finalize()
File "/opt/stack/horizon/horizon/workflows/base.py", line 824, in finalize
if not self.handle(self.request, self.context):
File "/opt/stack/horizon/openstack_dashboard/dashboards/project/cgroups/workflows.py", line 323, in handle
vol_type.extra_specs['volume_backend_name']
KeyError: 'volume_backend_name'
[Test case]
juju deploy bundle
(this is same as original description)
1. Go to admin/volume types panel
2. Create volume type with any name
3. Go to project/Consistency Groups panel
4. Create Consistency Group and add the volume type we just created
5. Submit Create Consistency Group form
[Regression Potential]
This changes horizon UI, and need to restart apache2 server. There could be very short outage for openstack dashboard. but this seems not critical to openstack service. and if there is code error, django server can't be started and outage time could be longer than above.
[Others]
upstream commit
https://git.openstack.org/cgit/openstack/horizon/commit/?id=89bb9268204a2316fc526d660f38d5517980f209
[Original Description]
Env: devstack master branch
Steps to reproduce:
1. Go to admin/volume types panel
2. Create volume type with any name
3. Go to project/Consistency Groups panel
4. Create Consistency Group and add the volume type we just created
5. Submit Create Consistency Group form
it will throws an exception.
Exception info:
Internal Server Error: /project/cgroups/create/
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 "/opt/stack/horizon/horizon/workflows/views.py", line 199, in post
exceptions.handle(request)
File "/opt/stack/horizon/horizon/exceptions.py", line 352, in handle
six.reraise(exc_type, exc_value, exc_traceback)
File "/opt/stack/horizon/horizon/workflows/views.py", line 194, in post
success = workflow.finalize()
File "/opt/stack/horizon/horizon/workflows/base.py", line 824, in finalize
if not self.handle(self.request, self.context):
File "/opt/stack/horizon/openstack_dashboard/dashboards/project/cgroups/workflows.py", line 323, in handle
vol_type.extra_specs['volume_backend_name']
KeyError: 'volume_backend_name'
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1681073/+subscriptions
More information about the Ubuntu-sponsors
mailing list