diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-12-07 20:59:01 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2021-01-14 20:42:31 +0000 |
commit | d8027e65c15bac94d8c730fe3dafb957198bd481 (patch) | |
tree | 13454cbe127e1a15bb3068091bbbfedd3a63c706 | |
parent | 915da60e888afc2c7e48e08560a632cb66bb7480 (diff) | |
download | heat-d8027e65c15bac94d8c730fe3dafb957198bd481.tar.gz |
Fix args for initializing trove client
Trove client is using the 'retries' as 'connect_retries' when instantiating
trove Client.
Ref:
https://github.com/openstack/python-troveclient/blob/master/troveclient/client.py#L469
Story: 2008422
Task: 41366
Change-Id: I58a6e235410e2ca28b3822400151621c18ad882d
(cherry picked from commit defb617ce543e3e896a4ce1ef0293f4e76c5f2c0)
-rw-r--r-- | heat/engine/clients/os/trove.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/engine/clients/os/trove.py b/heat/engine/clients/os/trove.py index 14fbc2880..f818cab9e 100644 --- a/heat/engine/clients/os/trove.py +++ b/heat/engine/clients/os/trove.py @@ -37,7 +37,7 @@ class TroveClientPlugin(client_plugin.ClientPlugin): 'endpoint_type': endpoint_type, 'service_type': self.DATABASE, 'session': con.keystone_session, - 'connect_retries': cfg.CONF.client_retry_limit, + 'retries': cfg.CONF.client_retry_limit, 'region_name': self._get_region_name() } |