keystone puppetry race condition?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
Undecided
|
Unassigned |
Bug Description
Looks like perhaps a race condition in the keystone puppetry:
debug: Mysql::
info: Mysql::
debug: Class[Keystone:
debug: Exec[keystone-
debug: Executing 'keystone-manage db_sync'
notice: /Stage[
info: /Stage[
debug: /Stage[
debug: Puppet:
debug: Puppet:
debug: Service[
notice: /Service[keystone]: Triggered 'refresh' from 2 events
debug: /Service[keystone]: The container Class[Keystone] will propagate my refresh event
debug: Class[Keystone]: The container Stage[main] will propagate my refresh event
debug: Prefetching keystone resources for keystone_role
debug: Puppet:
err: /Stage[
The keystone role-list fails because the keystone restart hasn't finished?
Not sure if it was caused by this, but at the end of the puppet run I was missing the Member role:
root@conserv:~# keystone role-list ------- ------- ------- ------- +------ -+ ------- ------- ------- ------- +------ -+ 4bcc940f2bac393 2f | admin | ------- ------- ------- ------- +------ -+
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+------
| id | name |
+------
| 5d48dd8924f84f0
+------
root@conserv:~#
After a second puppet run where the role-list failure didn't occur, the Member role was successfully created:
root@conserv:~# keystone role-listWARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). ------- ------- ------- ------- +------ --+ ------- ------- ------- ------- +------ --+ 4b4156da8418aed ae | Member | 4bcc940f2bac393 2f | admin | ------- ------- ------- ------- +------ --+
+------
| id | name |
+------
| d733e7ddcf7d4fd
| 5d48dd8924f84f0
+------
root@conserv:~#
So this may tie to Bug #1167483 (where horizon has some functions broken due to lack of the Member role)