Comment 1 for bug 2007161

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

Reviewed: https://review.opendev.org/c/starlingx/tools/+/873617
Committed: https://opendev.org/starlingx/tools/commit/0d599fc6080c24bd972e9111379d7109734aae0a
Submitter: "Zuul (22348)"
Branch: master

commit 0d599fc6080c24bd972e9111379d7109734aae0a
Author: Davlet Panech <email address hidden>
Date: Mon Feb 13 11:45:10 2023 -0500

    Set ownership of /localdisk/... to $BUILD_USER

    This patch fixes a problem introduced by [1]: the helm chart creates
    /localdisk/{designer,loadbuild} implicitly with owner=root. This makes
    the directories non-writeable by the builder user, and the creation
    of $MY_WORKSPACE and $MY_REPO_ROOT_DIR fails.

    [1] https://review.opendev.org/c/starlingx/tools/+/873010

    TESTS
    =====
    * Create a new environment; make sure $BUILD_HOME/localdisk doesn't
      exist
    * Start the environment
    * Make sure /localdisk/{designer,loadbuild} exist and are owned by
      $BUILD_USER in the builder container

    Closes-Bug: 2007161
    Signed-off-by: Davlet Panech <email address hidden>
    Change-Id: Idf8c7166d0d4bc2f9012b7114b83e24042e2369d