Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1497645 - [OVN]ovsdb_jsonrpc_server|ERR|ptcp:6641:172.17.1.10: listen failed: Cannot assign requested address
[OVN]ovsdb_jsonrpc_server|ERR|ptcp:6641:172.17.1.10: listen failed: Cannot as...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
low Severity high
: beta
: 12.0 (Pike)
Assigned To: Numan Siddique
Eran Kuris
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-02 06:30 EDT by Eran Kuris
Modified: 2018-02-05 14:15 EST (History)
12 users (show)

See Also:
Fixed In Version: puppet-tripleo-7.4.3-0.20171025110207.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:11:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1720761 None None None 2017-10-02 06:32 EDT
OpenStack gerrit 509470 None None None 2017-10-04 09:57 EDT
OpenStack gerrit 510754 None None None 2017-11-07 14:10 EST
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Eran Kuris 2017-10-02 06:30:28 EDT
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 03:05:37 EDT
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 09:56:51 EDT
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 04:55:48 EST
fixed verified on : 
12   -p 2017-11-14.4
puppet-tripleo-7.4.3-2.el7ost.noarch
Comment 8 errata-xmlrpc 2017-12-13 17:11:53 EST
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.