Forum Discussion
OpenStack F5 plug-in IceHouse and Python Dependencies
My customer asks...
Where can get the plugin that works on icehouse release without python 2.7. The python 2.7 dependency is killing my environment. We are running the Mirantis distribution of IceHouse running on CentOS. If I upgrade the python to 2.7 then the rest of the services are not working in Openstack environment. The default install comes with Python 2.6 and it doesn't work with current F5 plug-in.
- Arnaud_LemaireEmployee
can you try to install the lbaas rpm with “--nodeps" option ?
- Jeff_GirouxCirrus
He just tried installed with –nodeps option but still couldn’t get the agent running.
[root@node-3 ~] /etc/init.d/f5-bigip-lbaas-agent status f5-bigip-lbaas-agent is stopped [root@node-3 ~] /etc/init.d/f5-bigip-lbaas-agent start Starting f5-bigip-lbaas-agent: [ OK ] [root@node-3 ~] /etc/init.d/f5-bigip-lbaas-agent status f5-bigip-lbaas-agent dead but pid file exists [root@node-3 ~]
I can’t find any logs in /var/log folder. Where are the install logs or error logs for the package?
- Anandha_KrishnaNimbostratus
Attempting to load the agent manually gives the below error:
[root@node-3 site-packages] /usr/bin/f5-bigip-lbaas-agent --config-file=/etc/neutron/f5-bigip-lbaas-agent.ini --config-file=/etc/neutron/neutron.conf --debug Traceback (most recent call last): File "/usr/bin/f5-bigip-lbaas-agent", line 6, in from neutron.services.loadbalancer.drivers.f5.bigip.agent import main ImportError: No module named f5.bigip.agent
- Michael_61029Nimbostratus
I have got this working by symlinking the f5 lbaas files in/usr/lib/python2.7/site-packages from /usr/lib/python2.6/site-packages. Commands run:
ln -s /usr/lib/python2.7/site-packages/f5_bigip_lbaas_agent-1.0.4.icehouse_1-py2.7.egg-info /usr/lib/python2.6/site-packages/f5_bigip_lbaas_agent-1.0.4.icehouse_1-py2.7.egg-info
ln -s /usr/lib/python2.7/site-packages/f5_lbaas_driver-1.0.4.icehouse_1-py2.7.egg-info /usr/lib/python2.6/site-packages/f5_lbaas_driver-1.0.4.icehouse_1-py2.7.egg-info
ln -s /usr/lib/python2.7/site-packages/f5 /usr/lib/python2.6/site-packages/f5
ln -s /usr/lib/python2.7/site-packages/neutron/services/loadbalancer/drivers/f5 /usr/lib/python2.6/site-packages/neutron/services/loadbalancer/drivers/f5
I also had to comment out the loadbalancer service plugin for haproxy in
due to this Red Hat bug/usr/share/neutron/neutron-dist.conf
The service then starts and is running fine.
- Michael_61029Nimbostratus
Forgot to mention, our environment was built from Fuel 5.0 with IceHouse on Centos
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com