From e1c492553f885152d863527aef7636ed28316c40 Mon Sep 17 00:00:00 2001 From: dharmendra Date: Thu, 5 Jul 2018 01:12:33 +0000 Subject: [PATCH] Fix: Tacker's devstack script hardcode REGION_NAME=RegionOne Closes Bug:#1777704 Change-Id: I7b8c6ed7ccee0760e90011aec4712ec7eb336050 --- devstack/lib/tacker | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devstack/lib/tacker b/devstack/lib/tacker index 63aa46fa3..58118ed4c 100644 --- a/devstack/lib/tacker +++ b/devstack/lib/tacker @@ -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 \