Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loss of state in chp container of proxy pod, forces us to restart the hub pod? #1226

Closed
consideRatio opened this issue Apr 9, 2019 · 2 comments

Comments

@consideRatio
Copy link
Member

I have a nginx-ingress-controller running in my GKE cluster that together with cert-manager manages ingress aspects to my jupyterhub helm chart.

After an upgrade to the ingress-controller but without any change to hub pod, proxy pod, or autohttps pod, I think I caused major failure for my JupyterHub users even after the ingress controller was back online.

Users experienced

  • image (1)
  • By refreshing the browsers, they experienced a 503 error page instead.

Resolving the faulty state

Restarting the hub resolved the issue.

Analysis

The proxy pod relies on a chp proxy among other things. So I think that perhaps the CHP state got reset or invalid, and that the hub didn't know to update it.

Why was the CHP state lost or made invalid? I don't know... Hmmm... I don't have logs for this event =/

Preliminary solution idea

Note, I lack understanding of the CHP project in general, my comprehension can be summarized as "I think it is something that will redirect traffic based on how it is configured by jupyterhub", but how it is configured etc by the jupyterhub I mostly only assume it is done through an API.

Perhaps we could make the state external to the CHP pod, for example in a k8s configmap, and if the autohttps pod restarts, its state will not need to be setup again, because it would simply resetup itself using the configmap. Something like that... Hmmm....

Step one is to pin the issue though.

@minrk
Copy link
Member

minrk commented Aug 22, 2019

This will be closed by #1162

@consideRatio
Copy link
Member Author

I think this issue is to vague description of an issue, so I wouldn't be sure if we fixed it anyhow. Closing it in favor of other issues, such as #1364.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants