Alfredo Moralejo 1d32e734f3 Retry calls to nova API when connection errors are detected
Currently, when a call to the Nova API fails for any connection
temporary issue, Watcher actions fail.

This patch is adding retries to nova api calls when connection issues
are detected. The retries can be configured with new parameters in the
nova section:

- http_retries (default is 3 retries)
- http_retry_interval (default is 2 seconds).

Note that, in order to implement the retries in all the nova_helper
methods, in some cases i am adding new elementary calls which are called
by more complex ones.

Closes-Bug: #2133934

Change-Id: I587920f9e287cec2df3489b13c4ef78013de1876
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>
2025-12-17 13:20:55 +01:00
2025-10-03 17:22:43 +01:00
2025-08-26 11:35:18 -03:00
2025-10-08 11:52:48 +01:00
2025-09-13 11:49:11 +09:00
2019-04-19 19:40:45 +00:00
2015-06-04 15:27:57 +02:00
2018-07-10 15:38:50 +07:00
2025-05-19 23:55:20 +00:00
2017-04-07 10:55:59 +08:00
2018-02-28 03:58:07 +00:00
2015-06-04 15:27:57 +02:00
2025-09-13 11:49:11 +09:00
2020-04-09 02:37:00 +00:00

Watcher

image

OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack-based clouds. Watcher 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!

Description
Resource optimization service for OpenStack.
Readme 34 MiB
Languages
Python 99.7%
Shell 0.3%