keystone role names lack case sensitivity - admin == Admin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OPNFV |
Fix Released
|
Critical
|
Unassigned | ||
ceilometer (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned | ||
keystone (Juju Charms Collection) |
Fix Released
|
Medium
|
David Ames | ||
openstack-dashboard (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned | ||
swift-proxy (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I am using 3 keystone units connecting to Percona. The only obvious change from previously working one is move to Juju 1.25
keystone/0 end up in error in shared-
Using : cs:trusty/
Moving to debug-mode and debug Python I got the following :
Traceback (most recent call last):
File "/usr/lib/
pdb.
File "/usr/lib/
self.
File "/usr/lib/
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "hooks/
main()
File "hooks/
hooks.
File "hooks/
self.
File "hooks/
f(*args, **kwargs)
File "hooks/
return f(*args, **kwargs)
File "hooks/
update_
File "hooks/
identity_
File "hooks/
f(*args, **kwargs)
File "hooks/
return f(*args, **kwargs)
File "hooks/
add_
File "hooks/
new_
File "hooks/
grants=
File "hooks/
create_
File "hooks/
manager.
File "/usr/lib/
return self._create(
File "/usr/lib/
return self._post(url, body, response_key, return_raw, **kwargs)
File "/usr/lib/
resp, body = self.client.
File "/usr/lib/
return self._cs_
File "/usr/lib/
return self.request(url, method, **kwargs)
File "/usr/lib/
resp = super(HTTPClient, self).request(url, method, **kwargs)
File "/usr/lib/
return self.session.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
raise exceptions.
Conflict: Conflict occurred attempting to store role - Duplicate Entry (HTTP 409)
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/lib/
(Pdb) args
self = <keystoneclient
url = http://
method = POST
json = {'role': {'name': u'Admin'}}
original_ip = None
user_agent = python-
redirect = 30
authenticated = True
endpoint_filter = {'service_type': 'identity', 'interface': 'admin', 'version': 'v2.0'}
auth = None
requests_auth = None
raise_exc = True
allow_reauth = True
log = True
kwargs = {'headers': {'User-Agent': 'python-
tags: | added: cpe-critsit |
Changed in keystone (Juju Charms Collection): | |
assignee: | nobody → David Ames (thedac) |
Changed in keystone (Juju Charms Collection): | |
importance: | Undecided → Critical |
Changed in keystone (Juju Charms Collection): | |
milestone: | 16.01 → 16.04 |
Changed in swift-proxy (Juju Charms Collection): | |
milestone: | 16.01 → 16.04 |
Changed in ceilometer (Juju Charms Collection): | |
milestone: | 16.01 → 16.04 |
Changed in opnfv: | |
assignee: | nobody → Narinder Gupta (narindergupta) |
assignee: | Narinder Gupta (narindergupta) → nobody |
importance: | Undecided → Critical |
Changed in opnfv: | |
status: | New → Fix Committed |
Changed in keystone (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in swift-proxy (Juju Charms Collection): | |
milestone: | 16.04 → 16.07 |
Changed in ceilometer (Juju Charms Collection): | |
milestone: | 16.04 → 16.07 |
Changed in ceilometer (Juju Charms Collection): | |
status: | Triaged → Invalid |
Changed in swift-proxy (Juju Charms Collection): | |
status: | Triaged → Invalid |
Changed in openstack-dashboard (Juju Charms Collection): | |
status: | Triaged → Invalid |
tags: | added: openstack |
Changed in opnfv: | |
status: | Fix Committed → Fix Released |
Find attached the juju log of the deployment