]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix ovh paddles populate
authorKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Fri, 5 Oct 2018 12:22:17 +0000 (14:22 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 14 Oct 2019 14:47:01 +0000 (16:47 +0200)
Unfortunate typo instroduced in sha1 e491969d4b5b9dca710d1ce89f0cde918bbee1b4
which fixed ECP nodes creation and broke OVH nodes creation.

teuthology/openstack/setup-openstack.sh

index 097a7ade3f655dc3d72bf1fb63622d5076a09abd..8b80f01a3763bb3033051a96cb3bd90f61dbb8a6 100755 (executable)
@@ -698,7 +698,7 @@ function main() {
     #
     # assume the first available IPv4 subnet is going to be used to assign IP to the instance
     #
-    [ -z network ] && {
+    [ -z "$network" ] && {
         local default_subnets=$(openstack subnet list --ip-version 4 -f json | jq -r '.[] | .Subnet' | sort | uniq)
     } || {
         local network_id=$(openstack network list -f json | jq -r ".[] | select(.Name == \"$network\") | .ID")