Forum Discussion
Openstack f5 plugin installation problem "No module named drivers.f5.plugin_driver"
I installed my small openstack lab using 3 VM and when I tried to configured the f5 plugin the /var/log/neutron/neutron-server.log report the following error.
2015-08-21 10:15:25.632 6199 TRACE neutron.services.service_base ImportError: No module named drivers.f5.plugin_driver 2015-08-21 10:15:25.632 6199 TRACE neutron.services.service_base
I can't understand what it is wrong with my configuration. Any way-through for first time plugin deployment would be really appreciate it.
Thanks
7 Replies
- TimBouwer_20705
Nimbostratus
Hi
I am also experimenting as you are.
I found the pdf file "Neutron_LBaaS_F5BigIP_39.pdf" which I downloaded from this site helpful along with the pdf called "F5 VEs_OpenStack Deployment Guide_05_11_15.pdf"
In my neutron.conf file on the network node
[DEFAULT] ... ... service_plugins = router,neutron.services.loadbalancer.plugin.LoadBalancerPlugin,firewall [service_providers] service_provider = LOADBALANCER:F5:neutron.services.loadbalancer.drivers.f5.plugin_driver.F5PluginDriver:defaultI am stuck a little further on than you are. Neutron is recognizing the plugin and loading it at which point it logs into the F5 and is giving errors because of properties that are needed in /etc/neutron/f5-bigip-lbaas-agent.ini
But this should get you a little closer.
Tim
- Ariel_Moreno_10
Nimbostratus
Hello Tim Thanks a lot for your fast response. I've checked and I have the same lines in my neutron.conf and the message is still there.
2015-08-21 11:04:18.375 22831 ERROR neutron.services.service_base [-] Error loading provider 'neutron.services.loadbalancer.drivers.f5.plugin_driver.F5PluginDriver' for service LOADBALANCER 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base Traceback (most recent call last): 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base File "/usr/lib/python2.7/dist-packages/neutron/services/service_base.py", line 80, in load_drivers 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base provider['driver'], plugin 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 38, in import_object 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base return import_class(import_str)(*args, **kwargs) 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 27, in import_class 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base __import__(mod_str) 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base ImportError: No module named drivers.f5.plugin_driver 2015-08-21 11:04:18.375 22831 TRACE neutron.services.service_base
I didn't find the Neutron_LBaaS_F5BigIP_39.pdf yet, I will try this path now. If any new idea come up, don't hesitate in send it please. Thanks
- TimBouwer_20705
Nimbostratus
From the logs it looks like it is not finding the plugin itself. Apologies for asking a basic question but did you install the agent on the neutron node?
There is a tar file with the driver rpm or deb files on it.
The tar file name is f5-lbaas_108-2_32.tgz
- Ariel_Moreno_10
Nimbostratus
There is no basic question for me by the moment I installed the agent in my controller and the plugin in my neutron node. This before posting my problem, but do you know any command or procedure to check if they are properly installed. After installing the agent I restarted the neutron-server and the logs appeared. Regards
- TimBouwer_20705
Nimbostratus
Hmm ok
I have to confess for my first experiment with this I have my controller and neutron running on the same server and my compute node on a separate server - so a 2 node lab.
I have some log entries in my /var/log/neutron/server.log and also in /var/log/neutron/f5-bigip-lbaas-agent.log Not sure that I can provide much more help than this - I am only a little further ahead than you in the experiment :-)
Tim
- Brandon_30711Historic F5 Account
From reading your description of your deployment, try installing the driver on your neutron controller. The deployment guide says to install it where the neutron API server process is. This is often your neutron controller. The neutron node is typically running your agent processes ovs, dhcp, etc.
- Ariel_Moreno_10
Nimbostratus
It is working now, I upgrade to thw newest version of plugin, installes python suds and all together with a proper .ini file configuration, it is working now.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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