Skip to content
Jusong Yu edited this page Jun 19, 2024 · 8 revisions

Welcome to the aiidalab-demo-server wiki!

The wiki include misc information about Azure/CSCS k8s handling and JupyterHub tips:

Troubleshoting

Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress

This happened when the previous operation failed

Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
Error: Process completed with exit code 1.

I can either delete the whole helm chart deployment and run the deployment again. It will reset the reversion number to 0. Or it is more clever to rollback to the out helm reversion.

helm ls -a -n {namespace} will list all releases within a namespace, regardless of status.

Delete the helm deployment and start from scratch

Caution

This is extremely not encouraged way to setup, since brand new deployment will assigned with new external IP (I set the loadBalancerIP and should assign the same external IP but not guaranteed) and if HTTPS is already setup the domain binding will break and has to go through the domain setting and HTTPS setup again.

To delete: helm uninstall {release} -n {namespace}

When we have a clear definition of App version and know which reversion we want to go back, using rollback could be better solution.

Rollback to certain reversion

To rollback to the previous revision and you don't know the number of the revision, use helm rollback <release> 0 and it will do it automatically.