Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1443302

Summary: Errors in octavia health manager process
Product: Red Hat OpenStack Reporter: Alexander Stafeyev <astafeye>
Component: openstack-octaviaAssignee: Brent Eagles <beagles>
Status: CLOSED DUPLICATE QA Contact: Alexander Stafeyev <astafeye>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: amuller, ihrachys, lpeer, majopela, nyechiel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-28 21:21:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***