Fix autopilot test authentication errors (#16472) (#17116)
* Fix autopilot test authentication by removing WithoutNamespace option * Revert: Keep WithoutNamespace() - token lacks namespace creation permission * Fix autopilot test authentication after upgrade - Use upgraded cluster's root token instead of original cluster token - Fix API address references to point to upgraded cluster - Add token validation logging to diagnose auth failures The autopilot upgrade creates new nodes but reuses the same root token. However, verification steps were incorrectly using the old cluster's API addresses and inconsistent token references, causing 403 errors. * Fix null interpolation in VAULT_ADDR_DEBUG * formatting * Fix autopilot verification to use upgraded cluster nodes The verify_autopilot steps were trying to connect to the original cluster nodes which are shut down by the remove_old_nodes step. Changed to use the upgraded cluster's hosts and addresses instead. Co-authored-by: hashigator <280075563+hashigator@users.noreply.github.com>
V
Vault Automation committed
7da28608eaeeab554ffa0dcaddbe3de3b0ced3c8
Parent: 53f2047
Committed by GitHub <noreply@github.com>
on 7/31/2026, 8:23:46 PM