Ask Your Question
0

LBaaS: vips status is error (RDO, Kilo)

asked 2015-05-31 23:31:40 -0500

idzzy gravatar image

updated 2015-05-31 23:50:57 -0500

Hello,

I'm using Kilo on three nodes (controller, compute, network) deployed by RDO.

vip creation of LBaaS has been completed, but the status is "ERROR". haproxy service is not running and no ip address in qlbaas namespace.

I checked this similar case. https://ask.openstack.org/en/question... user_group already set haproxy group

user_group = haproxy in /etc/neutron/lbaas_agent.ini

How should I fix this issue?

Here are outputs.

# neutron lb-vip-list
+--------------------------------------+-------------+--------------+----------+----------------+--------+
| id                                   | name        | address      | protocol | admin_state_up | status |
+--------------------------------------+-------------+--------------+----------+----------------+--------+
| ea67793a-0ed4-41d5-9e85-79e0a1093efb | admin_vip01 | <GLOBAL_IP> | HTTP     | True           | ERROR  |
+--------------------------------------+-------------+--------------+----------+----------------+--------+

# neutron lb-pool-list
+--------------------------------------+------------+----------+-------------+----------+----------------+--------+
| id                                   | name       | provider | lb_method   | protocol | admin_state_up | status |
+--------------------------------------+------------+----------+-------------+----------+----------------+--------+
| ca501f1d-f6c6-492f-a834-e99c9537faf0 | admin_lb01 | haproxy  | ROUND_ROBIN | HTTP     | True           | ACTIVE |
+--------------------------------------+------------+----------+-------------+----------+----------------+--------+

# neutron lb-member-list
+--------------------------------------+-------------+---------------+--------+----------------+--------+
| id                                   | address     | protocol_port | weight | admin_state_up | status |
+--------------------------------------+-------------+---------------+--------+----------------+--------+
| 6b980ac5-23fb-46a8-80fb-c89aa6ee12d6 | 192.168.0.6 |            80 |      1 | True           | ACTIVE |
| a0b0383e-841d-4c83-b347-8dac67d18e83 | 192.168.0.5 |            80 |      1 | True           | ACTIVE |
+--------------------------------------+-------------+---------------+--------+----------------+--------+

# neutron lb-healthmonitor-list
+--------------------------------------+------+----------------+
| id                                   | type | admin_state_up |
+--------------------------------------+------+----------------+
| 70441e51-6bbb-44ce-9d8b-c9c2571803ea | HTTP | True           |
+--------------------------------------+------+----------------+

haproxy service is not running on network node.

# systemctl list-unit-files | grep proxy
haproxy.service                        disabled

# ps -aef | grep haproxy
#

no ip addresss in qlbaas namespace on network node.

# ip netns exec qlbaas-c742bc82-e275-46c5-b20e-786d52ce3364 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

neutron/server.log on controller node

2015-06-01 13:44:20.468 1353 ERROR neutron.plugins.ml2.managers [req-8fc2e50d-a05f-42b0-a4ba-bc55015dfab7 ] Failed to bind port f4ed7ff6-6709-4f8d-835f-19ddc2
256d0d on host mido53
2015-06-01 13:44:20.469 1353 ERROR neutron.plugins.ml2.managers [req-8fc2e50d-a05f-42b0-a4ba-bc55015dfab7 ] Failed to bind port f4ed7ff6-6709-4f8d-835f-19ddc2
256d0d on host mido53

lbaas-agent.log on controller node

2015-06-01 13:44:20.728 1320 ERROR neutron_lbaas.services.loadbalancer.agent.agent_manager [req-c786b0a5-8c0a-4101-90d0-8ac34456cfa3 ] Create vip 89ff59ba-213e-4773-9e23-ef8160e4916a failed on device driver haproxy_ns
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager Traceback (most recent call last):
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/agent/agent_manager.py", line 221, in create_vip
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     driver.create_vip(vip)
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 340, in create_vip
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     self._refresh_device(vip['pool_id'])
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 336, in _refresh_device
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     if not self.deploy_instance(logical_config) and self.exists(pool_id):
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 445, in inner
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     return f(*args, **kwargs)
2015-06-01 13:44:20.728 1320 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-02 08:32:22 -0500

Solved for me.

I had a LB service running on the controller and the network node. Shutdown LB on controller and everything else went fine.

Cheers

edit flag offensive delete link more

Comments

Although I try that, if stop lbaas service on controller node, did not work anything of lbaas functions. Thank you.

idzzy gravatar imageidzzy ( 2015-06-12 03:50:09 -0500 )edit
0

answered 2015-06-12 03:54:15 -0500

idzzy gravatar image

Add Comment.

I could create a Pool/Member/Monitor. But when I create a VIP, then following error message is output on lbaas.log on controller node. It seems not to be able to create namespace or something like that.

    2015-06-12 17:42:04.572 6354 WARNING neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver [-] Stats socket not found for pool e3e626f6-fdd0-4a9d-aaca-0f15b2d26d32
    2015-06-12 17:42:10.540 6354 ERROR neutron_lbaas.services.loadbalancer.agent.agent_manager [req-20f4a552-3539-425c-b890-8da7bbe20a07 ] Create vip 9022a7b5-2722-4933-8a80-df3cffb3c310 failed on device driver haproxy_ns
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager Traceback (most recent call last):
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/agent/agent_manager.py", line 221, in create_vip
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     driver.create_vip(vip)
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 340, in create_vip
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     self._refresh_device(vip['pool_id'])
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 336, in _refresh_device
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     if not self.deploy_instance(logical_config) and self.exists(pool_id):
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 445, in inner
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     return f(*args, **kwargs)
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 329, in deploy_instance
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     self.create(logical_config)
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 90, in create
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     self._plug(namespace, logical_config['vip']['port'])
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 259, in _plug
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     namespace=namespace
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 235, in plug
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     self.check_bridge_exists(bridge)
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 169, in check_bridge_exists
    2015-06-12 17:42:10.540 6354 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager     raise exceptions.BridgeDoesNotExist(bridge=bridge)
    2015-06-12 17:42 ...
(more)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-31 23:31:40 -0500

Seen: 1,058 times

Last updated: Jun 12 '15