2019-07-17 19:51:16 |
Joseph M |
bug |
|
|
added bug |
2019-07-17 19:57:01 |
Joseph M |
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/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:
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:
https://docs.openstack.org/nova/stein/configuration/config.html
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:
(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
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:
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:
https://docs.openstack.org/nova/stein/configuration/config.html#neutron.url
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:
(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. |
|
2019-08-30 17:38:07 |
OpenStack Infra |
kolla-ansible: status |
New |
In Progress |
|
2019-08-30 17:38:07 |
OpenStack Infra |
kolla-ansible: assignee |
|
Joseph M (noxoid) |
|
2019-09-04 09:18:43 |
OpenStack Infra |
kolla-ansible: status |
In Progress |
Fix Released |
|
2019-09-07 19:48:46 |
OpenStack Infra |
tags |
|
in-stable-stein |
|
2019-09-07 19:48:56 |
OpenStack Infra |
tags |
in-stable-stein |
in-stable-rocky in-stable-stein |
|
2019-09-07 19:49:05 |
OpenStack Infra |
tags |
in-stable-rocky in-stable-stein |
in-stable-queens in-stable-rocky in-stable-stein |
|
2019-10-21 08:49:59 |
Mark Goddard |
nominated for series |
|
kolla-ansible/train |
|
2019-10-21 08:49:59 |
Mark Goddard |
bug task added |
|
kolla-ansible/train |
|
2019-10-21 08:50:14 |
Mark Goddard |
nominated for series |
|
kolla-ansible/stein |
|
2019-10-21 08:50:14 |
Mark Goddard |
bug task added |
|
kolla-ansible/stein |
|
2019-10-21 08:50:14 |
Mark Goddard |
nominated for series |
|
kolla-ansible/queens |
|
2019-10-21 08:50:14 |
Mark Goddard |
bug task added |
|
kolla-ansible/queens |
|
2019-10-21 08:50:14 |
Mark Goddard |
nominated for series |
|
kolla-ansible/rocky |
|
2019-10-21 08:50:14 |
Mark Goddard |
bug task added |
|
kolla-ansible/rocky |
|
2019-10-21 08:50:20 |
Mark Goddard |
kolla-ansible/train: importance |
Undecided |
Medium |
|
2019-10-21 08:50:24 |
Mark Goddard |
kolla-ansible/rocky: importance |
Undecided |
Medium |
|
2019-10-21 08:50:26 |
Mark Goddard |
kolla-ansible/stein: importance |
Undecided |
Medium |
|
2019-10-21 08:50:28 |
Mark Goddard |
kolla-ansible/queens: importance |
Undecided |
Medium |
|
2019-10-21 08:50:31 |
Mark Goddard |
kolla-ansible/train: milestone |
|
9.0.0 |
|
2019-10-21 08:50:33 |
Mark Goddard |
kolla-ansible/stein: milestone |
|
8.0.2 |
|
2019-10-21 08:50:35 |
Mark Goddard |
kolla-ansible/rocky: milestone |
|
6.2.3 |
|
2019-10-21 08:50:38 |
Mark Goddard |
kolla-ansible/queens: milestone |
|
6.2.3 |
|
2019-10-21 08:50:52 |
Mark Goddard |
kolla-ansible/rocky: milestone |
6.2.3 |
7.1.3 |
|
2019-10-21 08:50:56 |
Mark Goddard |
kolla-ansible/stein: status |
New |
Fix Committed |
|
2019-10-21 08:50:59 |
Mark Goddard |
kolla-ansible/rocky: status |
New |
Fix Committed |
|
2019-10-21 08:51:01 |
Mark Goddard |
kolla-ansible/queens: status |
New |
Fix Committed |
|