Ceilometer-api logs a WARNING when a request is made from ceilometer-alarm-evaluator with an expired token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Invalid
|
Undecided
|
Unassigned | ||
Ceilometer |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ceilometer-api logs a warning every hour "Authorization failed for token"
This appears to come from ceilometer-
Alarm-evaluator is set to query the API every 60 seconds, token expiration is 60 minutes.
Relevant part from debug logs:
ceilometer-api.log:
2015-06-11 16:27:41.045 32083 WARNING keystonemiddlew
2015-06-11 16:27:41.047 32083 WARNING keystonemiddlew
2015-06-11 16:27:41.050 32083 WARNING keystonemiddlew
2015-06-11 16:27:41.051 32083 INFO werkzeug [req-de391a60-
ceilometer-
2015-06-11 16:27:41.054 15512 DEBUG ceilometerclien
2015-06-11 16:27:41.386 15512 DEBUG ceilometer.
2015-06-11 16:27:41.387 15512 DEBUG ceilometer.
2015-06-11 16:27:41.388 15512 INFO ceilometer.
And the token 5d6ee8f13ea649c
MariaDB [keystone]> select id,expires,
+------
| id | expires | valid | trust_id | user_id |
+------
| 5d6ee8f13ea649c
+------
Timezone is CEST (UTC+2) - that'why we get 16:27 in the log but expires is 14:27.
You can see in the log that ceilometer-
But the warning should not be logged because it clutters the logs and other openstack services do handle token expiration without "warnings" in the logs.
Thanks!
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ceilometer: | |
assignee: | nobody → jiaxi (tjxiter) |
Changed in ceilometer: | |
assignee: | jiaxi (tjxiter) → nobody |
Changed in ceilometer: | |
assignee: | nobody → jiaxi (tjxiter) |
Changed in aodh: | |
assignee: | nobody → Zi Lian Ji (jizilian) |
Changed in ceilometer: | |
status: | Triaged → Invalid |
Changed in aodh: | |
status: | New → Invalid |
Changed in ceilometer: | |
importance: | Low → Undecided |
This is ceilometer from current git master (91ad3bcd969615 f250348cfd60079 e1841b5e464)