ceilometer agents have authentication errors shen started up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Phil Neal |
Bug Description
Look at the logs for ceilometer-
Jan 25 01:45:47 undercloud-
Jan 25 01:45:47 undercloud-
Jan 25 01:45:47 undercloud-
Jan 25 01:45:47 undercloud-
The agents won't work until the authentication error is resolved.
To resolve the authentication error the ceilometer endpoint needs to be created which will create the ceilometer user. Then the ceilometer user needs to be granted the admin role for the admin tenant. All of this needs to happen before the agent-compute/
The ceilometer-api may also log an error indicating a table is missing. Seems dbsync is not running correctly.
To work around these problems, run these commands:
keystone user-role-add --user ceilometer --role admin --tenant admin
ssh heat-admin@
/opt/stack/
ssh heat-admin@
ssh heat-admin@
ssh heat-admin@
ssh heat-admin@
ssh heat-admin@
restart"
Maybe we can add these commands to a setup script similar to setup-neutron after the instance is up.
Changed in tripleo: | |
status: | New → Triaged |
Changed in tripleo: | |
assignee: | nobody → Tomas Sedovic (tsedovic) |
Changed in tripleo: | |
importance: | Undecided → Medium |
Changed in tripleo: | |
assignee: | Tomas Sedovic (tsedovic) → Phil Neal (nealph) |
Changed in tripleo: | |
status: | Triaged → In Progress |
Reviewed: https:/ /review. openstack. org/90840 /git.openstack. org/cgit/ openstack/ tripleo- incubator/ commit/ ?id=e532198a4f2 a8373727748e3ec b7b79eeee027f0
Committed: https:/
Submitter: Jenkins
Branch: master
commit e532198a4f2a837 3727748e3ecb7b7 9eeee027f0
Author: Phil Neal <email address hidden>
Date: Mon Apr 28 14:16:58 2014 -0700
Fix Ceilometer agent auth errors on overcloud control
node
Adding scripting to add admin role to Ceilometer user
after the service is started.
Change-Id: Ia4a688044314d4 e93645d9cf37dec ca8a9969f83
Closes-Bug: #1272605