From 41a493ce00b0cb880a9af67d27b52feddc20872d Mon Sep 17 00:00:00 2001 From: Cirrus Codex Date: Fri, 15 May 2026 16:05:48 -0400 Subject: [PATCH] Require vCenter poweredOff confirmation before clone --- tests/cmc-upgrade-kernel-test.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cmc-upgrade-kernel-test.md b/tests/cmc-upgrade-kernel-test.md index 0186d57..6c1bfdc 100644 --- a/tests/cmc-upgrade-kernel-test.md +++ b/tests/cmc-upgrade-kernel-test.md @@ -69,7 +69,7 @@ Validate CMC behavior across staged kernel upgrades on a cloned VM, including re - If the clone is missing or identity is uncertain, stop and do not delete any other VM. - If any blocker occurs after clone creation, stop the test and leave the cloned VM powered on for manual inspection. - Do not delete or power off the clone on blocker-fail outcomes. -- After source-host kernel inspection is complete, power the source VM off and re-verify in vCenter that it is powered off before cloning. +- After source-host kernel inspection is complete, issue the power-off request, then wait for vCenter to report the source VM as `poweredOff` before cloning. - Detaching the 2 FC PCI passthrough adapters from the cloned VM is mandatory before any guest boot or guest-side change. - Verify in vCenter that both FC passthrough devices are absent before proceeding past the clone-prep stage. - Use `CDS1-ESX165` / `192.168.1.165` as the default ESXi host for the clone unless the operator explicitly specifies a different placement host. @@ -95,8 +95,8 @@ Validate CMC behavior across staged kernel upgrades on a cloned VM, including re 8. Gate check: - If step 7 triggered a stop condition, execute no further steps. - If no stop condition was triggered, continue with the next step. -9. After source-host inspection is complete, power the source VM off. -10. Confirm in vCenter that the source host is powered off before cloning. +9. After source-host inspection is complete, issue the power-off request and wait for vCenter to report the source host as `poweredOff`. +10. Confirm the source host is still `poweredOff` in vCenter immediately before cloning. Do not start the clone while the source VM is transitioning or pending power-off. 11. Determine base clone name: `aw999-[source-without-atvmxxx-]`. 12. Before cloning, check whether that clone name already exists in vCenter. 13. If the name exists, choose the next available suffixed name: `aw999-[source-without-atvmxxx-]-1`, then `-2`, then `-N` as needed.