We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbb52a commit 1d888fdCopy full SHA for 1d888fd
tests/playbooks/roles/install-devstack/tasks/main.yml
@@ -115,3 +115,21 @@
115
cmd: |
116
set -ex
117
sudo -u {{ user }} -H ./stack.sh
118
+
119
+ - name: Create volumev3 service type
120
+ shell:
121
+ executable: /bin/bash
122
+ chdir: "{{ workdir }}"
123
+ cmd: |
124
+ set -ex
125
+ export OS_CLOUD=devstack-admin
126
+ if openstack service show volumev3 > /dev/null 2>&1; then
127
+ echo "Service volumev3 already exists"
128
+ exit 0
129
+ fi
130
+ URL="$(openstack endpoint list --service block-storage -f value -c URL | true)"
131
+ if [ -z "${URL}" ]; then
132
133
134
+ openstack service create --name cinder volumev3
135
+ openstack endpoint create --region RegionOne volumev3 public "${URL}"
0 commit comments