Open Davo911 opened 6 days ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign aglitke for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Hi @Davo911. Thanks for your PR.
PRs from untrusted users cannot be marked as trusted with /ok-to-test
in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all
.
I understand the commands that are listed here.
Still a Draft, because even though this brings down the failing critical tests from 30 to 12, some of the 12 remaining still seem to fail at this Step.
I wonder why you even end up under the port-forward branch? We set up a NodePort and configure the CDI config's uploadProxyURL accordingly https://github.com/kubevirt/containerized-data-importer/blob/e0683b40b02c6ba9519af901ec0c55a1fbd8512b/cluster-sync/sync.sh#L98-L102 The port forward bit was just left around as a fallback but that isn't used really since OpenShift has a route and kvci has the NodePort setup.
Hey @akalenyu thanks for looking at this!
For my local setup I'm using KUBEVIRT_PROVIDER=external
, in that case this configuration step is skipped.
Hey @akalenyu thanks for looking at this! For my local setup I'm using
KUBEVIRT_PROVIDER=external
, in that case this configuration step is skipped.
I see, and I guess that cluster is not on OpenShift? In that case, try setting up an ingress https://github.com/kubevirt/containerized-data-importer/blob/main/doc/exposing-upload-proxy.md Once that is set up on your cluster, and the CDI config has an updated uploadProxy, you won't need any code changes and you will magically avoid the port forward setup branch.
I'll look into that or switch to openshift for local development.
Should we include that into https://github.com/kubevirt/containerized-data-importer/blob/448fe9d566964f0fbff4fa2f4f0f4904e5331838/hack/README.md or https://github.com/kubevirt/containerized-data-importer/blob/448fe9d566964f0fbff4fa2f4f0f4904e5331838/cluster-sync/sync.sh by any chance?
To me it's a moving part so not really. Maybe drop the port forward setup bit and just fail if the uploadproxyurl is not set?
What this PR does / why we need it: Several critical tests are failing on s390x during, what appears to be, a cleanup step:
By trying to terminate the process in a more graceful way, it should be less likely to run into this in the future.