Can't Update Volume Status on dashboard if cinder volume stunk at reserved status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
GUO Larry |
Bug Description
I am using Openstack Version Queens with CentOS7
OpenStack Horizon version:
# rpm -qa | grep horizon
puppet-
python-
several of my volumes stunk at reserved status for some reason. I tried to click "Update Volume Status" button on GUI, but no window pop out. Instead, a ERROR message display on the up-right corner.
"Danger: An error occurred. Please try again later."
The horizon.log complains:
2018-05-10 05:47:34,253 16741 ERROR django.request Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/lib/
response = get_response(
File "/usr/lib/
response = self._get_
File "/usr/lib/
response = self.process_
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return handler(request, *args, **kwargs)
File "/usr/lib/
return self.render_
File "/usr/share/
context = super(UpdateSta
File "/usr/lib/
context = super(ModalForm
File "/usr/lib/
context = super(ModalForm
File "/usr/lib/
context = super(ModalBack
File "/usr/lib/
kwargs['form'] = self.get_form()
File "/usr/lib/
return form_class(
File "/usr/share/
kwargs[
KeyError: u'reserved'
I can successfully reset-state with openstack CLI command.
cinder reset-state --state available <volume id>
Changed in horizon: | |
assignee: | nobody → GUO Larry (larrygu) |
status: | New → In Progress |
Changed in horizon: | |
milestone: | none → rocky-2 |
https:/ /review. openstack. org/#/c/ 330285
Introduced new attach cinder workflow. Which reserved used.
But dashboard don't have this "reserved" state available