Possible JupyterHub / Knative Install Race Condition

Summary

Possible race condition when installing JupyterHub and Knative at the same time. JupyterHub fails to install with a 500 error. The error message:

Internal error occurred: failed calling webhook "sidecar-injector.istio.io": Post https://istio-sidecar-injector.istio-system.svc:443/inject?timeout=30s: no endpoints available for service "istio-sidecar-injector"

The issue might not be so critical, since retrying to install will be sufficient to deal with it.

Steps to reproduce

It does not happen consistently.

1 - Create a project cluster.

2 - Install all the GitLab Managed Apps. I'd try click to install them as soon as they're available to install.

What is the current bug behavior?

JupyterHub install pod fails to be created in the cluster, so the application cannot be installed

What is the expected correct behavior?

JupyterHub gets installed.

Relevant logs and/or screenshots

Screen_Shot_2019-09-24_at_11.22.54_AM

Screen_Shot_2019-09-24_at_11.56.45_AM

Screen_Shot_2019-09-24_at_12.05.29_PM

Screen_Shot_2019-09-24_at_12.05.17_PM

Screen_Shot_2019-09-24_at_12.05.39_PM

Output of checks

This bug happens on GitLab.com

Possible fixes

needs more investigation

Edited Sep 24, 2019 by João Alexandre Cunha
Assignee Loading
Time tracking Loading