Deployment failed : HELM UPGRADE FAILED

Hi there,
Since yesterday we’re experiencing an HELM error command, upgrade failed, each time we launched a deployment.
Here’s the full message :

Helm command `UPGRADE` for release application-z31330131-z31330131 terminated with an error: CommandError { full_details: Some("Error: UPGRADE FAILED: create: failed to create: rpc error: code = Unknown desc = database is lockedcreate: failed to*Secrets).Create\*Storage).Create\*Upgrade).performUpgrade\*Upgrade).RunWithContext\\*Command).execute\*Command).ExecuteC\*Command).Execute\\\truntime/proc.go:225runtime.goexit\truntime/asm_amd64.s:1371UPGRADE FAILEDmain.newUpgradeCmd.func2\*Command).execute\*Command).ExecuteC\*Command).Execute\\\truntime/proc.go:225runtime.goexit\truntime/asm_amd64.s:1371: Command terminated with a non success exit status code: exit status: 1"), message_safe: "Helm upgrade error" }

Console :

Note : the error appeared after a storage capacity upgrade from 20GB to 50GB (and a bunch of weird application deployment with 700 or 900 pods… which leads to fail the deployment ; don’t know if it’s related to the Helm issue above).

Thanks for help.

Hello @RSZ-Raphael,

Having a look.

This cluster has more than 2500+ pods, 95% of those are either Evicted or UnknownStatus, doing some cleaning and trying to understand what happened, I will let you know ASAP.

Ok, cleaned everything, updated the cluster, and triggered a redeploy of your app, all good.

About the root cause, I am not 100% certain as of yet, but, from what I saw, your cluster node was already a bit over capacity and some pods started to be evicted and nothing new can be deployed.

Please let me know if you need further help.


Thanks @bchastanier , but before closing this issue, do you have any explanation on what happened to lead this situation? We also noticed that a “deployment error” tags is still displayed on the UI.

Sorry, yes, I added more details about the root cause in my previous comment.
Regarding “deployment error” tags still displayed, let me check.

Also, you increased disk size because it was full? It might have be triggering all those eviction / reboot as well.

Regarding “deployment error” tags still displayed, it seems that one of your DNS failed to be solved but this should not be blocking.

Deploy has been restarted, since and the log stating that disappear (EC2 logs are not persisted), I cannot link it to you. I am waiting this run fails again.

From time to time, if you deploy apps one by one in an env, global env status might be wrong in very specific cases. Solution being to redeploy the whole env. This should solve the issue.

Thank you @bchastanier ! all’s working fine now.