Skip to content

Gitaly fails to start waiting for 'custom-ca-certificates' volume

When deploying the Operator with test.sh, the Gitaly is stuck in an Init state:

Events:
  Type     Reason                  Age                  From                                               Message
  ----     ------                  ----                 ----                                               -------
  Normal   Scheduled               <unknown>                                                               Successfully assigned gitlab-system/gitlab-gitaly-0 to ocp-mitchellnielsen-vx87b-worker-a-8r7jc
  Normal   SuccessfulAttachVolume  10m                  attachdetach-controller                            AttachVolume.Attach succeeded for volume "pvc-a12fe0e4-5ffd-480f-8fb6-1a4f25075727"
  Warning  FailedMount             3m55s                kubelet, ocp-mitchellnielsen-vx87b-worker-a-8r7jc  Unable to attach or mount volumes: unmounted volumes=[custom-ca-certificates], unattached volumes=[gitaly-config init-gitaly-secrets gitaly-secrets repo-data etc-ssl-certs custom-ca-certificates gitlab-app-token-fn4t8]: timed out waiting for the condition
  Warning  FailedMount             98s (x3 over 8m29s)  kubelet, ocp-mitchellnielsen-vx87b-worker-a-8r7jc  Unable to attach or mount volumes: unmounted volumes=[custom-ca-certificates], unattached volumes=[repo-data etc-ssl-certs custom-ca-certificates gitlab-app-token-fn4t8 gitaly-config init-gitaly-secrets gitaly-secrets]: timed out waiting for the condition
  Warning  FailedMount             16s (x13 over 10m)   kubelet, ocp-mitchellnielsen-vx87b-worker-a-8r7jc  MountVolume.SetUp failed for volume "custom-ca-certificates" : secret "gitlab-wildcard-tls-ca" not found

/cc @dustinmm80 @WarheadsSE FYI