Comment 1 for bug 2004593

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

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/872556
Committed: https://opendev.org/starlingx/stx-puppet/commit/09e3887518d2a4a01e5df680d6dbad42f7d67142
Submitter: "Zuul (22348)"
Branch: master

commit 09e3887518d2a4a01e5df680d6dbad42f7d67142
Author: Romão Martines <email address hidden>
Date: Tue Mar 7 13:32:46 2023 -0500

    Resolving "unknown variable ensure".

    When Hypertreading is disabled, system host-cpu-modify fails since
    ensure definition is not set. At reboot phase, on Grub Audit, due
    the lack of ensure definition, it will get a Mismatched CPUs error.

    Adding ensure definition made the Grub Audit phase pass with no
    errors and the host-cpu-modify work properly.

    TEST PLAN:
    PASS: Change the number of Platform Cores to 4.
    PASS: Change the number of Platform Cores to 1.
            (get succssesfully two core minimum message).
    PASS: Check puppet logs: No error on Grub Audit.
    PASS: Check puppet logs: No error about ensure.
    PASS: Extra reboot: Not happening.
    PASS: Disable nohz successfully.

    Bug: 2004593

    Signed-off-by: Romão Martines <email address hidden>
    Change-Id: I62d55d796621e3ec4f382bcfd44d308184aa2e5a