diff --git a/cloudkitty/messaging.py b/cloudkitty/messaging.py index 23908eb3..89803125 100644 --- a/cloudkitty/messaging.py +++ b/cloudkitty/messaging.py @@ -57,7 +57,8 @@ def get_target(): def get_client(version_cap=None): transport = get_transport() target = get_target() - return oslo_messaging.RPCClient(transport, target, version_cap=version_cap) + return oslo_messaging.get_rpc_client( + transport, target, version_cap=version_cap) def get_server(target=None, endpoints=None): diff --git a/requirements.txt b/requirements.txt index 241658bc..2eabcfe0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ oslo.concurrency>=4.3.1 # Apache-2.0 oslo.db>=8.4.0 # Apache-2.0 oslo.i18n>=5.0.1 # Apache-2.0 oslo.log>=4.4.0 # Apache-2.0 -oslo.messaging>=12.6.0 # Apache-2.0 +oslo.messaging>=14.1.0 # Apache-2.0 oslo.middleware>=4.1.1 # Apache-2.0 oslo.policy>=3.6.0 # Apache-2.0 oslo.utils>=4.7.0 # Apache-2.0