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

Revert changes in test/e2e/common/utils.py #50

Closed
israel-hdez opened this issue Aug 3, 2023 · 0 comments · Fixed by #147
Closed

Revert changes in test/e2e/common/utils.py #50

israel-hdez opened this issue Aug 3, 2023 · 0 comments · Fixed by #147
Assignees

Comments

@israel-hdez
Copy link

When enabling E2E tests in openshift-ci, in #39 some changes had to be done to test/e2e/common/utils.py.

Once opendatahub-io/odh-model-controller#59 is fixed, those changes should be reverted to re-align ODH fork with upstream.

israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 13, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 13, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 13, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 13, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 20, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 20, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
israel-hdez added a commit to israel-hdez/kserve that referenced this issue Dec 20, 2023
This reverts changes done in commit ecff079 to test/e2e/common/utils.py.
It is possible to revert since opendatahub-io/odh-model-controller#59 is
solved.

After the revert, another adaptation was needed. CI in upstream assumes
that the URL in the InferenceService cannot be resolved, so it uses the
IP of the istio-ingressgateway together with the HTTP Host header to
workaround this limitation. However, in ODH testing environment the URL
of InferenceServices can be resolved. The adaptation adds a flag to use
the URL of the isvc, rather than using the IP of the
istio-ingressgateway.

This adaptation can be contributed to upstream, because the community
can benefit from it.

The CI setup is updated, so that the revert works correctly:
* odh-model-controller is now being installed
* TLS is removed from the istio-ingressgateway

Additionally, the following other changes were done to the CI setup:
* Turn off Mesh-related components that are not needed for CI
* Prefer usage of the ServiceMeshMember CRD to enroll namespaces to the
  Mesh

Fixes opendatahub-io#50

Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
Jooho pushed a commit to Jooho/kserve that referenced this issue Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: No status
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant