Comment 6 for bug 2017696

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/+/881917
Committed: https://opendev.org/starlingx/stx-puppet/commit/b9ff315ff7425a166d488b4f167e8cb94b5e1fbe
Submitter: "Zuul (22348)"
Branch: master

commit b9ff315ff7425a166d488b4f167e8cb94b5e1fbe
Author: Chris Friesen <email address hidden>
Date: Mon May 1 10:25:12 2023 -0600

    remove reference to deleted exec resource

    In commit 77e0c7c1 we removed an exec resource that called out to an
    obsolete script. However, we neglected to remove a "require"
    metaparameter which referenced the removed script. It's unclear how
    this was missed since the previous change was tested in VirtualBox.

    This causes a puppet error when trying to upgrade K8s:

    Could not find resource 'Exec[update kubeadm-config]' in parameter
    'require' (file:
    /usr/share/puppet/modules/platform/manifests/kubernetes.pp, line: 813)

    The fix is to remove the metaparameter.

    TEST PLAN:
    PASS: While running the dev branch on AIO-DX, upgrade K8s from 1.21
          to 1.22.
          (note, a workaround was required to deal with
           https://bugs.launchpad.net/starlingx/+bug/2018247)

    Partial-Bug: 2017696
    Change-Id: I66c0e88f0f0a3acc3326391263123e60667561cc
    Signed-off-by: Chris Friesen <email address hidden>