On Tue, May 8, 2018 at 9:45 AM, Han Zhou <[email protected]> wrote:
>
> hv1_hostname could be empty because it may be assigned before SB is
> updated, so adding ovn-sbctl wait-until fixes it.
>
> Signed-off-by: Han Zhou <[email protected]>
> ---
>  tests/ovn.at | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/ovn.at b/tests/ovn.at
> index 4a53165..d044674 100644
> --- a/tests/ovn.at
> +++ b/tests/ovn.at
> @@ -9260,6 +9260,7 @@ ovs-vsctl add-br br-phys
>  ovn_attach n1 br-phys 192.168.0.11
>  ovs-vsctl -- add-port br-int hv1-vif0 -- set Interface hv1-vif0
ofport-request=1
>
> +ovn-sbctl wait-until chassis hv1
>  hv1_hostname=$(ovn-sbctl --bare --columns hostname find Chassis name=hv1)
>  echo "hv1_hostname=${hv1_hostname}"
>  ovn-nbctl --wait=hv --timeout=3 lsp-set-options lsp0
requested-chassis=${hv1_hostname}
> --
> 2.1.0
>
Please ignore this patch. It was sent with wrong subject. The correct one
is https://patchwork.ozlabs.org/patch/910341/.

However, the previous patch with the same title is correct, please do not
ignore: https://patchwork.ozlabs.org/patch/910337/.

Sorry for the inconvenience.

Han
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to