Ask Your Question
0

Kilo, lbaas, permission denied

asked 2015-07-14 05:54:12 -0500

uffe gravatar image

Hi,

I'm trying to get lbaas to work in kilo, when creating my vip i see the following in lbaas-log,

the configuration file exists and has permission: -rw-r--r--. 1 neutron neutron 638 Jul 14 12:53 /var/lib/neutron/lbaas/190c7159-3f05-4ab3-a138-1ab0901a614a/conf

2015-07-14 12:23:28.686 23728 ERROR neutron_lbaas.services.loadbalancer.agent.agent_manager [req-7995c32d-9d5f-42b0-aa93-6845ad6f5c13 ] Create vip 611e40ed-c49d-4efa-aab7-130b6c00506c failed on device driver haproxy_ns 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager Traceback (most recent call last): 2015-07-14 12:23:28.686 23728 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-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager driver.create_vip(vip) 2015-07-14 12:23:28.686 23728 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-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager self._refresh_device(vip['pool_id']) 2015-07-14 12:23:28.686 23728 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-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager if not self.deploy_instance(logical_config) and self.exists(pool_id): 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 445, in inner 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager return f(args, *kwargs) 2015-07-14 12:23:28.686 23728 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-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager self.create(logical_config) 2015-07-14 12:23:28.686 23728 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 91, in create 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager self._spawn(logical_config) 2015-07-14 12:23:28.686 23728 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 114, in _spawn 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager ns.netns.execute(cmd) 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 580, in execute 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager extra_ok_codes=extra_ok_codes, **kwargs) 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 137, in execute 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager raise RuntimeError(m) 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer.agent.agent_manager RuntimeError: 2015-07-14 12:23:28.686 23728 TRACE neutron_lbaas.services.loadbalancer ... (more)

edit retag flag offensive close merge delete

Comments

This seems to be an issue with selinux, ideas on how to fix it?

uffe gravatar imageuffe ( 2015-07-14 13:37:54 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-14 13:52:54 -0500

uffe gravatar image

Solved by installing openstack-selinux.

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-07-14 05:54:12 -0500

Seen: 204 times

Last updated: Jul 14 '15