Production deploying : Error: watch closed before Until timeout

I configured CI/CD for the application with Kubernetes in Gcloud, but in the production step, the pipeline fails.
It seems to be an issue with Helm/Kubernetes as reported in some Github issues (1,2,3)

$ install_tiller
Checking Tiller...
$HELM_HOME has been configured at /root/.helm.

Tiller (the Helm server-side component) has been upgraded to the current version.
Happy Helming!
Waiting for rollout to finish: 0 of 1 updated replicas are available...
Waiting for rollout to finish: 0 of 1 updated replicas are available...
error: watch closed before Until timeout
ERROR: Job failed: exit code 1

Did anyone experience similar problems or has a solution?

Kind regards

1 Like

Hi,

I am having same issue. Gitlab 1.8.0-ee, Kubernetes on GKE 1.11.7-gke.4
In GKE I can see Pod errors: CrashLoopBackOff

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.56.0.24. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.56.0.24. Set the 'ServerName' directive globally to suppress this message
[Sat Feb 23 22:13:49.398891 2019] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.2.15 configured -- resuming normal operations
[Sat Feb 23 22:13:49.398983 2019] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

Gitlab progress

$ deploy
secret/review-auto-devop-k3jbhq-secret replaced
Deploying new release…
Release “review-auto-devop-k3jbhq” does not exist. Installing it now.
NAME: review-auto-devop-k3jbhq
LAST DEPLOYED: Sat Feb 23 20:17:19 2019
NAMESPACE: xxx
STATUS: DEPLOYED

RESOURCES:
==> v1/Service
NAME                                  TYPE       CLUSTER-IP     EXTERNAL-IP  PORT(S)   AGE
review-auto-devop-k3jbhq-auto-deploy  ClusterIP  10.59.249.175  <none>       5000/TCP  2s

==> v1beta1/Deployment
NAME                      DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
review-auto-devop-k3jbhq  1        1        1           0          2s

==> v1beta1/Ingress
NAME                                  HOSTS                                                                               ADDRESS       PORTS    AGE
review-auto-devop-k3jbhq-auto-deploy  xxx-review-auto-devop-k3jbhq.35.197.199.79.nip.io,le.35.197.199.79.nip.io  35.189.87.50  80, 443  2s

==> v1/Pod(related)
NAME                                       READY  STATUS             RESTARTS  AGE
review-auto-devop-k3jbhq-69c4888b9b-sz6l2  0/1    ContainerCreating  0         2s


NOTES:
Application should be accessible at: http://xxx-review-auto-devop-k3jbhq.35.197.199.79.nip.io
Waiting for deployment "review-auto-devop-k3jbhq" rollout to finish: 0 of 1 updated replicas are available...
error: watch closed before Until timeout
ERROR: Job failed: command terminated with exit code 1

Exactly same issue here.