Vague error message when trying to create a volume size that exceeds quota
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
John Postlethwait |
Bug Description
Horizon displays a confusing error message if a user tries to create a volume that exceeds the quota for volume size:
"Error: Error Creating Volume: The server has either erred or is incapable of performing the requested operation."
The underlying exception is a QuotaError which should be handled explicitly. Full logs:
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack application, catch_exc_
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack app_iter = application(
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return self.app(env, start_response)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return resp(environ, start_response)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return resp(environ, start_response)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return resp(environ, start_response)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack response = self.app(environ, start_response)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return resp(environ, start_response)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack content_type, body, accept)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack return method(req=request, **action_args)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack **kwargs)
2012-06-13 21:58:48 TRACE nova.api.openstack File "/usr/lib/
2012-06-13 21:58:48 TRACE nova.api.openstack raise exception.
2012-06-13 21:58:48 TRACE nova.api.openstack QuotaError: Quota exceeded: code=VolumeSize
Changed in horizon: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
milestone: | folsom-3 → folsom-2 |
Changed in horizon: | |
assignee: | Nebula (nebula) → John Postlethwait (john-postlethwait) |
status: | Confirmed → In Progress |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | folsom-2 → 2012.2 |
Related Nova bug: https:/ /bugs.launchpad .net/nova/ +bug/1013417