Closed michitaro closed 4 years ago
Thanks for reporting this with all the details and finding related tickets.
Should we close this in favour of https://github.com/jupyterhub/kubespawner/issues/354#issue-498060336? The best place to discuss kubespawner is probably in its repo.
OK. I'll close this. Thanks.
I got 500 error after logging in to JupyterHub.
How I installed z2jh
I have installed z2jh onto self-hosted cluster (set up by kubeadm) with commands below.
Because I don't have external IP provider, I have changed
spec.type
of service/public-proxy toNodePort
.Environments
Inspections
The top of stack (
File "/usr/local/lib/python3.6/dist-packages/kubespawner/spawner.py", line 73, in events
) is here. The code assumes that every event objects always have non nulllast_timestamp
, but sometimes event objects have null value for their last_timestamp (at least on my environment). While the spec doesn't mention eitherrequired
oroptional
, actually I got such event fromkubectl get events
.I can bypass the problem with this patch for
kubespawner/spawner.py
.The cause of the problem might be due to some my misconfiguration, but I'd like any comments on this.