aboutsummaryrefslogtreecommitdiffstats
path: root/juju/adapter.sh
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2017-02-06 18:15:54 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2017-02-08 13:23:22 +0800
commit68f25c4b7147de79126c1cd8565cac1423967e45 (patch)
tree192e84fae6d49d90d1f4f7d372a347ca64933d7c /juju/adapter.sh
parent1eb8d4ccfbc9c34723586980d5a912e2ffa903cd (diff)
Fix ssh bug
Bug reported from Opera Jenkins. Since a new POD is used, ssh key is not generated before which cause fail when creating openstack key for jump host. This bug may happens on every machine never generates ssh key before. Change-Id: Iebae3f17327d64eb1cc45df1015cd21eb12fb397 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'juju/adapter.sh')
-rwxr-xr-xjuju/adapter.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/juju/adapter.sh b/juju/adapter.sh
index f4c2d52..2f1d8f7 100755
--- a/juju/adapter.sh
+++ b/juju/adapter.sh
@@ -19,7 +19,7 @@ function generate_compass_openrc()
PUBLIC_VIP=$(eval "$exec_command $cmd")
echo -e "export OS_PASSWORD=console \n\
-export OS_TENANT_NAME=admin \n\
+export OS_PROJECT_NAME=admin \n\
export OS_AUTH_URL=http://$PUBLIC_VIP:35357/v2.0 \n\
export OS_USERNAME=admin \n\
export OS_VOLUME_API_VERSION=2 \n\