From 28c30b5257f271283bbb290c630020baf6f96e69 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Fri, 5 Apr 2019 14:01:10 -0700 Subject: Use Robot password workaround also for RKE Apply the same workaround in 469b46f7230d9a2512c7c2103f51c7e85f69eb5a to the RKE deployment script as well. Change-Id: I9741b3ad52e5bd60cc6c45ae6958898a744409d7 Issue-ID: INT-1016 Signed-off-by: Gary Wu --- deployment/heat/onap-rke/scripts/deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deployment/heat/onap-rke/scripts/deploy.sh') diff --git a/deployment/heat/onap-rke/scripts/deploy.sh b/deployment/heat/onap-rke/scripts/deploy.sh index 17113c16a..298e3e706 100755 --- a/deployment/heat/onap-rke/scripts/deploy.sh +++ b/deployment/heat/onap-rke/scripts/deploy.sh @@ -111,10 +111,13 @@ SSH_KEY=~/.ssh/onap_key source $WORKSPACE/test/ete/scripts/install_openstack_cli.sh +SO_ENCRYPTION_KEY=aa3871669d893c7fb8abbcda31b88b4f +export OS_PASSWORD_ENCRYPTED_FOR_ROBOT=$(echo -n "$OS_PASSWORD" | openssl aes-128-ecb -e -K "$SO_ENCRYPTION_KEY" -nosalt | xxd -c 256 -p) + #Use new encryption method pushd $WORKSPACE/deployment/heat/onap-rke/scripts javac Crypto.java -SO_ENCRYPTION_KEY=aa3871669d893c7fb8abbcda31b88b4f +#SO_ENCRYPTION_KEY=aa3871669d893c7fb8abbcda31b88b4f export OS_PASSWORD_ENCRYPTED=$(java Crypto "$OS_PASSWORD" "$SO_ENCRYPTION_KEY") popd -- cgit 1.2.3-korg