Nova uses deprecated service URL for Neutron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Joseph M | ||
Queens |
Fix Committed
|
Medium
|
Unassigned | ||
Rocky |
Fix Committed
|
Medium
|
Unassigned | ||
Stein |
Fix Committed
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Joseph M |
Bug Description
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/
Are you using official images from Docker Hub or self built? Official
nova.conf currently uses the deprecated url= [neutron] option:
It looks like it was deprecated in Queens in favor of endpoint lookup in the catalog:
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/
[neutron]
region_name = {{region_name}}
Before fix:
(openstack) server migrate --live node1 --wait e9002be1-
Migration pre-check error: Binding failed for port 6d477b7f-
After fix:
(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.
Fix proposed to branch: master /review. opendev. org/679488
Review: https:/