Failed nextcloud install in pipeline
Main pipeline sometimes fails to install nextcloud. Example: https://open.greenhost.net/stackspin/stackspin/-/pipelines/27992
In this case kubectl describe hr -n stackspin-apps nextcloud
mentions:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal info 81m helm-controller HelmChart 'flux-system/stackspin-apps-nextcloud' is not ready
Normal info 81m helm-controller Helm install has started
Warning error 81m helm-controller Helm install failed: Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://ingress-nginx-controller-admission.stackspin.svc:443/networking/v1/ingresses?timeout=10s": EOF
Last Helm logs:
creating 34 resource(s)
Warning error 81m helm-controller reconciliation failed: Helm install failed: Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://ingress-nginx-controller-admission.stackspin.svc:443/networking/v1/ingresses?timeout=10s": EOF
Warning error 8m8s (x14 over 81m) helm-controller reconciliation failed: install retries exhausted
Might be solved by adding some retries to the install remediation in the Flux config.