commit ba4c18921c2799a68be127ed50388406e129a32e
Author: Pablo Andres Fuente <email address hidden>
Date: Wed Mar 19 15:12:26 2014 -0300
Climate Manager now starts even if a plugin fails
The initialization of plugins loaded by Climate Manager was deferred in
order to catch any exception that the plugins could raise during it
initialization. Doing this, Climate Manager starts correctly loading
only the plugins that could be correctly initialized. A warning is
logged when this situation happens.
When a lease is about to be created, the resource_type of any
reservation that could contain, is checked against all the registered
plugins. If none of them handles the resource_type, an
UnsupportedResourceType exception is raised.
Reviewed: https:/ /review. openstack. org/82181 /git.openstack. org/cgit/ stackforge/ climate/ commit/ ?id=ba4c18921c2 799a68be127ed50 388406e129a32e
Committed: https:/
Submitter: Jenkins
Branch: master
commit ba4c18921c2799a 68be127ed503884 06e129a32e
Author: Pablo Andres Fuente <email address hidden>
Date: Wed Mar 19 15:12:26 2014 -0300
Climate Manager now starts even if a plugin fails
The initialization of plugins loaded by Climate Manager was deferred in ResourceType exception is raised.
order to catch any exception that the plugins could raise during it
initialization. Doing this, Climate Manager starts correctly loading
only the plugins that could be correctly initialized. A warning is
logged when this situation happens.
When a lease is about to be created, the resource_type of any
reservation that could contain, is checked against all the registered
plugins. If none of them handles the resource_type, an
Unsupported
Change-Id: I356a39d432dc2c daf349d817d8b34 1c531ece5b0
Closes-Bug: #1294175