Network Cleanup process is not removing unused config

Bug #2055183 reported by Lucas Ratusznei Fonseca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Lucas Ratusznei Fonseca

Bug Description

Brief Description
-----------------
Network interface config files in /etc/network/interfaces.d/ remain after bootstrap. Config files that are created prior to the bootstrap should not remain in the directory, they are a potential source of issues.
Related DHCP issues have already been reported in https://bugs.launchpad.net/starlingx/+bug/2045656 and already been solved by removing the auto keyword from the files. But it's best to clean up the directory to avoid any potential problems.

Severity
--------
Standard

Steps to Reproduce
------------------
Run bootstrap

Expected Behavior
------------------
/etc/network/interfaces.d/ has no interface config files

Actual Behavior
----------------
/etc/network/interfaces.d/ has interface config files

Reproducibility
---------------
100% reproducible

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/910410
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/9e787ff6991874455f548c61c6bc33782348a2f0
Submitter: "Zuul (22348)"
Branch: master

commit 9e787ff6991874455f548c61c6bc33782348a2f0
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Tue Feb 27 15:55:36 2024 -0300

    Add task to clean up unused network interface config files

    This commit adds a task to clean up interface config files from
    /etc/network/interfaces.d/, to eliminate any potential problems that
    could arise from having them during the unlock.
    It replaces the commit generated from
    https://review.opendev.org/c/starlingx/ansible-playbooks/+/902637.

    Test plan

    [PASS] Add interface config files to /etc/network/interfaces.d/, run
           playbook, check that directory is clean

    Closes-Bug: #2055183
    Change-Id: I0391ce65e54bfeea21649d879af0187e46d0b378
    Signed-off-by: Lucas Ratusznei Fonseca <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.networking
Changed in starlingx:
assignee: nobody → Lucas Ratusznei Fonseca (lratuszn)
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.