attempting to create a public domain with wrong permissions causes stack trace to the user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Davanum Srinivas (DIMS) | ||
Folsom |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
Trying to run:
nova dns-create-
as *not* the admin user, causes the following stack trace to be displayed to the user:
ERROR: User does not have admin privileges
Traceback (most recent call last):
File "/opt/stack/
rval = self.proxy.
File "/opt/stack/
return getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/
return func(self, context, *args, **kwargs)
File "/opt/stack/
self.
File "/opt/stack/
return IMPL.dnsdomain_
File "/opt/stack/
raise exception.
AdminRequired: User does not have admin privileges
(HTTP 403) (Request-ID: req-3d93329d-
The error is correct, but we shouldn't be passing back a giant stack trace in the process.
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Davanum Srinivas (DIMS) (dims-v) |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
The review below fixes this issue: /review. openstack. org/#/c/ 20502/
https:/
-- dims