Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1943362

Summary: e2e-kubevirt test failing to setup "kubvirt_data_volume"
Product: OpenShift Container Platform Reporter: Micah Abbott <miabbott>
Component: InstallerAssignee: Nir Argaman <nargaman>
Installer sub component: OpenShift on KubeVirt QA Contact: Chen Yosef <cyosef>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: aos-bugs, cnv-qe-bugs, miabbott, stirabos
Version: 4.7   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-02 06:15:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Micah Abbott 2021-03-25 21:39:40 UTC
(Probably got the version wrong, so please correct my mistake)

The `e2e-kubervirt` test against OCP 4.7 has been perma-failing for at least the last 10 days while waiting for Terraform to setup the `kubevirt_data_volume`

https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-installer-release-4.7-e2e-kubevirt

https://search.ci.openshift.org/?search=+resource+%22kubevirt_data_volume%22+%22data_volume&maxAge=336h&context=1&type=bug%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job


Specifically:

https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_installer/4791/pull-ci-openshift-installer-release-4.7-e2e-kubevirt/1375163778575896576/build-log.txt

```
level=info msg=Creating infrastructure resources...
level=error
level=error msg=Error: timeout while waiting for state to become 'Succeeded' (last state: 'Creating', timeout: 40m0s)
level=error
level=error msg=  on ../tmp/openshift-install-238586002/datavolume/main.tf line 1, in resource "kubevirt_data_volume" "data_volume":
level=error msg=   1: resource "kubevirt_data_volume" "data_volume" {
level=error
level=error
level=fatal msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: failed to complete the change
{"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"prow/entrypoint/run.go:80","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2021-03-25T20:11:10Z"}
2021/03/25 20:11:10 Failed to upload $KUBECONFIG: <nil>: <nil>
error: failed to execute wrapped command: exit status 1
```

Comment 1 Simone Tiraboschi 2021-03-31 13:39:41 UTC
That lane is testing openshift on kubevirt; moving it to the right component.

Comment 2 Nir Argaman 2021-03-31 14:22:29 UTC
This issue is caused because of behavior change in kubevirt
This is already fixed in OCP 4.8 (Bug 1939513)
As decided not to support kubevirt platform in OCP 4.7, I will remove the CI test against this version

Comment 3 Nir Argaman 2021-04-20 05:27:36 UTC
The CI for 4.7 was removed:
https://github.com/openshift/release/pull/17542