Description of problem:
When the server starts for the first time after installation, if there is a problem during start up, the server is put into maintenance mode, but we are not notifying the comm layer. This means that incoming agent requests will not get rejected as they should.
Steps to Reproduce:
1. Do a default installation, rhqctl install
2. Start only the server and the agent, rhqctl start --server --agent
3. Verify that the server is put in maintenance mode since the storage client subsystem cannot initialize
4. Wait for the discovery queue to get populated
The server goes into maintenance mode and the discovery queue gets populated.
The server should go into maintenance mode, but we should not have anything in the discovery queue.
Fix has been pushed to master.
commit hash: 692ef131035b
Bulk close of items fixed in RHQ 4.12
If you think this is not solved, then please open a *new* BZ and link to this one.