How to Renew vault Token?
Problem
The vault token is expired.
Environment
Platform9 Managed Kubernetes v5.9.3
Validation
Steps to validate the token expiry:
Exec into pf9-vault pod in Management Plane namespace.
Export the required details.
Run the below command to know token expiry details:
Example:
Procedure
Exec Into pf9-vault pod in customer namespace
Export required details (in pf9-vault pod)
Generate New Token (in
pf9-vaultpod)
Update the new token in qbert Database (in
pf9-vaultpod)
Open a new terminal window and Verify if the new token is updated at cluster and node level (Execute on a new terminal window)
If the token in Sunpike does not match the token in Qbert, run the following command to patch the Sunpike host object.(from the same terminal window as Step 5 )
restart the full stack restart on nodes that got stuck at the Cert Generation phase (if any).
revoke the old Token (in pf9-vault pod) - once all nodes are working fine.
Additional Information
To check if the vault token is expired follow these steps:
From the problematic master node, perform this.
Come to the DU VM and perform this.
