Operating system distribution and version: CentOS 7.6.1810
Kolla-Ansible package version: 8.0.0.0rc1
install_type (source/binary) and distribution from /etc/kolla/globals.yml: stein source
Are you using official images from Docker Hub or self built? Official
nova.conf currently uses the deprecated url= [neutron] option:
This works fine if you only have a single region but in a multiple region environment it can cause Nova to use the wrong region. In particular I discovered this while live migrating and it failed to find the port on the destination server.
The fix I confirmed that works is to simply add an override to specify the region name:
Before fix:
(openstack) server migrate --live node1 --wait e9002be1-d531-40e2-8583-fb276983996a
Migration pre-check error: Binding failed for port 6d477b7f-310f-4a6c-8a6a-12eb6d53fa1d, please check neutron logs for more information. (HTTP 400) (Request-ID: req-7d29c01f-fbf4-406d-aede-f3f45fd6e62c)
After fix:
(openstack) server migrate --live node2 --wait e9002be1-d531-40e2-8583-fb276983996a
Complete
Ideally the [neutron] section would be updated to specify all the the endpoint lookup options to match other Kolla service configurations.
Operating system distribution and version: CentOS 7.6.1810 globals. yml: stein source
Kolla-Ansible package version: 8.0.0.0rc1
install_type (source/binary) and distribution from /etc/kolla/
Are you using official images from Docker Hub or self built? Official
nova.conf currently uses the deprecated url= [neutron] option:
https:/ /opendev. org/openstack/ kolla-ansible/ src/branch/ stable/ stein/ansible/ roles/nova/ templates/ nova.conf. j2#L142
It looks like it was deprecated in Queens in favor of endpoint lookup in the catalog: /docs.openstack .org/nova/ stein/configura tion/config. html
https:/
This works fine if you only have a single region but in a multiple region environment it can cause Nova to use the wrong region. In particular I discovered this while live migrating and it failed to find the port on the destination server.
The fix I confirmed that works is to simply add an override to specify the region name:
/etc/kolla/ config/ nova.conf:
[neutron]
region_name = {{region_name}}
Before fix: d531-40e2- 8583-fb27698399 6a 310f-4a6c- 8a6a-12eb6d53fa 1d, please check neutron logs for more information. (HTTP 400) (Request-ID: req-7d29c01f- fbf4-406d- aede-f3f45fd6e6 2c)
(openstack) server migrate --live node1 --wait e9002be1-
Migration pre-check error: Binding failed for port 6d477b7f-
After fix: d531-40e2- 8583-fb27698399 6a
(openstack) server migrate --live node2 --wait e9002be1-
Complete
Ideally the [neutron] section would be updated to specify all the the endpoint lookup options to match other Kolla service configurations.