Comment 2 for bug 1995505

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

Reviewed: https://review.opendev.org/c/starlingx/metal/+/863322
Committed: https://opendev.org/starlingx/metal/commit/1d82d29073f9f10ab418dea1a6e6b81de796fa36
Submitter: "Zuul (22348)"
Branch: master

commit 1d82d29073f9f10ab418dea1a6e6b81de796fa36
Author: Andre Kantek <email address hidden>
Date: Wed Nov 2 12:21:48 2022 -0300

    Debian: clean machine-id generated during installation

    The Debian installations are generating the same machine-id if using
    the same BUILD_ID. This ID is used to generate the value of random
    MACs for SRIOV's VF interfaces, since it is the same across the same
    BUILD_ID the network cards are generating the exact same MAC if the
    NIC is on the same pci-slot across multiple nodes

    This change removes the existing files so each installation's systemd
    can generate an exclusive value

    Test Plan (Debian)
    [PASS] install multiple nodes and verify that each one contains an
            exclusive /etc/machine-id content
    [PASS] reboot node to validate that machine-id does not change on
            subsequent boots

    Closes-Bug: 1995505

    Signed-off-by: Andre Kantek <email address hidden>
    Change-Id: I702d1cc0353d0d19149fdd1ac1ec4bd16e674119