Fix: Tacker's devstack script hardcode REGION_NAME=RegionOne
Closes Bug:#1777704 Change-Id: I7b8c6ed7ccee0760e90011aec4712ec7eb336050
This commit is contained in:
parent
7d0c22524a
commit
e1c492553f
@ -430,25 +430,25 @@ EOF
|
||||
openstack --os-cloud=devstack-admin \
|
||||
quota set --ports -1 $DEFAULT_VIM_PROJECT_NAME
|
||||
|
||||
openstack --os-region-name RegionOne --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
openstack --os-region-name $REGION_NAME --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
--os-user-domain-id default --os-username $DEFAULT_VIM_USER \
|
||||
--os-project-domain-id default --os-auth-url $KEYSTONE_SERVICE_URI \
|
||||
--os-password $DEFAULT_VIM_PASSWORD keypair create userKey
|
||||
|
||||
openstack --os-region-name RegionOne --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
openstack --os-region-name $REGION_NAME --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
--os-user-domain-id default --os-username $DEFAULT_VIM_USER \
|
||||
--os-project-domain-id default --os-auth-url $KEYSTONE_SERVICE_URI \
|
||||
--os-password $DEFAULT_VIM_PASSWORD \
|
||||
security group create \
|
||||
--description "tacker functest security group" test_secgrp
|
||||
|
||||
openstack --os-region-name RegionOne --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
openstack --os-region-name $REGION_NAME --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
--os-user-domain-id default --os-username $DEFAULT_VIM_USER \
|
||||
--os-project-domain-id default --os-auth-url $KEYSTONE_SERVICE_URI \
|
||||
--os-password $DEFAULT_VIM_PASSWORD \
|
||||
security group rule create \
|
||||
--ingress --protocol icmp test_secgrp
|
||||
openstack --os-region-name RegionOne --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
openstack --os-region-name $REGION_NAME --os-project-name $DEFAULT_VIM_PROJECT_NAME \
|
||||
--os-user-domain-id default --os-username $DEFAULT_VIM_USER \
|
||||
--os-project-domain-id default --os-auth-url $KEYSTONE_SERVICE_URI \
|
||||
--os-password $DEFAULT_VIM_PASSWORD \
|
||||
|
Loading…
Reference in New Issue
Block a user