← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645060] [NEW] LBaaSv2 agent can not consume messages from mq

 

Public bug reported:

========= Problem Description ========
I built a local " all-in-one " environment manually with the LBaaSv2 master branch, LBaaSv2 agent couldn't consume messages from RabbitMQ.

LBaaSv2 agent runs like this:
/usr/bin/python2 /usr/bin/neutron-lbaasv2-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /usr/share/neutron/neutron-lbaas-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/lbaas_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-lbaasv2-agent

Creating a loadbalaner in neutron server, then I got a queued message
which was unconsumed by agent in RabbitMQ like this:

[root@server-233 neutron_lbaas(keystone_admin)]# rabbitmqctl list_queues messages name | grep -v ^0
Listing queues ...
1	n-lbaasv2_agent.server-233
...
...done.

In the configuration of LBaaSv2, I use the haproxy driver, like this:

[root@server-233 neutron_lbaas]# cat /etc/neutron/lbaas_agent.ini|grep -v "#"|grep -v ^$
[DEFAULT]
debug = False
interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
device_driver = neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver
[haproxy]
user_group = nobody

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaas

** Tags added: lbaas

** Summary changed:

- LBaaSv2 agent can not consume message from mq
+ LBaaSv2 agent can not consume messages from mq

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1645060

Title:
  LBaaSv2 agent can not consume messages from mq

Status in neutron:
  New

Bug description:
  ========= Problem Description ========
  I built a local " all-in-one " environment manually with the LBaaSv2 master branch, LBaaSv2 agent couldn't consume messages from RabbitMQ.

  LBaaSv2 agent runs like this:
  /usr/bin/python2 /usr/bin/neutron-lbaasv2-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /usr/share/neutron/neutron-lbaas-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/lbaas_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-lbaasv2-agent

  Creating a loadbalaner in neutron server, then I got a queued message
  which was unconsumed by agent in RabbitMQ like this:

  [root@server-233 neutron_lbaas(keystone_admin)]# rabbitmqctl list_queues messages name | grep -v ^0
  Listing queues ...
  1	n-lbaasv2_agent.server-233
  ...
  ...done.

  In the configuration of LBaaSv2, I use the haproxy driver, like this:

  [root@server-233 neutron_lbaas]# cat /etc/neutron/lbaas_agent.ini|grep -v "#"|grep -v ^$
  [DEFAULT]
  debug = False
  interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver
  device_driver = neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver
  [haproxy]
  user_group = nobody

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1645060/+subscriptions


Follow ups