From 1eb8479dfb8ba6d3d908ed85131c67cc3b6d1058 Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Wed, 7 Dec 2016 05:41:52 -0800 Subject: Correct ref to congress server in juju command JIRA: COPPER-2 Signed-off-by: Bryan Sullivan Small changes to smoke01 test Change-Id: Ie1783671ba4b418c45cdbd4447538728ce9fff49 Signed-off-by: Bryan Sullivan --- tests/adhoc/smoke01-clean.sh | 0 tests/adhoc/smoke01.sh | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 tests/adhoc/smoke01-clean.sh mode change 100755 => 100644 tests/adhoc/smoke01.sh (limited to 'tests/adhoc') diff --git a/tests/adhoc/smoke01-clean.sh b/tests/adhoc/smoke01-clean.sh old mode 100755 new mode 100644 diff --git a/tests/adhoc/smoke01.sh b/tests/adhoc/smoke01.sh old mode 100755 new mode 100644 index 81684e1..dd1dd56 --- a/tests/adhoc/smoke01.sh +++ b/tests/adhoc/smoke01.sh @@ -63,7 +63,7 @@ function get_external_net () { else echo "$0: External network not found" echo "$0: Create external network" - neutron net-create public --router:external + openstack network create --external public EXTERNAL_NETWORK_NAME="public" echo "$0: Create external subnet" neutron subnet-create public 192.168.10.0/24 --name public --enable_dhcp=False --allocation_pool start=192.168.10.6,end=192.168.10.49 --gateway 192.168.10.1 @@ -145,7 +145,7 @@ echo "$0: Get cirros1 instance ID" test_cirros1_ID=$(openstack server list | awk "/ cirros1 / { print \$2 }") echo "$0: Wait for cirros1 to go ACTIVE" -COUNTER=5 +COUNTER=10 RESULT="Test Failed!" until [[ $COUNTER -eq 0 || $RESULT == "Test Success!" ]]; do status=$(openstack server show $test_cirros1_ID | awk "/ status / { print \$4 }") @@ -161,7 +161,7 @@ nova floating-ip-associate cirros1 $FLOATING_IP echo "$0: Boot cirros2" nova boot --flavor m1.tiny --image cirros-0.3.3-x86_64 --nic net-id=$internal_NET --security-groups smoke01 cirros2 -COUNTER=1 +COUNTER=10 RESULT="Failed!" until [[ "$COUNTER" -gt 6 || "$RESULT" == "Success!" ]]; do echo "$0: Verify internal network connectivity" -- cgit 1.2.3-korg