Skip to content

Commit 67acf2c

Browse files
kajinamitbrtkwr
authored andcommitted
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. Additional Zuul config for Devstack allows CI to pass which can be reverted later [1]. [1] https://bugs.launchpad.net/glance/+bug/1938151 Change-Id: Ib66b754f4a0854a0d62d62047a69b04a24434634
1 parent d8cc882 commit 67acf2c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.zuul.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@
4949
- magnum_docker_login
5050
timeout: 2400
5151

52+
- job:
53+
name: magnum-tempest-plugin-tests-api-temporary
54+
parent: magnum-tempest-plugin-tests-api
55+
vars:
56+
devstack_localrc:
57+
GLANCE_LIMIT_IMAGE_SIZE_TOTAL: 5000
58+
5259
- project:
5360
templates:
5461
- openstack-cover-jobs
@@ -58,12 +65,12 @@
5865
- release-notes-jobs-python3
5966
check:
6067
jobs:
61-
- magnum-tempest-plugin-tests-api
68+
- magnum-tempest-plugin-tests-api-temporary
6269
- magnum-container-build
6370
gate:
6471
queue: magnum
6572
jobs:
66-
- magnum-tempest-plugin-tests-api
73+
- magnum-tempest-plugin-tests-api-temporary
6774
post:
6875
jobs:
6976
- magnum-container-publish

magnum/common/clients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# under the License.
1414

1515
from barbicanclient.v1 import client as barbicanclient
16-
from cinderclient.v2 import client as cinder_client
16+
from cinderclient.v3 import client as cinder_client
1717
from glanceclient import client as glanceclient
1818
from heatclient import client as heatclient
1919
from keystoneauth1.exceptions import catalog

0 commit comments

Comments
 (0)