diff options
author | Bryan Sullivan <bryan.sullivan@att.com> | 2016-11-22 10:53:11 -0800 |
---|---|---|
committer | Bryan Sullivan <bryan.sullivan@att.com> | 2016-11-22 10:53:11 -0800 |
commit | 50889a9d6437cc17620bebb3ecb0ab69a9d78a12 (patch) | |
tree | a96c86ffab96b39ceb0a108ce319015370ca9005 /tests/vHello_Tacker.sh | |
parent | fa7bb18b5d2346ff4a672924c02a8be421f94af9 (diff) |
Tweaks to workaround issue with Tacker exceptions (not yet complete)
JIRA: MODELS-23
Change-Id: Ibda1d346d85c153bd5ebe36eafa52045b29e7038
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tests/vHello_Tacker.sh')
-rw-r--r-- | tests/vHello_Tacker.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/vHello_Tacker.sh b/tests/vHello_Tacker.sh index 39a6c58..a7ce7ed 100644 --- a/tests/vHello_Tacker.sh +++ b/tests/vHello_Tacker.sh @@ -135,6 +135,9 @@ setup () { cp blueprints/tosca-vnfd-hello-world-tacker/vHello.pem /tmp/tacker chmod 600 /tmp/tacker/vHello.pem + echo "$0: setup OpenStack CLI environment" + source /tmp/tacker/admin-openrc.sh + echo "$0: Setup image_id" image_id=$(openstack image list | awk "/ models-xenial-server / { print \$2 }") if [[ -z "$image_id" ]]; then glance --os-image-api-version 1 image-create --name models-xenial-server --disk-format qcow2 --file /tmp/xenial-server-cloudimg-amd64-disk1.img --container-format bare; fi |