[Bug 1577630] Re: ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Igor Meneguitte Ávila
igoravila at gmail.com
Tue May 3 17:07:46 UTC 2016
Hi,
Can you help me?
neutron lbaas-listener-create --name test-lb-http --loadbalancer test-lb --protocol HTTP --protocol-port 80
Created a new listener:
+---------------------------+------------------------------------------------+
| Field | Value |
+---------------------------+------------------------------------------------+
| admin_state_up | True |
| connection_limit | -1 |
| default_pool_id | |
| default_tls_container_ref | |
| description | |
| id | e4d4730a-cd97-4d42-9d0a-a3fc55bbf710 |
| loadbalancers | {"id": "24f50e79-53b6-4ee6-8da1-2a8f1233a857"} |
| name | test-lb-http |
| protocol | HTTP |
| protocol_port | 80 |
| sni_container_refs | |
| tenant_id | 60d7922e29e44dc1ac62df3fe7ba3841 |
+---------------------------+------------------------------------------------+
# tail -f /var/log/neutron/neutron-lbaasv2-agent.log
2016-05-02 09:33:27.955 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857
2016-05-02 09:33:37.956 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager [req-42240fbe-58d4-43e2-a4a0-77f692915f2b f0c587f6748346d9a7dd1a6d911da3b4 60d7922e29e44dc1ac62df3fe7ba3841 - - -] Create listener e4d4730a-cd97-4d42-9d0a-a3fc55bbf710 failed on device driver haproxy_ns
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager Traceback (most recent call last):
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/agent/agent_manager.py", line 300, in create_listener
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager driver.listener.create(listener)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/haproxy/namespace_driver.py", line 405, in create
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager self.driver.loadbalancer.refresh(listener.loadbalancer)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/haproxy/namespace_driver.py", line 369, in refresh
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager if (not self.driver.deploy_instance(loadbalancer) and
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 254, in inner
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager return f(*args, **kwargs)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/haproxy/namespace_driver.py", line 174, in deploy_instance
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager self.create(loadbalancer)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/haproxy/namespace_driver.py", line 201, in create
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager self._plug(namespace, loadbalancer.vip_port, loadbalancer.vip_address)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/haproxy/namespace_driver.py", line 295, in _plug
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager namespace=namespace
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 252, in plug
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager bridge, namespace, prefix)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 320, in plug_new
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager self.check_bridge_exists(bridge)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 230, in check_bridge_exists
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager raise exceptions.BridgeDoesNotExist(bridge=bridge)
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager BridgeDoesNotExist: Bridge br-int does not exist.
2016-05-02 09:33:42.423 18394 ERROR neutron_lbaas.agent.agent_manager
2016-05-02 09:33:47.956 18394 WARNING neutron_lbaas.drivers.haproxy.namespace_driver [-] Stats socket not found for loadbalancer 24f50e79-53b6-4ee6-8da1-2a8f1233a857
Any idea?
Regards,
Igor Meneguitte Ávila
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron-lbaas in Ubuntu.
https://bugs.launchpad.net/bugs/1577630
Title:
ERROR neutron_lbaas.agent.agent_manager - HaproxyNSDriver
Status in neutron:
Incomplete
Status in neutron-lbaas package in Ubuntu:
New
Bug description:
Hi,
I use OpenStack Liberty with Ubuntu 14.04.
I installed LBaaSv2;
# aptitude install haproxy neutron-lbaasv2-agent python-neutron-lbaas
/etc/neutron/neutron.conf
[DEFAULT]
service_plugins = router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
/etc/neutron/neutron_lbaas.conf
[service_providers]
service_provider=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
/etc/neutron/lbaas_agent.ini
[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
ovs_use_veth = False
device_driver = neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
[haproxy]
user_group = haproxy
# tail -f /var/log/neutron/neutron-lbaasv2-agent.log
2016-05-01 21:12:16.266 6459 INFO neutron.common.config [-] Logging enabled!
2016-05-01 21:12:16.267 6459 INFO neutron.common.config [-] /usr/bin/neutron-lbaasv2-agent version 7.0.3
2016-05-01 21:12:16.294 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672
2016-05-01 21:12:16.318 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672
2016-05-01 21:12:16.335 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2016-05-01 21:12:16.337 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2016-05-01 21:12:16.475 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672
2016-05-01 21:12:16.495 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
$ neutron lbaas-loadbalancer-create --name lb01 f64e80e1-da2a-40b7-ba9b-903dc72242ba
Created a new loadbalancer:
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| admin_state_up | True |
| description | |
| id | 599a3226-5239-4100-a118-5ad1fe6ea55d |
| listeners | |
| name | lb01 |
| operating_status | OFFLINE |
| provider | haproxy |
| provisioning_status | PENDING_CREATE |
| tenant_id | 60d7922e29e44dc1ac62df3fe7ba3841 |
| vip_address | 192.168.100.15 |
| vip_port_id | 5f998bc7-17bc-4bb8-9fb5-07a6b9de5860 |
| vip_subnet_id | f64e80e1-da2a-40b7-ba9b-903dc72242ba |
+---------------------+--------------------------------------+
neutron lbaas-loadbalancer-list
+--------------------------------------+------+----------------+---------------------+----------+
| id | name | vip_address | provisioning_status | provider |
+--------------------------------------+------+----------------+---------------------+----------+
| 599a3226-5239-4100-a118-5ad1fe6ea55d | lb01 | 192.168.100.15 | ERROR | haproxy |
+--------------------------------------+------+----------------+---------------------+----------+
$ tail -f /var/log/neutron/neutron-lbaasv2-agent.log
2016-05-01 21:12:16.337 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2016-05-01 21:12:16.475 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672
2016-05-01 21:12:16.495 6459 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager [req-214be154-00fb-4c8a-8fe3-7212ffc19cb2 f0c587f6748346d9a7dd1a6d911da3b4 60d7922e29e44dc1ac62df3fe7ba3841 - - -] Create loadbalancer 599a3226-5239-4100-a118-5ad1fe6ea55d failed on device driver haproxy_ns
2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager Traceback (most recent call last):
2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager File "/usr/lib/python2.7/dist-packages/neutron_lbaas/agent/agent_manager.py", line 270, in create_loadbalancer
2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager driver.loadbalancer.create(loadbalancer)
2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager AttributeError: 'HaproxyNSDriver' object has no attribute 'loadbalancer'
2016-05-01 21:40:43.582 6459 ERROR neutron_lbaas.agent.agent_manager
Any idea? Can you help me?
Regards,
Igor Meneguitte Ávila
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1577630/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list