openshift-metal3 / dev-scripts

Scripts to automate development/test setup for openshift integration with https://github.com/metal3-io/
Apache License 2.0
93 stars 185 forks source link

AGENT-724: Deploy vSphere clusters with credentials #1599

Closed rwsu closed 6 months ago

rwsu commented 10 months ago

Fake credentials are added to install-config.yaml for vSphere platform.

In combination with https://github.com/openshift-metal3/dev-scripts/pull/1588, this patch allows testng of installer and assisted-service validations for the vSphere platform.

A complete install for vSphere using dev-scripts is currently not possible because the vSphere environment is partially simulated using libvirt VMs. Any cloud controller manager interactions with vSphere will fail in libvirt because there isn't an actual vSphere environment that is being exercised.

In this setup, only "agent wait-for bootstrap-complete" will succeed. For vSphere, "agent wait-for install-complete" will fail and is skipped.

Add these to config_.sh script to test:

export AGENT_PLATFORM_TYPE=vsphere
export AGENT_TEST_CASES=skip_wait_for_install_complete
rwsu commented 10 months ago

/cc @bfournie @andfasano /uncc @lranjbar

rwsu commented 10 months ago

/test e2e-agent-compact-ipv4 Last failure:

level=debug msg=* Could not update servicemonitor "openshift-machine-config-operator/machine-config-daemon" (830 of 861)
level=debug msg=* Could not update servicemonitor "openshift-operator-lifecycle-manager/olm-operator" (839 of 861)
level=debug msg=* Could not update servicemonitor "openshift-service-ca-operator/service-ca-operator" (861 of 861)
level=debug msg=Still waiting for the cluster to initialize: Working towards 4.14.0-0.ci.test-2023-11-08-231053-ci-op-8v0g2rn8-latest: 541 of 861 done (62% complete)
level=debug msg=Still waiting for the cluster to initialize: Cluster operators authentication, kube-apiserver are not available
level=debug msg=Still waiting for the cluster to initialize: Cluster operator authentication is not available
level=debug msg=Still waiting for the cluster to initialize: Cluster operator etcd is degraded
level=debug msg=Still waiting for the cluster to initialize: Cluster operator etcd is degraded
bash: line 190: 17370 Killed                  timeout -s 9 105m make agent
Fetching kubeconfig, other credentials...
Adding proxy-url in kubeconfig
dev-scripts setup completed, fetching logs
tar: Removing leading `/' from member names
Removing REDACTED info from log...
{"component":"entrypoint","error":"wrapped process failed: exit status 137","file":"k8s.io/test-infra/prow/entrypoint/run.go:84","func":"k8s.io/test-infra/prow/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2023-11-09T01:01:52Z"}
error: failed to execute wrapped command: exit status 137
bfournie commented 10 months ago

/approve

openshift-ci[bot] commented 10 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bfournie

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: - ~~[OWNERS](https://github.com/openshift-metal3/dev-scripts/blob/master/OWNERS)~~ [bfournie] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
andfasano commented 6 months ago

/lgtm

rwsu commented 6 months ago

/test e2e-agent-compact-ipv4

rwsu commented 6 months ago

/test e2e-agent-compact-ipv4

rwsu commented 6 months ago

/override e2e-agent-compact-ipv4 Failure is due to an ovn issue that is awaiting fix to be merged downstream: https://github.com/ovn-org/ovn-kubernetes/pull/4168

openshift-ci[bot] commented 6 months ago

@rwsu: rwsu unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:.

In response to [this](https://github.com/openshift-metal3/dev-scripts/pull/1599#issuecomment-1977590157): >/override e2e-agent-compact-ipv4 >Failure is due to an ovn issue that is awaiting fix to be merged downstream: https://github.com/ovn-org/ovn-kubernetes/pull/4168 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
bfournie commented 6 months ago

/override e2e-agent-compact-ipv4

openshift-ci[bot] commented 6 months ago

@bfournie: /override requires failed status contexts, check run or a prowjob name to operate on. The following unknown contexts/checkruns were given:

Only the following failed contexts/checkruns were expected:

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to [this](https://github.com/openshift-metal3/dev-scripts/pull/1599#issuecomment-1977599052): >/override e2e-agent-compact-ipv4 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
bfournie commented 6 months ago

/override ci/prow/e2e-agent-compact-ipv4

openshift-ci[bot] commented 6 months ago

@bfournie: Overrode contexts on behalf of bfournie: ci/prow/e2e-agent-compact-ipv4

In response to [this](https://github.com/openshift-metal3/dev-scripts/pull/1599#issuecomment-1977602794): >/override ci/prow/e2e-agent-compact-ipv4 Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
rwsu commented 6 months ago

/retest-required

rwsu commented 6 months ago

/retest-required

rwsu commented 6 months ago

/retest-required

rwsu commented 6 months ago

/retest-required

rwsu commented 6 months ago

/retest-required

rwsu commented 6 months ago

/test e2e-metal-ipi-serial-ipv4

openshift-ci[bot] commented 6 months ago

@rwsu: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-metal-ipi-ovn-dualstack 8738395ede6b3ecc2cf90cf5ecaba307108d676f link false /test e2e-metal-ipi-ovn-dualstack
ci/prow/e2e-metal-ipi-serial-ovn-ipv6 8738395ede6b3ecc2cf90cf5ecaba307108d676f link false /test e2e-metal-ipi-serial-ovn-ipv6

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
rwsu commented 6 months ago

/test e2e-metal-ipi-bm