Improve error message in collectd plugins when they cannot authenticate to Keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Confirmed
|
Wishlist
|
Unassigned | ||
0.9 |
Won't Fix
|
Low
|
LMA-Toolchain Fuel Plugins |
Bug Description
When the collectd plugins can't authenticate to Keystone, the collectd logs are filled with messages like:
[2015-11-26 10:35:02] Cannot get a valid token from http://
[2015-11-26 10:35:02] Service 'keystone' not found in catalog
[2015-11-26 10:35:02] Could not find Keystone tenants
[2015-11-26 10:35:02] Cannot get a valid token from http://
[2015-11-26 10:35:02] Service 'nova' not found in catalog
[2015-11-26 10:35:02] Could not get hypervisor statistics
[2015-11-26 10:35:02] Cannot get a valid token from http://
[2015-11-26 10:35:02] Service 'cinder' not found in catalog
[2015-11-26 10:35:02] Could not find cinder volumes
(snip)
[2015-11-26 10:36:02] Cannot get a valid token from http://
[2015-11-26 10:36:02] Service 'keystone' not found in catalog
[2015-11-26 10:36:02] Could not find Keystone tenants
...
I suggest several improvements to ease troubleshooting:
- Improve the "Cannot get a valid token" message:
Cannot get a valid token from http://
- Do not log the "Could not find ..." message or log it at a different level
- Reduce the message frequency, the same messages are logged every minute.
Changed in lma-toolchain: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in lma-toolchain: | |
milestone: | none → 0.9.0 |
no longer affects: | lma-toolchain/1.0 |
Changed in lma-toolchain: | |
milestone: | 1.0.0 → 0.10.0 |
Changed in lma-toolchain: | |
milestone: | 0.10.0 → none |