Skip to main content

The IfsInstallerLogger.log.0 log file displays the following:


upgrade.go:355: 5debug] warning: Upgrade "ifs-cloud" failed: post-upgrade hooks failed: job failed: BackoffLimitExceeded
Error: UPGRADE FAILED: post-upgrade hooks failed: job failed: BackoffLimitExceeded
helm.go:94: 4debug] post-upgrade hooks failed: job failed: BackoffLimitExceeded
UPGRADE FAILED
main.newUpgradeCmd.func2
    /home/circleci/helm.sh/helm/cmd/helm/upgrade.go:156
github.com/spf13/cobra.(*Command).execute
    /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
    /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
    /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
    /home/circleci/helm.sh/helm/cmd/helm/helm.go:93
runtime.main
    /usr/local/go/src/runtime/proc.go:203
runtime.goexit
    /usr/local/go/src/runtime/asm_amd64.s:1373
SEVERE: Failed to install ifs-cloud
 

On checking the pods I have 2 that keep failing:

 

I have tried deleting the pods the they re-create but still appear to have an issue.

 

Any ideas/advice much appreciated.

Hi RutJWhalen,

There may be relevant details in the "describe" and "logs" for each pod.
Please execute these commands and share the output:

kubectl describe pod <ifsapp-iam name> -n <ifs namespace>
kubectl describe pod <ifsapp-reporting name> -n <ifs namespace>
kubectl logs <ifsapp-iam name> -c ifsapp-iam -n <namespace>
kubectl logs <ifsapp-reporting name> -c ifsapp-reporting -n <namespace>

Most of the IFS pods contain two containers each. The "logs" command requires the target pod and container.

Best regards, Ben


Reply