Use intended security group in instance create 20/67520/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 23 Jan 2018 22:51:38 +0000 (14:51 -0800)
committerSam Hague <shague@redhat.com>
Tue, 23 Jan 2018 23:26:08 +0000 (23:26 +0000)
there is some environment problem where we end
up with multiple "default" security groups and
if we don't use the unique sg defined for
that suite, we get a failure to create the
instance

Change-Id: Iade91312d639c789e143b68ba6c3d596b82d675b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/suites/netvirt/elan/elan.robot

index 642270d239485ce240bb7a1d347bac5c8b78bab6..7931332a512c6742a8e19b345946901d14a4653e 100644 (file)
@@ -80,7 +80,7 @@ Verify Datapath After Recreate VM Instance
     ${smac_cn1} =    BuiltIn.Create List    @{NET_1_MACS}[0]
     BuiltIn.Wait Until Keyword Succeeds    30s    10s    Verify Flows Are Removed For ELAN Service    ${OS_COMPUTE_1_IP}    ${smac_cn1}
     OpenStackOperations.Remove RSA Key From KnownHosts    @{NET_1_VM_IPS}[0]
-    OpenStackOperations.Create Vm Instance With Port On Compute Node    ${NET_1_PORTS[0]}    ${NET_1_VMS[0]}    ${OS_CMP1_HOSTNAME}
+    OpenStackOperations.Create Vm Instance With Port On Compute Node    ${NET_1_PORTS[0]}    ${NET_1_VMS[0]}    ${OS_CMP1_HOSTNAME}    sg=${SECURITY_GROUP}
     @{NET_1_VM_IPS}    ${NET_1_DHCP_IP} =    OpenStackOperations.Get VM IPs    @{NET_1_VMS}
     Builtin.Set Suite Variable    @{NET_1_VM_IPS}
     BuiltIn.Should Not Contain    ${NET_1_VM_IPS}    None