Show instance details before deleting 05/76005/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 11 Sep 2018 20:25:49 +0000 (13:25 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 11 Sep 2018 21:52:46 +0000 (14:52 -0700)
when the suite setup fails to create instances the
only output we get in our robot logs is the single
line matching the state of the instance as "error"
Those are the cases we want to see more output,
like server show.

Change-Id: I8474638785193727b6c61851dd715356ee245561
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/OpenStackOperations.robot

index 8ad82b621890c514dab858bfe0e5e6a0b394c137..1bce370f4226223286122df4fbaf3682830919d4 100644 (file)
@@ -1062,6 +1062,7 @@ OpenStack Cleanup All
     \    BuiltIn.Run Keyword And Ignore Error    Delete Floating IP    ${fip['ID']}
     @{vms} =    OpenStack CLI Get List    openstack server list -f json
     : FOR    ${vm}    IN    @{vms}
+    \    OpenStack CLI    openstack server show ${vm['ID']}
     \    BuiltIn.Run Keyword And Ignore Error    Delete Vm Instance    ${vm['ID']}
     @{routers} =    OpenStack CLI Get List    openstack router list -f json
     : FOR    ${router}    IN    @{routers}