Exactly! ... or it could be handled in the notifier itself.

________________________________________
From: [email protected] 
[[email protected]] on behalf of 
Mark Washenberger [[email protected]]
Sent: Wednesday, December 07, 2011 12:36 PM
To: [email protected]
Subject: Re: [Openstack] [Orchestration] Handling error events ... explicit     
vs. implicit

Gotcha.

So the way this might work is, for example, when a run_instance fails on 
compute node, it would publish a "run_instance for uuid=<blah> failed" event. 
There would be a subscriber associated with the scheduler listening for such 
events--when it receives one it would go check the capacity table and update it 
to reflect the failure. Does that sound about right?


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to