Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found where does the ip "198.51.100.1" come from. by running the following command :

grep -rnw "/usr/lib/python2.7" -e "198.51.100.1"

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:38: ip_address = '198.51.100.1'

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:68: vrrp_ip='198.51.100.1',

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:69: ha_ip='198.51.100.1',

it comes from the "noop_driver" :

neutron driver is also available in /usr/lib/python2.7/site-packages/octavia/network/drivers/neutron/

in octavia.conf the setting are

amphora_driver = amphora_noop_driver

compute_driver = compute_noop_driver

network_driver = network_noop_driver

distributor_driver = distributor_noop_driver

I have replaced the string noop_driver with neutron eg : network_driver = network_neutron and also network_driver = neutron

but after running "openstack loadbalancer create ...." the error "No 'octavia.network.drivers' driver found, looking for 'neutron' " appears

how can I made openstack to use neutron driver for octavia

I found where does the ip "198.51.100.1" come from. by running the following command :

grep -rnw "/usr/lib/python2.7" -e "198.51.100.1"

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:38: ip_address = '198.51.100.1'

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:68: vrrp_ip='198.51.100.1',

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:69: ha_ip='198.51.100.1',

the output shows that it comes from the "noop_driver" :noop_driver

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:38: ip_address = '198.51.100.1'

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:68: vrrp_ip='198.51.100.1',

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/driver.py:69: ha_ip='198.51.100.1',

neutron driver is also available in /usr/lib/python2.7/site-packages/octavia/network/drivers/neutron//.

in octavia.conf the setting are

amphora_driver = amphora_noop_driver

compute_driver = compute_noop_driver

network_driver = network_noop_driver

distributor_driver = distributor_noop_driver

I have replaced the string noop_driver with neutron eg : network_driver = network_neutron and also network_driver = neutron

but after running "openstack loadbalancer create ...." the error "No 'octavia.network.drivers' driver found, looking for 'neutron' " appears

how can I made openstack to use neutron driver for octavia