cockroachdb / cockroachdb/cockroach

roachprod: implement --dry-run and --verbose

Open
#99,091 1 comment 0 reactions 0 assignees View on GitHub
A-roachprod A-testeng-infra A-testing C-enhancement T-testeng
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Currently, roachprod debugging consists of either trying to match the output to the code, or executing (cloud) commands to observe their effects. There is also some bootstrapping "magic" (e.g., ssh setup) which happens without much of a trace in the logged output. Consequently, even an experienced roachprod user may end up spending considerable time to diagnose an infra. issue.

Both the `--dry-run`, and the `--verbose` mode should make it easier to troubleshoot roachprod issues. By logging the commands, the "magic" usually becomes self-explanatory. Furthermore, `--dry-run` would considerably speed up debugging without having to apply actual infra. changes.

Jira issue: CRDB-25697

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.