pulp/pulp — pull request #723 by rbarlow (2013-11-26 16:43:45+00:00)
Title: Rbarlow babysitter

This contains the beginnings of the babysit() Task. It doesn't really do very much at the moment, aside from deleting queues that no longer exist (quite violently, I might add). There are several TODO items marked around the babysit() task that are the next things I must do.

The bulk of this pull request converts the resource manager to store its state in the database. This became necessary when we learned that it was impossible to query the state of the message broker in a generic way. We didn't want to write code that was specific to any one message broker, as which message broker we will use is still somewhat up in the air. Using the database to maintain the resource manager state helps us to be more broker agnostic, but it was quite a large conversion.

I plan to fix the TODO items in future pull requests (and this PR isn't against master), so I request that they be allowed to stay in the code for now. I will remove them before our next sprint begins, as whatever I cannot finish will be turned into new stories on the backlog.