-
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
RHOAIENG-17306, RHOAIENG-17307, RHOAIENG-17308: feat(workbenches): support IPv6 environments in codeserver, jupyterlab and rstudio #827
base: main
Are you sure you want to change the base?
Conversation
[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 |
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. |
@jiridanek and @atheo89 While making changes to the code server, I noticed a specific instruction to remove listening on IPv6. Was that intentional. I have built and deployed code server image manually in IPv6 only env and tested it post modifications works fine. Let me know if any further adjustments are needed! |
/retest-required |
1 similar comment
/retest-required |
@chaturvedi-kna the remaining failures are stubborn infra issues, there's little point in retrying the tests, they won't pass. The OpenShift-CI tests are largely duplicated by GitHub Actions tests, so when GitHub actions all pass, then I consider a PR to be above suspicion. |
The GHA failures are known issues, see https://issues.redhat.com/browse/RHOAIENG-16587 |
Hi @jiridanek, Thanks for clarifying. I felt something wrong with the infra but thought it may be due to being busy. Anyhow, I guess I missed the required changes for rstudio. I will do the modifications, local testing and update PR tomorrow. |
Thanks. All maintainer of this repo (incl. me) are on Christmas holiday this week, so somebody will look at it the next week. |
@chaturvedi-kna: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
My take is that these changes are harmless for ipv4/v6 dualstack; gotta figure out how to check still work with ipv4 singlestack. Checking that this actually fixed v6 is not all that important for me, my first responsibility should be not to cause a regression in existing (guaranteed) functionality. Ipv6 is for me at this point a nice optional bonus. |
I understand the importance of ensuring that IPv4 functionality remains intact and does not regress. I have kept that in mind while making changes. However, I currently do not have access to an IPv4 single-stack environment to perform the necessary tests. Could you please confirm if the existing tests cover this case? If not, I would appreciate any guidance on how to proceed with testing in an IPv4 single-stack environment. |
I wanted to look into docker/podman networking for this. Worst case, create the container without any network and then add ipv4 interface by following some of those "hard way" guides, like all these edit: the last two comments on containers/podman#22359 say that all of ipv4 only, ipv6 only and ipv4v6 dualstack is currently possible with podman, just that the cli options to enable it are somewhat confusing; so this is good news edit: for testing the image, I'm completely satisfied in trying with podman, it's sufficiently faithful representation of what happens in openshift. Going into https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/html/networking/multiple-networks should not be necessary. |
Tied to a PR against Dashboard
Description
This PR aims to bring support for single stack IPv6 env's.
This change allows Jupyter server to listen on all IP addresses
Note: This is a replacement of PR
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: