Red Hat Bugzilla – Bug 913606
agent and server may go out of sync of avail if the server backfilled agents
Last modified: 2014-05-14 20:23:48 EDT
Here's the condition that I think created the problem:
1) Go in a steady state where agent is connected to the server and all avails are GREEN
2) Put server in MAINTENANCE mode
3) Wait for the server to backfill the agent
4) Put the server back in NORMAL mode
Notice the agent's platform never goes GREEN. This is because the agent doesn't know it has been backfilled and needs to tell the server about true state of avail.
gonna add a slight behavior change to the agent connect() message to the server. the server will reply back with a true or false - true if it has backfilled the agent already. If true, the agent will tell the plugin container that it needs to send a full avail report.
the server will also update the "last ping time" on the agent record to the current time when the connect came in - this will halt any future backfilling, at least for the following 5 minutes by default.
git commit to master: 277c8b1fc4379e6a652931b7db1bbdd4ce3ce5ac
I think this went into 4.6. Maybe 4.7.