RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1641672 - "ovn-nbctl - LBs - daemon" test always fails on mock / brew
Summary: "ovn-nbctl - LBs - daemon" test always fails on mock / brew
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch2.10
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Numan Siddique
QA Contact: haidong li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-22 13:44 UTC by Timothy Redaelli
Modified: 2020-01-14 22:46 UTC (History)
9 users (show)

Fixed In Version: openvswitch2.10-2.10.0-24.el7fdn
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-07 08:51:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0029 0 None None None 2019-01-07 08:51:23 UTC

Description Timothy Redaelli 2018-10-22 13:44:19 UTC
"ovn-nbctl - LBs - daemon" test (make check) always fails on mock / brew since it tries to resolve an hostname, but on mock network is not available. it hangs and it's killed by SIGALARM.

AT_CHECK([ovn-nbctl -vsocket_util:off lb-add lb0 30.0.0.1a 192.168.10.10:80,192.168.10.20:80], [1], [],
[ovn-nbctl: 30.0.0.1a: should be an IP address (or an IP address and a port number with : as a separator).
])

I've got the same failure also on upstream OVS master branch.

Comment 2 Numan Siddique 2018-10-22 15:50:28 UTC
Submitted the patch u/s to fix the issue - https://patchwork.ozlabs.org/patch/987789/

Comment 5 haidong li 2018-11-20 10:31:14 UTC
reproduced on old version:
[root@hp-dl580g7-01 ~]# rpm -qa | grep openvswitch
openvswitch2.10-ovn-central-2.10.0-10.el7fdp.x86_64
openvswitch-selinux-extra-policy-1.0-8.el7fdp.noarch
openvswitch2.10-ovn-common-2.10.0-10.el7fdp.x86_64
openvswitch2.10-ovn-host-2.10.0-10.el7fdp.x86_64
openvswitch2.10-2.10.0-10.el7fdp.x86_64
[root@hp-dl580g7-01 ~]# cat  /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
[root@hp-dl580g7-01 ~]# ovn-nbctl -vsocket_util:off lb-add lb0 b 192.168.10.10:80,192.168.10.20:80
^C^C^C

=======================================================================
verified on the latest version:

[root@dell-per730-57 ~]# uname -a
Linux dell-per730-57.rhts.eng.pek2.redhat.com 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per730-57 ~]# 
[root@dell-per730-57 ~]# rpm -qa | grep openvswitch
kernel-kernel-networking-openvswitch-ovn-1.0-108.noarch
openvswitch2.10-ovn-central-2.10.0-28.el7fdp.x86_64
openvswitch-selinux-extra-policy-1.0-8.el7fdp.noarch
openvswitch2.10-ovn-common-2.10.0-28.el7fdp.x86_64
openvswitch2.10-ovn-host-2.10.0-28.el7fdp.x86_64
openvswitch2.10-2.10.0-28.el7fdp.x86_64
[root@dell-per730-57 ~]# ovn-nbctl -vsocket_util:off lb-add lb0 30.0.0.1a \
>   192.168.10.10:80,192.168.10.20:80
ovn-nbctl: 30.0.0.1a: should be an IP address (or an IP address and a port number with : as a separator).
[root@dell-per730-57 ~]# ovn-nbctl  lb-add lb0 30.0.0.1a   192.168.10.10:80,192.168.10.20:80
2018-11-20T09:17:13Z|00002|socket_util|ERR|30.0.0.1a: bad IP address "30.0.0.1a"
ovn-nbctl: 30.0.0.1a: should be an IP address (or an IP address and a port number with : as a separator).

Comment 10 errata-xmlrpc 2019-01-07 08:51:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0029


Note You need to log in before you can comment on or make changes to this bug.