-
Notifications
You must be signed in to change notification settings - Fork 68
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
Fix for IPv6 Support #825
Fix for IPv6 Support #825
Conversation
Hi @chaturvedi-kna. Thanks for your PR. I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Note: Post PR submission, it was observed that the following files were removed from the main branch hence rebased accordingly:
These files have been removed from this branch to resolve conflicts and align with the main branch. |
Hello @chaturvedi-kna, It seems this PR includes commits that have already been merged into the main branch, which may indicate a rebase issue. Could you please fix this by ensuring that only the files with your specific changes are committed? Additionally, could you elaborate on the motivation behind these changes? Providing some context will help us better understand and review your contribution. Looking forward to your updates! |
/hold |
Hi @atheo89 The motivation behind this PR is to enable the notebooks to run seamlessly in IPv6 environments. Specifically, I identified that in a single-stack IPv6 environment, the Jupyter server listens only on IPv4, which causes the readiness probe to fail. As a result, the pod enters a CrashLoopBackOff state. With these changes, the Jupyter server will listen on all interfaces, allowing the readiness probe to pass and ensuring that the pod runs without issues. Regarding the merged commits, you are correct, the inclusion of those commits is due to the rebase. I will review the changes and ensure that only the modifications relevant to my contribution are included. Please let me know if you need any further clarification or if you have additional questions. |
@chaturvedi-kna The diff is still over 130k of changed lines. It's clear something went wrong in the rebase. I may try to see what are the actual changes and try to fix the rebase, but I'm not promising anything. Best if you can figure it out yourself. @atheo89 this may be useful for us, as there was somebody asking about IPv6-only OpenShift env support for RHOAI just now, early December or so. |
@jiridanek yeah, I am exploring on fixing the rebase issue will do that in some time. Meanwhile to review changes you can have a look at this commit |
b642dc3
to
b7cf0ba
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jiridanek and @atheo89 |
Fix: Update Configuration for supporting IPv6 environments
Description
This PR aims to bring support for single stack IPv6 env's.
This change allows Jupyter server to listen on all IP addresses
Changes include:
--ServerApp.ip=0.0.0.0
to--ServerApp.ip=""
across all applicablestart-notebook.sh
files.Modified Files:
jupyter/intel/ml/ubi9-python-3.11/start-notebook.sh
jupyter/intel/ml/ubi9-python-3.9/start-notebook.sh
jupyter/intel/pytorch/ubi9-python-3.11/start-notebook.sh
jupyter/intel/pytorch/ubi9-python-3.9/start-notebook.sh
jupyter/intel/tensorflow/ubi9-python-3.11/start-notebook.sh
jupyter/intel/tensorflow/ubi9-python-3.9/start-notebook.sh
jupyter/minimal/ubi9-python-3.11/start-notebook.sh
jupyter/minimal/ubi9-python-3.9/start-notebook.sh
How Has This Been Tested?
Testing was performed by building and running a custom Jupyter Data Science UBI9 Python 3.9 image derived from the Minimal UBI9 Python 3.9 image.
Environment Details:
Testing Process:
start-notebook.sh
scripts.Merge criteria: