The stx-puppet tries to wipe the start and end of some logical
volumes to prevent problems, but the command uses the wrong output
file resulting in the creation of junk files. The command for scratch
does not work since it's already mounted before the bootstrap. For this
reason it was decided to unmount the filesystem before wiping the
device's data.
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/849031 /opendev. org/starlingx/ stx-puppet/ commit/ 527bb3700f3a400 b41628c168cd184 eedc04afbc
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 527bb3700f3a400 b41628c168cd184 eedc04afbc
Author: Hugo Brito <email address hidden>
Date: Thu Jul 7 15:14:57 2022 -0300
Fix stale data cleanup on the logical volumes
The stx-puppet tries to wipe the start and end of some logical
volumes to prevent problems, but the command uses the wrong output
file resulting in the creation of junk files. The command for scratch
does not work since it's already mounted before the bootstrap. For this
reason it was decided to unmount the filesystem before wiping the
device's data.
Depends-On: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/849047
Test Plan:
PASS: Perform bootstrap and restore-platform playbooks on centOS
PASS: Perform bootstrap and restore-platform playbooks on Debian
Closes-bug: 1975851
Signed-off-by: Hugo Brito <email address hidden> dd49ca2f4941bc0 6d25517b474
Change-Id: I3d0aa664a1bd72