diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-05-26 11:05:15 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-05-26 11:11:24 +0200 |
commit | 785ab148a518e535ce9e646a3f4e9f08d2f6a191 (patch) | |
tree | a1df2d16d58ca06e69da6d6bb63486791dfcb965 | |
parent | 6557733dfaaf902f8546dfc019ba1b7fefc889da (diff) |
Use flavor name instead of flavor id
Default flavor id changes if its attributes have been modified.
Flavor name is used instead of flavor id.
Change-Id: I7a076eed4ebef13a83594bf9017895bd6fb36bd2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | docs/userguide/troubleshooting.rst | 2 | ||||
-rwxr-xr-x | testcases/OpenStack/healthcheck/healthcheck.sh | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/userguide/troubleshooting.rst b/docs/userguide/troubleshooting.rst index 406aaad2a..99b92977b 100644 --- a/docs/userguide/troubleshooting.rst +++ b/docs/userguide/troubleshooting.rst @@ -89,7 +89,7 @@ is not **ACTIVE**), you can check why it failed by doing:: It might show some messages about the booting failure. To try that manually:: - nova boot --flavor 2 --image functest-vping --nic net-id=<NET_ID> nova-test + nova boot --flavor m1.small --image functest-vping --nic net-id=<NET_ID> nova-test This will spawn a VM using the network created previously manually. In all the OPNFV tested scenarios from CI, it never has been a problem with the diff --git a/testcases/OpenStack/healthcheck/healthcheck.sh b/testcases/OpenStack/healthcheck/healthcheck.sh index 899f96b59..d9a83a2af 100755 --- a/testcases/OpenStack/healthcheck/healthcheck.sh +++ b/testcases/OpenStack/healthcheck/healthcheck.sh @@ -187,13 +187,13 @@ info "Testing Nova API..." # by SDN controller in case of odl_l2 scenario. sleep 60 -nova boot --flavor 2 --image ${image_1} --nic net-id=${net1_id} ${instance_1} +nova boot --flavor m1.small --image ${image_1} --nic net-id=${net1_id} ${instance_1} debug "nova instance '${instance_1}' booted on ${net_1}." -nova boot --flavor 2 --image ${image_1} --nic net-id=${net1_id} ${instance_2} +nova boot --flavor m1.small --image ${image_1} --nic net-id=${net1_id} ${instance_2} debug "nova instance '${instance_2}' booted on ${net_1}." -nova boot --flavor 2 --image ${image_2} --nic net-id=${net2_id} ${instance_3} +nova boot --flavor m1.small --image ${image_2} --nic net-id=${net2_id} ${instance_3} debug "nova instance '${instance_3}' booted on ${net_2}." -nova boot --flavor 2 --image ${image_2} --nic net-id=${net2_id} ${instance_4} +nova boot --flavor m1.small --image ${image_2} --nic net-id=${net2_id} ${instance_4} debug "nova instance '${instance_4}' booted on ${net_2}." vm1_id=$(nova list | grep ${instance_1} | awk '{print $2}') |