summaryrefslogtreecommitdiffstats
path: root/compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh
diff options
context:
space:
mode:
authorWeidong Shao <weidong.shao@huawei.com>2015-10-19 15:04:48 +0000
committerWeidong Shao <weidong.shao@huawei.com>2015-10-19 15:06:29 +0000
commitde3139313cb7e3087e3328d1b37cdc88510ca5db (patch)
treed4685b4e923d88537713ff02f476f82d4f0f0643 /compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh
parente94d5484ecdf8021245d961479dae07ea2f8321f (diff)
Remove Compass from genesis.
Compass4nfv has its own repo. Change-Id: I4b1b778682e5b49192ab00f5319594c66640a432 Signed-off-by: Weidong Shao <weidong.shao@huawei.com>
Diffstat (limited to 'compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh')
-rw-r--r--compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh b/compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh
deleted file mode 100644
index 0ec61b6..0000000
--- a/compass/deploy/ansible/roles/cinder-controller/templates/cinder_init.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-keystone --os-token={{ ADMIN_TOKEN }} --os-endpoint=http://{{ HA_VIP }}:35357/v2.0 user-create --name=cinder --pass={{ CINDER_PASS }} --email=cinder@example.com
-keystone --os-token={{ ADMIN_TOKEN }} --os-endpoint=http://{{ HA_VIP }}:35357/v2.0 user-role-add --user=cinder --tenant=service --role=admin
-
-keystone --os-token={{ ADMIN_TOKEN }} --os-endpoint=http://{{ HA_VIP }}:35357/v2.0 service-create --name=cinder --type=volume --description="OpenStack Block Storage"
-keystone --os-token={{ ADMIN_TOKEN }} --os-endpoint=http://{{ HA_VIP }}:35357/v2.0 endpoint-create --service-id=$(keystone --os-token={{ ADMIN_TOKEN }} --os-endpoint=http://{{ HA_VIP }}:35357/v2.0 service-list | awk '/ volume / {print $2}') --publicurl=http://{{ HA_VIP }}:8776/v1/%\(tenant_id\)s --internalurl=http://{{ HA_VIP }}:8776/v1/%\(tenant_id\)s --adminurl=http://{{ HA_VIP }}:8776/v1/%\(tenant_id\)s
-