compute agent's discovery process tries too often when connection refused
Bug #1454399 reported by
Chris Dent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If the nova-api is unavailable for some reason, for example during an upgrade, when the ceilometer compute-agent attempts to query the nova-api to get a list of local instances it will do it multiple times[1], around 51 times in 200ms.
Since it is trying to get exactly the same data each of those 51 times, this seems a bit excessive. Maybe it should just fail once and back off for a while on that particular error?
[1] A sample grenade run showing ceilometer-acompute log during the time before nova-api has started:
Changed in ceilometer: | |
assignee: | nobody → Rohit Jaiswal (rohit-jaiswal-3) |
Changed in ceilometer: | |
assignee: | Rohit Jaiswal (rohit-jaiswal-3) → nobody |
To post a comment you must log in.
I tried in my devstack enviroment(master) , and did't see that problem. Which version did you use?