← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1220692] Re: LBaaS HAProxy agent outputs traceback in get_stats

 

** Changed in: cloud-archive
       Status: Triaged => 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/1220692

Title:
  LBaaS HAProxy agent outputs traceback in get_stats

Status in Ubuntu Cloud Archive:
  Fix Released
Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  I found the following error in q-lbaas log after creating a vip on a
  pool.

  2013-09-04 21:41:59.830 10678 DEBUG neutron.openstack.common.periodic_task [-] Running periodic task LbaasAgentManager.collect_stats run_periodic_tasks /opt/stack/neutron/neutron/openstack/common/periodic_task.py:176
  2013-09-04 21:41:59.831 10678 ERROR neutron.services.loadbalancer.drivers.haproxy.agent_manager [-] Error upating stats
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager Traceback (most recent call last):
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager   File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 137, in collect_stats
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager     stats = driver.get_stats(pool_id)
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager   File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 168, in get_stats
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager     pool_stats['members'] = self._get_servers_stats(parsed_stats)
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager   File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 188, in _get_servers_stats
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager     if stats['type'] == TYPE_SERVER_RESPONSE:
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager KeyError: 'type'
  2013-09-04 21:41:59.831 10678 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1220692/+subscriptions