Hi All,
I got this error when I start f5-agent:
I got this error when I am trying to start the agent:
2015-01-07 12:10:59.712 42967 INFO neutron.services.loadbalancer.drivers.f5.bigip.agent_manager [-] Initializing LbaasAgentManager with conf
2015-01-07 12:10:59.714 42967 DEBUG neutron.services.loadbalancer.drivers.f5.bigip.agent_manager [-] Initializing LogicalServiceCache version 0.1.1 __init__ /usr/lib/python2.7/dist-packages/neutron/services/loadbalancer/drivers/f5/bigip/agent_manager.py:93
Error importing loadbalancer device driver: neutron.services.loadbalancer.drivers.f5.bigip.icontrol_driver.iControlDriver
I run 3 nodes in my vmware workstation:
one controller, one compute and one network node
I installed the driver in controller node, and installed both agent and driver in network node.
Then follow the readme file which in the downloaded file.
I can see "f5" in horizon when I add pool in the Load balancer. Of course, it will be failed as f5-agent is not running.. below is my f5-agent ini file. Anybody can help me?
here is my f5-agent conf:
root@network:/etc/neutron egrep -v "^|^$" f5-bigip-lbaas-agent.ini
[DEFAULT]
debug = True
periodic_interval = 10
f5_static_agent_configuration_data = name1:value1, name1:value2, name3:value3
f5_device_type = external
f5_ha_type = standalone
sync_mode = replication
f5_external_physical_mappings = default:1.3:True
f5_vtep_folder = 'Common'
f5_vtep_selfip_name = 'vtep'
advertised_tunnel_types = gre
l2_population = True
f5_global_routed_mode = False
use_namespaces = True
f5_route_domain_strictness = False
f5_snat_mode = True
f5_snat_addresses_per_subnet = 1
f5_common_external_networks = True
f5_bigip_lbaas_device_driver = neutron.services.loadbalancer.drivers.f5.bigip.icontrol_driver.iControlDriver
icontrol_hostname = 192.168.232.245
icontrol_username = admin
icontrol_password = admin
icontrol_connection_retry_interval = 10
here is my neutron.conf, and there is haproxy setting, it works in my openstack.
root@controller:/home/mycisco egrep -v "^|^$" /etc/neutron/neutron.conf
[DEFAULT]
state_path = /var/lib/neutron
lock_path = $state_path/lock
core_plugin = ml2
service_plugins = router,lbaas
f5_loadbalancer_pool_scheduler_driver = neutron.services.loadbalancer.drivers.f5.agent_scheduler.TenantScheduler
auth_strategy = keystone
allow_overlapping_ips = True
rabbit_host = 192.168.232.138
rpc_backend = neutron.openstack.common.rpc.impl_kombu
notification_driver = neutron.openstack.common.notifier.rpc_notifier
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://192.168.232.138:8774/v2
nova_admin_username = nova
nova_admin_tenant_id = f0ef0312929d433b9b1dcc3d030d0634
nova_admin_password = service_pass
nova_admin_auth_url = http://192.168.232.138:35357/v2.0
[quotas]
[agent]
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[keystone_authtoken]
auth_host = 192.168.232.138
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = neutron
admin_password = service_pass
signing_dir = $state_path/keystone-signing
[database]
connection = mysql://neutron:NEUTRON_DBPASS@192.168.232.138/neutron
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
service_provider=LOADBALANCER:F5:neutron.services.loadbalancer.drivers.f5.plugin_driver.F5PluginDriver
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default