I am trying to deploy Octavia on Openstack Ussuri using openstack-ansible on Ubuntu 20.04.
I followed the documentation and set a flat provider network for the communication between amphora and the control plan.
I can see the amphora instances been create, but I keep having this error on octavia:
Oct 03 17:20:34 controller-r316n01-octavia-server-container-21012611 octavia-housekeeping[73]: 2020-10-03 17:20:34.715 73 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying.: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='172.29.232.146', port=9443): Max retries exceeded with url: // (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9012e80940>: Failed to establish a new connection: [Errno 113] No route to host'))
Oct 03 17:20:42 controller-r316n01-octavia-server-container-21012611 octavia-housekeeping[73]: 2020-10-03 17:20:42.780 73 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying.: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='172.29.232.146', port=9443): Max retries exceeded with url: // (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9012e80310>: Failed to establish a new connection: [Errno 113] No route to host'))
So I took a look on the instance and saw that it did not get an IP.
[ 303.862574] cloud-init[426]: Cloud-init v. 20.3-2-g371b392c-0ubuntu1~18.04.1 running 'init' at Sat, 03 Oct 2020 17:09:35 +0000. Up 303.78 seconds.
[ 303.863638] cloud-init[426]: ci-info: ++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++
[ 303.864525] cloud-init[426]: ci-info: +--------+------+------------------------------+-----------+-------+-------------------+
[ 303.865366] cloud-init[426]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 303.867859] cloud-init[426]: ci-info: +--------+------+------------------------------+-----------+-------+-------------------+
[ 303.869086] cloud-init[426]: ci-info: | ens3 | True | fe80::f816:3eff:fedb:b398/64 | . | link | fa:16:3e:db:b3:98 |
[ 303.870261] cloud-init[426]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 303.871316] cloud-init[426]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 303.873887] cloud-init[426]: ci-info: +--------+------+------------------------------+-----------+-------+-------------------+
I do not know where to look at, but it seems that the DHCP is not working on my flat provider network. Do someone have some idea where I can look at, or why my setup is not working?
Thanks for any help.