Keystone sends too many notifications to Ceilometer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Bartłomiej Piotrowski | ||
6.0.x |
Invalid
|
High
|
Bartłomiej Piotrowski |
Bug Description
Environment:
MOS 6.0, HA (reproduced with both 1 and 3 controllers), Ceilometer is enabled.
In 6.0, Keystone is configured to send notifications about it's activity to Ceilometer via MQ. (See notification_driver setting in keystone.conf). Due to it's nature (identity service), Keystone generates a huge stream of notifications. Almost all of them are "identity.
After ~20 hours after the deployment meter-list contained over 60k entries:
root@node-2:~# ceilometer meter-list | wc -l
62670
99.9% of them were keystone's "identity.
The workaround:
1. Comment out notification_
2. Configure DB entries TTL in ceilometer. Set time_to_live to preferred TTL is seconds in ceilometer.conf.
3. Manually run ceilometer-expirer to delete outdated data.
Changed in fuel: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 6.1 |
tags: | added: low-hanging-fruit |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski) |
Changed in fuel: | |
status: | In Progress → Invalid |
I think it's High priority issue as Ceilometer DB gets polluted. At the end, Ceilometer won't be functional due to DB overload. If we can avoid spam from Keystone - let's do it.