Comment 2 for bug 2020205

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

Reviewed: https://review.opendev.org/c/starlingx/openstack-armada-app/+/883679
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/abea418af5ec4592afec4b272715dbcbc0f66cb6
Submitter: "Zuul (22348)"
Branch: master

commit abea418af5ec4592afec4b272715dbcbc0f66cb6
Author: Lucas de Ataides <email address hidden>
Date: Fri May 19 12:11:10 2023 -0300

    Add runAsUser for neutron_netns_cleanup_cron pod

    The current user for the neutron_netns_cleanup_cron pod does not have
    permissions to execute necessary commands, and is causing several error
    logs. This is also true for other neutron pods as well, but by the time
    that [1] was included in the starlingx/openstack-armada-app, this
    neutron_netns_cleanup_cron pod didn't exist yet [2], and was not
    included in the change.

    This change adds the runAsUser as root (0) to the
    neutron_netns_cleanup_cron pod, so it runs without errors.

    [1] https://opendev.org/starlingx/openstack-armada-app/commit/982deda6e7732a070c824b26c3817206db8605d0
    [2] https://opendev.org/starlingx/openstack-armada-app/src/commit/982deda6e7732a070c824b26c3817206db8605d0/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml#L1273

    Test plan:
    PASS - Build openstack-helm package
    PASS - Build stx-openstack-helm-fluxcd package
    PASS - Build stx-openstack helm charts
    PASS - Update/apply stx-openstack
    PASS - kubectl logs in the neutron-netns-cleanup pod and verify
           that no privsep errors are present
    PASS - Remove/delete stx-openstack

    Closes-Bug: 2020205

    Change-Id: Ibd93dacea87d1294b3e2704be2e0f452a5cfc275
    Signed-off-by: Lucas de Ataides <email address hidden>