Incomplete relation occasionally leading to KeyError in keystone_wait_for_propagation()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Committed
|
Medium
|
Felipe Reyes | ||
OpenStack Keystone Charm |
Fix Released
|
Medium
|
Felipe Reyes |
Bug Description
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: source=
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: self._initializ
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: self.set_
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: u.keystone_
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: self.keystone_
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: return f(*args, **kwargs)
DEBUG:runner: File "/tmp/bundletes
DEBUG:runner: if rel['api_version'] != str(api_version):
DEBUG:runner:
DEBUG:runner:Exit Code: 1
==
keystone/746 active idle 1.25.10 2253 5000/tcp 10.5.27.150 Unit is ready
==
$ juju run --unit cinder/291 'relation-ids identity-service'
identity-
$ juju run --unit cinder/291 'relation-get -r 3742 -- - keystone/744'
admin_token: ubuntutesting
api_version: "2"
auth_host: 10.5.27.148
auth_port: "35357"
auth_protocol: http
private-address: 10.5.27.149
service_host: 10.5.27.148
service_password: XZ4d43ZtLHhrVGK
service_port: "5000"
service_protocol: http
service_tenant: services
service_tenant_id: 38ff00c7a3f14e4
service_username: cinder_cinderv2
$ juju run --unit cinder/291 'relation-get -r 3742 -- - keystone/745'
admin_token: ubuntutesting
api_version: "2"
auth_host: 10.5.27.148
auth_port: "35357"
auth_protocol: http
private-address: 10.5.27.148
service_host: 10.5.27.148
service_password: XZ4d43ZtLHhrVGK
service_port: "5000"
service_protocol: http
service_tenant: services
service_tenant_id: 38ff00c7a3f14e4
service_username: cinder_cinderv2
$ juju run --unit cinder/291 'relation-get -r 3742 -- - keystone/746'
private-address: 10.5.27.150
Related branches
- Felipe Reyes (community): Disapprove
- charmers: Pending requested
-
Diff: 13 lines (+3/-0)1 file modifiedcharmhelpers/contrib/openstack/amulet/utils.py (+3/-0)
Changed in charm-helpers: | |
assignee: | nobody → Frode Nordahl (fnordahl) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in charm-keystone: | |
importance: | Undecided → Medium |
Changed in charm-keystone: | |
milestone: | none → 18.05 |
Changed in charm-keystone: | |
status: | Fix Committed → Fix Released |
Another occurrence of this bug: https:/ /review. openstack. org/#/c/ 566763/ 1