Comment 4 for bug 2031941

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

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/897563
Committed: https://opendev.org/starlingx/distcloud/commit/37d93277d51e56b6dc079851383c92a446deb664
Submitter: "Zuul (22348)"
Branch: master

commit 37d93277d51e56b6dc079851383c92a446deb664
Author: Lindley Werner <email address hidden>
Date: Fri Oct 6 11:39:18 2023 -0300

    Load-import failed due to lack of space in /scratch

    During a load-import operation, the iso file is copied to /scratch,
    a temporary folder (https://docs.starlingx.io/planning/kubernetes/storage-planning-storage-on-worker-hosts.html#root-filesystem-storage).
    Before the operation, it is checked if this folder has a free space of
    at least 3 times the ISO file, if not the load-import is aborted.

    This change enhances the message displayed to the user in order to
    give him some context and two solutions:
      - Delete some unused files from /scratch
      - Increase /scratch size

    Test Plan:
      PASS: After adding more free space to /scratch, the load-import
    operation must pass without error

    Related to: https://review.opendev.org/c/starlingx/config/+/899865
    Partial-bug: 2031941

    Change-Id: Iff99e8793ab6fa5c812648bba4d93e8eab22a6b5
    Signed-off-by: Lindley Werner <email address hidden>