Missing region setting for ironic-neutron-agent

Bug #1853464 reported by Zhuo Zhen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Zhuo Zhen
Rocky
Fix Released
Medium
Mark Goddard
Stein
Fix Released
Medium
Mark Goddard
Train
Fix Released
Medium
Mark Goddard
Ussuri
Fix Released
Medium
Zhuo Zhen

Bug Description

**Bug Report**

The "os_region" param is missing in the ironic_neutron_agent.ini.j2 file. Without specifying the region, the neutron service will randomly pick a region for the ironic-neutron-agent. Therefore, a list of incorrect agents might be created in the neutron database "agents" table for nodes from other regions. To list all neutron agents, use 'openstack network agent list'.

**Environment**

OS: centos7
Kernel: 3.10.0-862.11.6.el7.x86_64
Docker version: 18.09.2
Kolla-Ansible version: rocky

Changed in kolla-ansible:
assignee: nobody → Zhuo Zhen (zhenz)
status: New → In Progress
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/695093
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=7f457cd928e60a1f81f1064c45acf957e8a4c48f
Submitter: Zuul
Branch: master

commit 7f457cd928e60a1f81f1064c45acf957e8a4c48f
Author: Zhuo Zhen <email address hidden>
Date: Tue Nov 19 15:52:26 2019 -0600

    Allow region setting for ironic-neutron-agent

    The "os_region" param is missing in the ironic_neutron_agent.ini.j2
    file. Without specifying the region, the neutron service will randomly
    pick a region for the ironic-neutron-agent. Therefore, a list of
    incorrect agents might be created in the neutron database "agents"
    table for nodes from other regions. To list all neutron agents, use
    'openstack network agent list'.

    Change-Id: Idec265230d0ab63b7559d94690c059608dc2617e
    Closes-bug: #1853464

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/695682

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/695683

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/695684

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/stein)

Reviewed: https://review.opendev.org/695683
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=8a291125d68b7755878c5b4d8131eadce20102b2
Submitter: Zuul
Branch: stable/stein

commit 8a291125d68b7755878c5b4d8131eadce20102b2
Author: Zhuo Zhen <email address hidden>
Date: Tue Nov 19 15:52:26 2019 -0600

    Allow region setting for ironic-neutron-agent

    The "os_region" param is missing in the ironic_neutron_agent.ini.j2
    file. Without specifying the region, the neutron service will randomly
    pick a region for the ironic-neutron-agent. Therefore, a list of
    incorrect agents might be created in the neutron database "agents"
    table for nodes from other regions. To list all neutron agents, use
    'openstack network agent list'.

    Change-Id: Idec265230d0ab63b7559d94690c059608dc2617e
    Closes-bug: #1853464
    (cherry picked from commit 7f457cd928e60a1f81f1064c45acf957e8a4c48f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/rocky)

Reviewed: https://review.opendev.org/695684
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=25639188205bdc97d5fa4d0e4aeb30d9dd44436b
Submitter: Zuul
Branch: stable/rocky

commit 25639188205bdc97d5fa4d0e4aeb30d9dd44436b
Author: Zhuo Zhen <email address hidden>
Date: Tue Nov 19 15:52:26 2019 -0600

    Allow region setting for ironic-neutron-agent

    The "os_region" param is missing in the ironic_neutron_agent.ini.j2
    file. Without specifying the region, the neutron service will randomly
    pick a region for the ironic-neutron-agent. Therefore, a list of
    incorrect agents might be created in the neutron database "agents"
    table for nodes from other regions. To list all neutron agents, use
    'openstack network agent list'.

    Change-Id: Idec265230d0ab63b7559d94690c059608dc2617e
    Closes-bug: #1853464
    (cherry picked from commit 7f457cd928e60a1f81f1064c45acf957e8a4c48f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/695682
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=18ac41b1e2c98599ffd70db3a90c6142fcd0ffa4
Submitter: Zuul
Branch: stable/train

commit 18ac41b1e2c98599ffd70db3a90c6142fcd0ffa4
Author: Zhuo Zhen <email address hidden>
Date: Tue Nov 19 15:52:26 2019 -0600

    Allow region setting for ironic-neutron-agent

    The "os_region" param is missing in the ironic_neutron_agent.ini.j2
    file. Without specifying the region, the neutron service will randomly
    pick a region for the ironic-neutron-agent. Therefore, a list of
    incorrect agents might be created in the neutron database "agents"
    table for nodes from other regions. To list all neutron agents, use
    'openstack network agent list'.

    Change-Id: Idec265230d0ab63b7559d94690c059608dc2617e
    Closes-bug: #1853464
    (cherry picked from commit 7f457cd928e60a1f81f1064c45acf957e8a4c48f)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 9.0.0.0rc2

This issue was fixed in the openstack/kolla-ansible 9.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 7.2.0

This issue was fixed in the openstack/kolla-ansible 7.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 8.1.0

This issue was fixed in the openstack/kolla-ansible 8.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.