[ovs-build] Failed: ovsrobot/ovn#581 (series_173823 - 368312c)

Travis CI builds at travis-ci.com
Thu Apr 30 21:45:38 UTC 2020


Build Update for ovsrobot/ovn
-------------------------------------

Build: #581
Status: Failed

Duration: 18 mins and 32 secs
Commit: 368312c (series_173823)
Author: Dumitru Ceara
Message: ovn-northd: Remove Port_Binding stale references to HA_Chassis_Group.

If a logical switch port of type "external" that has ha_chassis_group set
is deleted from a logical switch and a port with the same name is added
to a different logical switch in the same transaction, the SB Port_Binding
record corresponding to the logical port is reused but the ha_chassis_group
field is not cleared.

One way to reproduce the issue is:
$ ovn-nbctl ls-add ls1
$ ovn-nbctl ls-add ls2
$ ovn-nbctl lsp-add ls1 lsp1
$ ovn-nbctl lsp-add ls2 lsp2
$ ovn-nbctl lsp-set-type lsp2 external
$ ovn-nbctl ha-chassis-group-add chg1
$ ovn-nbctl ha-chassis-group-add-chassis chg1 chassis-1 30
$ chg1_uuid=$(ovn-nbctl --bare --columns _uuid list ha_Chassis_Group .)
$ ovn-nbctl set logical_switch_port lsp2 ha_chassis_group=${chg1_uuid}
$ ovn-nbctl lsp-del lsp2 -- lsp-add ls1 lsp2

To avoid that, we now clear the Port_Binding ha_chassis_group field when
the logical port corresponding to the port binding is not of type
"external" anymore.

Reported-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: 0-day Robot <robot at bytheb.org>

View the changeset: https://github.com/ovsrobot/ovn/compare/fff5c9518013...368312cdbbe4

View the full build log and details: https://travis-ci.com/github/ovsrobot/ovn/builds/163000439?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the ovsrobot/ovn repository going to https://travis-ci.com/account/preferences/unsubscribe?repository=9136199&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.com/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20200430/c1dda452/attachment-0001.html>


More information about the build mailing list