Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionTimothy 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.
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).
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