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

[main] Reapply "RHOAIENG-17306, RHOAIENG-17307, RHOAIENG-17308: feat(workbenches): tolerate IPv6 environments in codeserver, jupyterlab and rstudio" #913

Merged
merged 3 commits into from
Feb 25, 2025

Conversation

jiridanek
Copy link
Member

@jiridanek jiridanek commented Feb 22, 2025

Getting this PR to be in main

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@openshift-ci openshift-ci bot requested review from harshad16 and paulovmr February 22, 2025 10:38
@openshift-ci openshift-ci bot added the size/m label Feb 22, 2025
@jiridanek jiridanek changed the title Reapply "Revert "RHOAIENG-17306, RHOAIENG-17307, RHOAIENG-17308: feat(workbenches): tolerate IPv6 environments in codeserver, jupyterlab and rstudio"" Reapply "RHOAIENG-17306, RHOAIENG-17307, RHOAIENG-17308: feat(workbenches): tolerate IPv6 environments in codeserver, jupyterlab and rstudio" Feb 22, 2025
@openshift-ci openshift-ci bot added size/m and removed size/m labels Feb 22, 2025
@openshift-ci openshift-ci bot added size/m and removed size/m labels Feb 22, 2025
@openshift-ci openshift-ci bot added size/m and removed size/m labels Feb 22, 2025
@openshift-ci openshift-ci bot added size/m and removed size/m labels Feb 22, 2025
@jiridanek jiridanek changed the title Reapply "RHOAIENG-17306, RHOAIENG-17307, RHOAIENG-17308: feat(workbenches): tolerate IPv6 environments in codeserver, jupyterlab and rstudio" [main] Reapply "RHOAIENG-17306, RHOAIENG-17307, RHOAIENG-17308: feat(workbenches): tolerate IPv6 environments in codeserver, jupyterlab and rstudio" Feb 23, 2025
@openshift-ci openshift-ci bot added size/m and removed size/m labels Feb 23, 2025
@@ -60,7 +84,7 @@ def _get_cmd(port):
'--server-working-dir=' + os.getenv('HOME'),
'--auth-none=1',
'--www-frame-origin=same',
#'--www-address=0.0.0.0',
'--www-address='+ detect_env(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'--www-address='+ detect_env(),
'--www-address=' + detect_env(),

to be consistent with the other lines... but if this is gonna cause us a conflict during the rebase of the konflux feature branch, we can skip this...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should adopt a pre-commit and a python formatter; chasing formatting issues by hand is not very productive

I usually run the intelliJ reformat when I think of it, so the format is kept more or less in decent shape

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good first issue for an intern maybe? 🙂

Copy link
Member Author

@jiridanek jiridanek Feb 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe, but not @RomanFilip, he needs to do something in Go, and I already have the thing in mind

@jstourac
Copy link
Member

please rebase so the conflicts are resolved, we can then lgtm and merge eventually?

…workbenches): tolerate IPv6 environments in codeserver, jupyterlab and rstudio""
This is now emitted because we are specifying "" as the listening address,
where previously it was "0.0.0.0".

```
"WARNING: The Jupyter server is listening on all IP addresses and not using encryption. This is not recommended.",
```
…vior

Since `localhost` resolves to IPv4 as well as IPv6, it causes
nginx to enable the upstream server rotation.

```
2025/02/22 15:14:06 [error] 21#21: *1 no live upstreams while connecting to upstream, client: 192.168.127.1, server: ${base_url}, request: "GET /codeserver/?folder=/opt/app-root/src HTTP/1.1", upstream: "http://localhost/?folder=/opt/app-root/src", host: "localhost:8888"
```
@jstourac
Copy link
Member

/lgtm

@jiridanek
Copy link
Member Author

/approve
/override ci/prow/codeserver-notebook-e2e-tests ci/prow/notebooks-ubi9-e2e-tests ci/prow/rstudio-notebook-e2e-tests

Copy link
Contributor

openshift-ci bot commented Feb 25, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jiridanek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

openshift-ci bot commented Feb 25, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/codeserver-notebook-e2e-tests, ci/prow/notebooks-ubi9-e2e-tests, ci/prow/rstudio-notebook-e2e-tests

In response to this:

/approve
/override ci/prow/codeserver-notebook-e2e-tests ci/prow/notebooks-ubi9-e2e-tests ci/prow/rstudio-notebook-e2e-tests

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
Copy link
Member Author

error: build error: Failed to push image: trying to reuse blob sha256:facf1e7dd3e0c59d3a9c051e50a2263491fd2cbfb31a8c9f6b188bf4af6d85cf at destination: unable to retrieve auth token: invalid username/password: authentication required

oh yeah!

@jiridanek
Copy link
Member Author

/override ci/prow/images

Copy link
Contributor

openshift-ci bot commented Feb 25, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/images

In response to this:

/override ci/prow/images

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
Copy link
Member Author

/override ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror

Copy link
Contributor

openshift-ci bot commented Feb 25, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror

In response to this:

/override ci/prow/notebook-cuda-jupyter-tf-ubi9-python-3-11-pr-image-mirror

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
Copy link
Member Author

/override ci/prow/images

Copy link
Contributor

openshift-ci bot commented Feb 25, 2025

@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/images

In response to this:

/override ci/prow/images

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 0cf50dd into opendatahub-io:main Feb 25, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants