-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
41552: cmd/roachprod: ensure wipe really wipes r=tbg a=petermattis Previously, `roachprod wipe` was being run by the default user (now `ubuntu`) which meant it couldn't remove files created by root. It was also accidentally swallowing errors. Now `roachprod wipe` runs as root when wiping remote nodes, ensuring it really cleans up any files. The failure to remove root owned files was causing the `disk-stall` tests to be flaky because files created through `charybdefs` are created as root. These root owned files could be removed, but cockroach also creates a root owned directory and the files in that root owned directory could not be removed. If two of the `disk-stall` tests ran on the same cluster, the first could end up leaving around files that the second encountered and complained about. Fixes #41530 Release note: None Co-authored-by: Peter Mattis <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters