diff options
author | Mehdi Abaakouk <sileht@redhat.com> | 2016-11-16 12:23:01 +0100 |
---|---|---|
committer | Mehdi Abaakouk <sileht@redhat.com> | 2017-03-16 17:54:25 +0100 |
commit | 66179f89a0651168d59cd9c36bac5f9ffb104471 (patch) | |
tree | 8b182d308a7d462cd8da92a3e590dacd9041f36a /requirements.txt | |
parent | 30fec85a032ab39010401256f63b101be1114bc4 (diff) | |
download | ceilometer-66179f89a0651168d59cd9c36bac5f9ffb104471.tar.gz |
libvirt: rewrite the error handling
Error handling of libvirt driver work 'sometimes'.
Some error are catched only with we lookup for a instance
uuid, but not for other libvirt operation.
This change rewrites the logic to catch libvirt error on
each inpector method. This ensures we catch all errors whatever
which libvirt method raises it.
We also leverage tenacity instead of the custom retry code.
Change-Id: Idd54c18ece42c2dce3baf82626d30d5c2e5a49d6
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt index e8bf9888..0f97d022 100644 --- a/requirements.txt +++ b/requirements.txt @@ -43,6 +43,7 @@ six>=1.9.0 # MIT SQLAlchemy<1.1.0,>=1.0.10 # MIT sqlalchemy-migrate>=0.9.6 # Apache-2.0 stevedore>=1.9.0 # Apache-2.0 +tenacity>=3.2.1 # Apache-2.0 tooz>=1.47.0 # Apache-2.0 WebOb>=1.5.0 # MIT WSME>=0.8 # MIT |