Ask Your Question

openstack loadbalancer create .... give an ip address out of range of my network ( !!

asked 2018-09-26 09:20:28 -0600

esxzawq gravatar image

updated 2018-10-03 06:15:51 -0600

hi , I have installed octavia in centos , and I have created two network ( (provider) and (selfservice)) after running "openstack loadbalancer create --project service --name lb1 --vip-subnet-id selfservice"

the lb1 loadbalancer ip will be !!! that is out of range of my selfservice network. based on the poor documentation I must be able to ping the lb1 ip address which is ( that naturally is impossible .

and also this ip address and its port will not shown up in "openstack port list" command

what should I do that the lb1 get the correct ip address in range of my selfservice network

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2018-10-02 13:23:08 -0600

johnsom gravatar image

Using the command: "openstack loadbalancer create --project service --name lb1 --vip-subnet-id selfservice"

Would allocate the VIP address and ports from the "selfservice" subnet in neutron for the project "service". Since you did not ask for a specific IP address when creating the VIP, neutron allocates an IP address for us and provides it either on the port configuration or via DHCP.

If you got an IP address that is not on the neutron subnet "selfservice", please check your neutron configuration and logs to see why it issued Octavia such an address for the VIP port.

Also note, the VIP port should be visible in a port list to the project "service" you specified at load balancer creation time.


edit flag offensive delete link more

answered 2018-10-03 06:15:02 -0600

esxzawq gravatar image

updated 2018-10-03 06:19:09 -0600

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

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

the output shows that it comes from the noop_driver

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/ ip_address = ''

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/ vrrp_ip='',

/usr/lib/python2.7/site-packages/octavia/network/drivers/noop_driver/ ha_ip='',

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 '' driver found, looking for 'neutron' " appears

how can I made openstack to use neutron driver for octavia

edit flag offensive delete link more


Oh. The no-op drivers are there for testing. They take no action against the other services. It might help to reference one of our gate test configuration files:

johnsom gravatar imagejohnsom ( 2018-10-04 17:20:13 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-09-26 09:17:08 -0600

Seen: 228 times

Last updated: Oct 03 '18