-
Notifications
You must be signed in to change notification settings - Fork 228
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
Kubernetes based remote kernel got interrupt / delete lead to Enterprise Gateway server crashing #1136
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Hi @chiawchen - thank you for the kind words - we really appreciate hearing this! So you actually created your own process proxy? That is really great. I'm pretty sure what's going on here and actually voiced this concern during the review of changes (sigh). Because of the aliasing approach, subclasses that override local methods will not have those methods called because the scope of the renaming does not apply within the existing methods. This prevents the signal code from getting into the Given this, I'm hoping you can do two things prior to us moving forward...
Looking at the What I'm still wondering though is why we haven't heard about this yet and I can only surmise that folks happen to be running with On a side note: |
Thanks @kevin-bates, I've verified that EG runtime is using |
@chiawchen - thank you for the quick update. Since
I suppose your |
yeah, we have jupyter_client been installed as a higher version before installing EG, I just pin the version down to |
Thanks @chiawchen. I'm curious how you went about installing the higher version of |
we have several |
Since we've specified our dependency on |
Description
Thanks for building this project, it's really helpful and extendable to fit in with our in-house kubernetes infrastructure, we simply provide the customized launcher script and processproxy. Everything works out of the box (we are able to launch a pod running on in-house kubernetes and able to send command to the remote kernel running on other pod in kubernetes) except one thing which is
interrupting
/deleting
the kernel.We observed a crash on enterprise gateway server side, when there's either a
interrupt
ordelete
request come from client side and it only happens on kubernetes based remote kernel, the kernel that launched locally within enterprise gateway (i.e. ipykernel_launcher) can be interrupted or deleted successfully without crashing.Reproduce
I'm not sure if this is reproducible in native kubernetes, but I'll try to provide as much details as possible
and the corresponding ENV
interrupt
ordelete
sessionkill()
properlyExpected behavior
The expected behavior is the kernel been deleted successfully and the jupyter enterprise gateway shouldn't crash if one of the remote kernel been requested to interrupt or delete. Or one step back, server side should provide the traceback / debug logging about the interrupt / delete happened, so server side can do further debugging, perhaps the issue is on customized processproxy but we cannot see the log as for this case.
Context
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: