summaryrefslogtreecommitdiff
path: root/trove/common
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2021-07-27 23:10:00 +1200
committerLingxian Kong <anlin.kong@gmail.com>2021-08-02 12:22:30 +1200
commit036948c516672e55c4a2c932c74bcdec80319108 (patch)
treea3dd771fa59c6835f131833a406211f76b1fdd1b /trove/common
parent02971d850b57ac27a126ecb8ca4012f97ae856fd (diff)
downloadtrove-036948c516672e55c4a2c932c74bcdec80319108.tar.gz
Use Block Storage API v3 instead of API v2
Block Storage API v2 was deprecated during Pike cycle and is being removed during Xena cycle, and current v3 API should be used instead. Change-Id: Iac35c8a580b0e15c397cb5e78bb228fea9730f06 Ref: https://review.opendev.org/c/openstack/requirements/+/801759
Diffstat (limited to 'trove/common')
-rw-r--r--trove/common/clients.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/common/clients.py b/trove/common/clients.py
index 426574b5..af24f15e 100644
--- a/trove/common/clients.py
+++ b/trove/common/clients.py
@@ -19,7 +19,7 @@ from trove.common import cfg
from trove.common import exception
from trove.common.strategies.cluster import strategy
-from cinderclient.v2 import client as CinderClient
+from cinderclient.v3 import client as CinderClient
import glanceclient
from keystoneauth1.identity import v3
from keystoneauth1 import session as ka_session