Bug 1497645 - [OVN]ovsdb_jsonrpc_server|ERR|ptcp:6641:172.17.1.10: listen failed: Cannot assign requested address
Summary: [OVN]ovsdb_jsonrpc_server|ERR|ptcp:6641:172.17.1.10: listen failed: Cannot as...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: beta
: 12.0 (Pike)
Assignee: Numan Siddique
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-02 10:30 UTC by Eran Kuris
Modified: 2018-02-05 19:15 UTC (History)
12 users (show)

Fixed In Version: puppet-tripleo-7.4.3-0.20171025110207.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 22:11:53 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1720761 0 None None None 2017-10-02 10:32:47 UTC
OpenStack gerrit 509470 0 None MERGED ovn HA: Enable ip_nonlocal_bind sysctl flag 2020-10-27 18:36:32 UTC
OpenStack gerrit 510754 0 None MERGED ovn HA: Enable ip_nonlocal_bind sysctl flag 2020-10-27 18:36:32 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Eran Kuris 2017-10-02 10:30:28 UTC
Description of problem:
on the latest puddle, I saw in logs those error after fresh install:

[root@controller-1 ~]# tail -f /var/log/openvswitch/ovsdb-server-nb.log
2017-10-01T10:09:06.369Z|04445|socket_util|ERR|6641:172.17.1.10: bind: Cannot assign requested address
2017-10-01T10:09:11.371Z|04450|socket_util|ERR|6641:172.17.1.10: bind: Cannot
2017-10-01T10:09:18.876Z|04456|ovsdb_jsonrpc_server|ERR|Dropped 56 log messages in last 58 seconds (most recently, 3 seconds ago) due to excessive rate
2017-10-01T10:09:18.876Z|04457|ovsdb_jsonrpc_server|ERR|ptcp:6641:172.17.1.10: listen failed: Cannot assign requested address
2017-10-01T10:09:21.370Z|04458|socket_util|ERR|6641:172.17.1.10: bind: Cannot assign requested address

the error exists on OVN slave nodes.

Version-Release number of selected component (if applicable):
(overcloud) [root@controller-0 ~]# rpm -qa |grep -i ovn
openvswitch-ovn-common-2.7.2-4.git20170719.el7fdp.x86_64
novnc-0.6.1-1.el7ost.noarch
puppet-ovn-11.3.1-0.20170825135756.c03c3ed.el7ost.noarch
openvswitch-ovn-central-2.7.2-4.git20170719.el7fdp.x86_64
openvswitch-ovn-host-2.7.2-4.git20170719.el7fdp.x86_64
openstack-nova-novncproxy-16.0.1-0.20170921091002.edd59ae.el7ost.noarch
python-networking-ovn-3.0.1-0.20170906223255.c663db6.el7ost.noarch

How reproducible:
100%



Steps to Reproduce:
1. Deploy Director HA 12 with OVN
2.check the log under /var/log/openvswitch/ovsdb-server-nb.log

Actual results:
error logs

Expected results:
no errors 

Additional info:

Comment 1 Numan Siddique 2017-10-03 07:05:37 UTC
The reason for these error logs is:

 - In the case of OVN HA, ovsdb-server's are started in each controller as standby and then pacemaker promotes one as master on the node where VIP  (ip-XXXXX) resource is started (because of colocation constraints set).

On all the controller nodes, ovsdb-servers are started with the option "--remote=ptcp:6641:VIP. Since the VIP is not present in the stand by nodes, the ovsdb-servers log the error messages.

Presently this is as expected. But the error logs could be annoying and I think it can be taken care in ovsdb-server to not log these error messages. Or may be don't open the socket if it's a standby server.

I would say its a low priority issue.

Comment 2 Numan Siddique 2017-10-04 13:56:51 UTC
Submitted the patch in puppet-tripleo to set 'ip_nonlocal_bind' sysctl flag so that we don't see the error messages reported here.

https://review.openstack.org/#/c/509470/

Comment 4 Eran Kuris 2017-11-20 09:55:48 UTC
fixed verified on : 
12   -p 2017-11-14.4
puppet-tripleo-7.4.3-2.el7ost.noarch

Comment 8 errata-xmlrpc 2017-12-13 22:11:53 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/RHEA-2017:3462


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