Neutron DHCP L3 metadata agents restarted on ml2 config change

Bug #1677163 reported by Bertrand Lallau
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Bertrand Lallau
Ocata
Fix Released
Undecided
Unassigned

Bug Description

On ml2_conf.ini config file modification all Neutron agents are actually restarted.
This behaviour is incorrect cause Neutron agents (DHCP, L3,..) should not be ML2 (network layer 2) dependant.

Steps to reproduce bug:
1. change ml2_conf.ini config file
2. launch reconfigure (kolla-ansible reconfigure)
=> all Neutron agents are restarted

Only Neutron plugin Openvswitch agent should be restarted.

Changed in kolla-ansible:
assignee: nobody → shaofeng cheng (shaofeng-cheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/452403

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :
Changed in kolla-ansible:
assignee: shaofeng cheng (shaofeng-cheng) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by shaofeng cheng (<email address hidden>) on branch: master
Review: https://review.openstack.org/452403

Changed in kolla-ansible:
assignee: nobody → Bertrand Lallau (bertrand-lallau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/447992
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=5fe11a8fcb302dfd3d52819136a8644921ee1ddc
Submitter: Jenkins
Branch: master

commit 5fe11a8fcb302dfd3d52819136a8644921ee1ddc
Author: Bertrand Lallau <email address hidden>
Date: Tue Mar 21 11:00:11 2017 +0100

    Fix neutron agents restarted on ml2 config change

    The following Neutron agents:
    - neutron-metadata
    - neutron-dhcp-agent
    - neutron-l3-agent
    - neutron-lbaasv2-agent
    - neutron-vpn-agent
    doesn't require ml2_conf.ini file.
    ml2_conf.ini file is used to managed L2 network configuration.
    This config doesn't have to be in DHCP, L3, metadata agents...

    We should remove it to avoid restarting these agents in case of
    ml2_conf.ini file modification.
    Only neutron-server, neutron-openvswitch-agent,
    neutron-linuxbridge-agent must be restarted.

    Closes-Bug: #1677163
    Change-Id: I0876b8a3845d1c2bccd996426a65df1a3a6f7085

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

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

Reviewed: https://review.openstack.org/477218
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=e82c5090c6114297cd8ea722b157e17ad335f365
Submitter: Jenkins
Branch: stable/ocata

commit e82c5090c6114297cd8ea722b157e17ad335f365
Author: Bertrand Lallau <email address hidden>
Date: Tue Mar 21 11:00:11 2017 +0100

    Fix neutron agents restarted on ml2 config change

    The following Neutron agents:
    - neutron-metadata
    - neutron-dhcp-agent
    - neutron-l3-agent
    - neutron-lbaasv2-agent
    - neutron-vpn-agent
    doesn't require ml2_conf.ini file.
    ml2_conf.ini file is used to managed L2 network configuration.
    This config doesn't have to be in DHCP, L3, metadata agents...

    We should remove it to avoid restarting these agents in case of
    ml2_conf.ini file modification.
    Only neutron-server, neutron-openvswitch-agent,
    neutron-linuxbridge-agent must be restarted.

    Closes-Bug: #1677163
    Change-Id: I0876b8a3845d1c2bccd996426a65df1a3a6f7085
    (cherry picked from commit 5fe11a8fcb302dfd3d52819136a8644921ee1ddc)

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

This issue was fixed in the openstack/kolla-ansible 4.0.3 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.