Bug 1443302 - Errors in octavia health manager process
Summary: Errors in octavia health manager process
Keywords:
Status: CLOSED DUPLICATE of bug 1444495
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-octavia
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Brent Eagles
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-19 05:43 UTC by Alexander Stafeyev
Modified: 2019-09-10 14:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-28 21:21:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexander Stafeyev 2017-04-19 05:43:06 UTC
Description of problem:

I deployed rhos 11 with octavia(1 controller 2 compute nodes) - 
Ran post deployment scrip -
https://review.openstack.org/#/c/447496/11/doc/source/advanced_deployment/octavia-post-deploy.sh

on the controller: 
in /etc/octavia/octavia.conf I uncommented "bind_host" and configured it with controller ip instead of localhost address. 

In /etc/octavia/conf.d/common/octavia-post-deploy.conf I commented out the "bind_host". 

After restarting the services I saw the following for health manager service- 

[root@controller-0 ~]# systemctl status octavia-he* -l
● octavia-health-manager.service - OpenStack Octavia Health-Manager service
   Loaded: loaded (/usr/lib/systemd/system/octavia-health-manager.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2017-04-19 05:31:24 UTC; 1min 32s ago
 Main PID: 32708 (octavia-health-)
   CGroup: /system.slice/octavia-health-manager.service
           ├─ 32708 /usr/bin/python2 /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager --log-file /var/log/octavia/health-manager.log
           ├─ 32737 /usr/bin/python2 /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager --log-file /var/log/octavia/health-manager.log
           ├─127235 /usr/bin/python2 /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager --log-file /var/log/octavia/health-manager.log
           ├─127236 /usr/bin/python2 /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager --log-file /var/log/octavia/health-manager.log
           ├─943035 /usr/bin/python2 /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager --log-file /var/log/octavia/health-manager.log
           └─943036 /usr/bin/python2 /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager --log-file /var/log/octavia/health-manager.log

Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: self._target(*self._args, **self._kwargs)
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: File "/usr/lib/python2.7/site-packages/octavia/cmd/health_manager.py", line 38, in hm_listener
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: update_db.UpdateStatsDb())
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: File "/usr/lib/python2.7/site-packages/octavia/amphorae/drivers/health/heartbeat_udp.py", line 47, in __init__
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: self.update(self.key, self.ip, self.port)
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: File "/usr/lib/python2.7/site-packages/octavia/amphorae/drivers/health/heartbeat_udp.py", line 68, in update
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: self.sock.bind(self.sockaddr)
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: File "/usr/lib64/python2.7/socket.py", line 224, in meth
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: return getattr(self._sock,name)(*args)
Apr 19 05:31:26 controller-0.localdomain octavia-health-manager[32708]: error: [Errno 98] Address already in use


THOSE ERRORS ARE NOT SEEN in /var/log/octavia/health-manager.log 



How reproducible:
100



Actual results:
we do not see the logs and errors in health manager log file 

Expected results:
we should the logs and errors in health manager log file

Comment 1 Assaf Muller 2017-04-28 21:21:43 UTC

*** This bug has been marked as a duplicate of bug 1444495 ***


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