Closed baughj closed 12 years ago
This is verified; terminated instances aren't handled correctly (show up as "running" after api refresh)
Fixed in d851c57 - Merlin will now correctly ignore instances marked as shutting-down or terminated if they do not already exist in the database, and will delete ones that do exist (I no longer see keeping them around as "ghosts" as being particularly useful).
update_from_api seems to have a few bugs when instances are no longer around or have been terminated (and are in that state when an API update is done).
Instances that merlin knows about but don't exist on the endpoint should be marked as "ghosts"; instances that are terminated need to be appropriately set as such.