From 7b20a524fd5b1075ddca04d4a16ef56d7eb4c0fd Mon Sep 17 00:00:00 2001 From: "anthony.wen" Date: Tue, 12 May 2026 15:21:21 -0400 Subject: [PATCH] docs(test): add Red Hat manual subscription preflight to CMC upgrade test --- tests/cmc-upgrade-test.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/cmc-upgrade-test.md b/tests/cmc-upgrade-test.md index 61204c5..b101728 100644 --- a/tests/cmc-upgrade-test.md +++ b/tests/cmc-upgrade-test.md @@ -25,6 +25,16 @@ Validate CMC behavior across staged kernel upgrades on a cloned VM, including re - Exception: offline-host cleanup is not handled by that skill yet; use the MCP connection for offline-host removal. - Apply this rule to every relevant step in this procedure. +## Red Hat Preflight (Global, Manual Tasks Only) +- Apply this section when the test target is a Red Hat machine and the run is manually executed. +- Do not apply this section to ATVM automation runs that already handle subscription flow. +- Before running test steps on Red Hat, run: + - `subscription-manager remove --all` + - `subscription-manager unregister` + - `subscription-manager clean` + - `subscription-manager register --username "$REDHAT_SUBSCRIPTION_USER" --password "$REDHAT_SUBSCRIPTION_PASSWORD"` +- Source credentials from `/home/aw/code/cds/.env.credentials.local`. + ## Execution Mode (Global) - Run this test in continuous execution mode. - Do not pause for additional operator prompts between steps.