32c13d00fe23161340e87aa38933475b3571c68f
When the load a plugin, we need to reload once the watcher configuration data, in order to include the plugin parameters in cfg.CONF data dict. To reload the conf, we just call self.conf(). But every time we call this method, cfg.CONF is cleaned, and we lost previously loaded parameters. This generated the exception RequiredOptError and the plugin was not correctly loaded. To fix it, we have just to add the watcher configuration filename as argument of self.conf(). Change-Id: Ic2384b68f6d604640127fe06893d0f808aee34b7 Closes-Bug: #1617240
..
Except where otherwise noted, this document is licensed under Creative
Commons Attribution 3.0 License. You can view the license at:
https://creativecommons.org/licenses/by/3.0/
=======
Watcher
=======
OpenStack Watcher provides a flexible and scalable resource optimization
service for multi-tenant OpenStack-based clouds.
Watcher provides a complete optimization loop-including everything from a
metrics receiver, complex event processor and profiler, optimization processor
and an action plan applier. This provides a robust framework to realize a wide
range of cloud optimization goals, including the reduction of data center
operating costs, increased system performance via intelligent virtual machine
migration, increased energy efficiency-and more!
* Free software: Apache license
* Wiki: http://wiki.openstack.org/wiki/Watcher
* Source: https://github.com/openstack/watcher
* Bugs: http://bugs.launchpad.net/watcher
* Documentation: http://docs.openstack.org/developer/watcher/
Description
Languages
Python
99.7%
Shell
0.3%