nmconnection files generated by cloud-init conflict with Kayobe network configuration

Bug #2039975 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kayobe
Fix Released
Undecided
Pierre Riteau
Antelope
Fix Released
Undecided
Pierre Riteau
Bobcat
Fix Released
Undecided
Pierre Riteau
Yoga
Fix Released
Undecided
Pierre Riteau
Zed
Fix Released
Undecided
Pierre Riteau

Bug Description

When using the cloud-init network-manager renderer, an nmconnection file may have been created under /etc/NetworkManager/system-connections with the name cloud-init-{interface}.nmconnection. If Kayobe is managing the same interface, it creates another file named {interface}.nmconnection.

When both files are present, the one generated by cloud-init can take priority over the Kayobe one.

Changed in kayobe:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kayobe/+/898949

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kayobe (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/kayobe/+/898950

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/kayobe/+/898915

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kayobe/+/898916

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (master)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/898915
Committed: https://opendev.org/openstack/kayobe/commit/d4502e6ea268bebce926dcf9320b740272e83dfa
Submitter: "Zuul (22348)"
Branch: master

commit d4502e6ea268bebce926dcf9320b740272e83dfa
Author: Pierre Riteau <email address hidden>
Date: Fri Oct 20 14:40:59 2023 +0200

    Bump MichaelRigart.interfaces to v1.14.4

    This release includes the following fixes:

    * Remove nmconnection files generated by cloud-init
    * Remove ens3 also from NetworkManager config

    Closes-Bug: #2039975
    Change-Id: Id3e7913f4ba9d05cec332dab560fc42d44dd4130

Changed in kayobe:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/898916
Committed: https://opendev.org/openstack/kayobe/commit/b0832bf1ffe4a13a90b62a87a82d918c532f336a
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit b0832bf1ffe4a13a90b62a87a82d918c532f336a
Author: Pierre Riteau <email address hidden>
Date: Fri Oct 20 14:40:59 2023 +0200

    Bump MichaelRigart.interfaces to v1.14.4

    This release includes the following fixes:

    * Remove nmconnection files generated by cloud-init
    * Remove ens3 also from NetworkManager config

    Closes-Bug: #2039975
    Change-Id: Id3e7913f4ba9d05cec332dab560fc42d44dd4130
    (cherry picked from commit d4502e6ea268bebce926dcf9320b740272e83dfa)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/898949
Committed: https://opendev.org/openstack/kayobe/commit/94e79f9ffca8ad530da6b32005665d3db90fe41b
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 94e79f9ffca8ad530da6b32005665d3db90fe41b
Author: Pierre Riteau <email address hidden>
Date: Fri Oct 20 14:40:59 2023 +0200

    Bump MichaelRigart.interfaces to v1.14.4

    This release includes the following fixes:

    * Remove nmconnection files generated by cloud-init
    * Remove ens3 also from NetworkManager config

    Closes-Bug: #2039975
    Change-Id: Id3e7913f4ba9d05cec332dab560fc42d44dd4130
    (cherry picked from commit d4502e6ea268bebce926dcf9320b740272e83dfa)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kayobe (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/kayobe/+/898950
Committed: https://opendev.org/openstack/kayobe/commit/bacab88aaadf5e695a7bb69bca1b8c997e28555b
Submitter: "Zuul (22348)"
Branch: stable/zed

commit bacab88aaadf5e695a7bb69bca1b8c997e28555b
Author: Pierre Riteau <email address hidden>
Date: Fri Oct 20 14:40:59 2023 +0200

    Bump MichaelRigart.interfaces to v1.14.4

    This release includes the following fixes:

    * Remove nmconnection files generated by cloud-init
    * Remove ens3 also from NetworkManager config

    Closes-Bug: #2039975
    Change-Id: Id3e7913f4ba9d05cec332dab560fc42d44dd4130
    (cherry picked from commit d4502e6ea268bebce926dcf9320b740272e83dfa)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 14.2.0

This issue was fixed in the openstack/kayobe 14.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 12.9.0

This issue was fixed in the openstack/kayobe 12.9.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 13.3.0

This issue was fixed in the openstack/kayobe 13.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kayobe 15.0.0.0rc1

This issue was fixed in the openstack/kayobe 15.0.0.0rc1 release candidate.

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.