Vague error message when trying to create a volume size that exceeds quota
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Gabriel Hurley |
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: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
This seems to be a duplicate of https:/ /bugs.launchpad .net/horizon/ +bug/1012883