openstack-atlas/atlas-lb — pull request #2 by ctxs-atlas (2012-03-22 09:33:16+00:00)
Title: Changes to allow the ability to remove loadbalancers in ERROR status

This pull request introduces the following FIX:

When a LoadBalancer cannot be created by the adapter, it is removed from the Atlas DB (instead of marking it in an ERROR status), and will have the status changed to DELETED as a consequence.

When a LoadBalancer whose status is in ERROR condition is deleted by the user, now this loadBalancer can be removed from the DB as long as the adapter can successfully remove from the device too. Otherwise, its status will stay as an ERROR condition.