Comment 4 for bug 1998629

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

Reviewed: https://review.opendev.org/c/starlingx/integ/+/866498
Committed: https://opendev.org/starlingx/integ/commit/b4af71310946f0096b2dc2eed0671c532a9c8f75
Submitter: "Zuul (22348)"
Branch: master

commit b4af71310946f0096b2dc2eed0671c532a9c8f75
Author: Ramesh Kumar Sivanandam <email address hidden>
Date: Fri Dec 2 13:25:15 2022 -0500

    Remove KUBE_ALLOW_PRIV from kubelet.service

    KUBE_ALLOW_PRIV results in trying to run kubelet with the
    "--allow-privileged=true" flag, which has not been supported by
    kubelet since K8s 1.15 that in turn causes the kubelet to error out.

    Default kubelet.service contains KUBE_ALLOW_PRIV invalid setting due
    to the fact that the upstream kubernetes-contrib package hasn't been
    updated in years.

    This change removes KUBE_ALLOW_PRIV from kubelet.service in the
    kubernetes-unversioned package.

    Closes-Bug: 1998629

    Test-plan:
    PASS - Install AIO-SX and ensure that
           /lib/systemd/system/kubelet.service doesn't contain
           "$KUBE_ALLOW_PRIV"

    Signed-off-by: Ramesh Kumar Sivanandam <email address hidden>
    Change-Id: Ide0f9c8db180908cc9c6528f474214966655be95