[qa][tempest] Waiting for interface status == ACTIVE before checking status

Terry Wilson twilson at redhat.com
Fri Jan 25 17:04:12 UTC 2019

On Thu, Jan 24, 2019 at 7:34 PM Ghanshyam Mann <gmann at ghanshyammann.com> wrote:

> As Sean also pointed that in patch that we should go for the approach of
> "making sure all attached interface to server is active, server is sshable
>  bthe efore server can be used in test" [1]. This is something we agreed
>  in Denver PTG for afazekas proposal[2].
> If we see the  from user perspective , user can have an Active VM with
> active port which can flip to down in between of that port usage. This seems bug to me.

To me, this ignores real-world situations where a port status *can*
change w/o user interaction. It seems weird to ignore a status change
if it is detected. In the case that we hit, it was a change to os-vif
where it was recreating a port. But it could just as easily be some
vendor-specific "that port just died" kind of thing. Why not update
the status of the port if you know it has changed? Also, the patch
itself (outside the ironic case) just adds a window for the status to

More information about the openstack-discuss mailing list