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
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/897563 /opendev. org/starlingx/ distcloud/ commit/ 37d93277d51e56b 6dc079851383c92 a446deb664
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 37d93277d51e56b 6dc079851383c92 a446deb664
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, /docs.starlingx .io/planning/ kubernetes/ storage- planning- storage- on-worker- hosts.html# root-filesystem -storage).
a temporary folder (https:/
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: Iff99e8793ab6fa 5c812648bba4d93 e8eab22a6b5
Signed-off-by: Lindley Werner <email address hidden>