yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06617
[Bug 1248222] Re: The Loadbalancer agent's binary name as appears in the agents db table is wrong
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1248222
Title:
The Loadbalancer agent's binary name as appears in the agents db table
is wrong
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
Version
=======
Havana on rhel
openstack-neutron-2013.2-3.el6ost
Description
===========
The Loadbalancer agent's binary in the "agents" database table differs from the real binary name and service name.
# mysql -u root ovs_neutron
mysql> select * from agents where agent_type like "Loadbalancer agent";
+--------------------------------------+--------------------+----------------------------+-----------------------------+-------------------------------+----------------+---------------------+---------------------+---------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | agent_type | binary | topic | host | admin_state_up | created_at | started_at | heartbeat_timestamp | description | configurations |
+--------------------------------------+--------------------+----------------------------+-----------------------------+-------------------------------+----------------+---------------------+---------------------+---------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 7f0b2ac3-5478-4a80-9c09-5856956d0160 | Loadbalancer agent | neutron-loadbalancer-agent | lbaas_process_on_host_agent | shtutgmuralegamrey.redhat.com | 1 | 2013-11-05 13:02:45 | 2013-11-05 13:02:45 | 2013-11-05 14:54:09 | NULL | {"device_driver": "neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver", "interface_driver": "neutron.agent.linux.interface.OVSInterfaceDriver", "devices": 1} |
+--------------------------------------+--------------------+----------------------------+-----------------------------+-------------------------------+----------------+---------------------+---------------------+---------------------+-------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
The binary here is "neutron-loadbalancer-agent" while the real binary should probably be "neutron-lbaas-agent".
# rpm -ql openstack-neutron | grep neutron-loadbalancer-agent
<empty output>
# rpm -ql openstack-neutron | grep neutron-lbaas-agent
/etc/rc.d/init.d/neutron-lbaas-agent
/usr/bin/neutron-lbaas-agent
/usr/share/neutron/neutron-lbaas-agent.upstart
# service neutron-lbaas-agent status
neutron-lbaas-agent (pid 2321) is running...
# service neutron-loadbalancer-agent status
neutron-loadbalancer-agent: unrecognized service
# ps -elf | grep neutron-loadbalancer-agent | grep -v grep
<empty output>
# ps -elf | grep neutron-lbaas-agent | grep -v grep
0 S neutron 2321 1 0 80 0 - 70231 ep_pol 15:02 ? 00:01:10 /usr/bin/python /usr/bin/neutron-lbaas-agent --log-file /var/log/neutron/lbaas-agent.log --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/lbaas_agent.ini
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1248222/+subscriptions