-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat: disables features not needed for Istio deployments #172
feat: disables features not needed for Istio deployments #172
Conversation
@VaishnaviHire @harshad16 I would very much appreciate a review and merge so I can test Service Mesh changes against the latest versions of the controllers. |
|
8aea11e
to
a2de58e
Compare
Working on reviewing this PR. |
@harshad16 to simplify the review/merge @cam-garrison brought #184 changes here. All ready for review. I also updated PR description with some extra details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the delay in review.
While testing the deployment:
getting the mutate-webook error
make e2e-test-service-mesh -e K8S_NAMESPACE=opendatahub
go test ./e2e/ -run ^TestE2ENotebookController -v \
--nb-namespace=opendatahub \
--deploymentMode=service-mesh \
"--skip-deletion=false"
=== RUN TestE2ENotebookController
=== RUN TestE2ENotebookController/validate_controllers
I1017 01:57:15.802869 75749 request.go:601] Waited for 1.047326253s due to client-side throttling, not priority and fairness, request: GET:https://api.hnalla.dev.datahub.redhat.com:6443/apis/datasciencecluster.opendatahub.io/v1?timeout=32s
=== RUN TestE2ENotebookController/validate_controllers/Validate_Kubeflow_notebook_controller
=== RUN TestE2ENotebookController/validate_controllers/Validate_ODH_notebook_controller
=== RUN TestE2ENotebookController/create
I1017 01:57:41.221572 75749 request.go:601] Waited for 1.046904354s due to client-side throttling, not priority and fairness, request: GET:https://api.hnalla.dev.datahub.redhat.com:6443/apis/extensions.istio.io/v1alpha1?timeout=32s
=== RUN TestE2ENotebookController/create/thoth-minimal-service-mesh-notebook
=== RUN TestE2ENotebookController/create/thoth-minimal-service-mesh-notebook/Creation_of_Notebook_instance
2023/10/17 01:58:04 Error creating Notebook resource thoth-minimal-service-mesh-notebook: Internal error occurred: failed calling webhook "notebooks.opendatahub.io": failed to call webhook: Post "https://odh-notebook-controller-webhook-service.opendatahub.svc:443/mutate-notebook-v1?timeout=10s": context deadline exceeded, trying again
2023/10/17 01:58:24 Error creating Notebook resource thoth-minimal-service-mesh-notebook: Internal error occurred: failed calling webhook "notebooks.opendatahub.io": failed to call webhook: Post "https://odh-notebook-controller-webhook-service.opendatahub.svc:443/mutate-notebook-v1?timeout=10s": context deadline exceeded, trying again
Seems like something similar was addressed here: #96 (comment) |
The latest Service Mesh SMCP v2.3 (2.3.7) release has failures as it was released with an outdated image. This is likely the root of the issues you're facing since the install script installs v2.3 smcp. The fix for v2.3 SMCPs is coming ASAP, but as of now, newly created or updated SMCPs of this version are buggy. I ran the tests again after changing the SMCP to be v2.4 and the tests succeeded. Please give that a try when you can. |
@cam-garrison can we adjust the script to use 2.4 instead? |
@harshad16 besides test/infra failures - is the code looking good for you? |
yes, it does look good to me 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
We just need to fix servicemesh issue with the webhook
which we would address slowly.
Thanks for the patience
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harshad16 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 |
/retest |
tests succeeded |
Thanks for taking care of it @shalberd! |
Thanks goes to @harshad16 he did the heavy lifting. I just initiated retesting :-) |
Description
Brings back #96 (see description of it for more details).
Additional changes brought from (now closed) #184
kf-notebook-controller
here to have anoverlays/standalone-service-mesh
used solely for e2e testing for notebook controllers, and useoverlays/service-mesh
for when deploying through ODH operator.overlays/service-mesh
for the odh-notebook-controller as we will no longer need to patch the image once this is merged.Fixes #168
How Has This Been Tested?
Merge criteria: