-
Bug
-
Resolution: Done
-
Critical
-
None
-
4.13.0, 4.12.z
-
None
Description of problem:
Deploying RHV with OCP 4.12 fails when applying terraform.
How reproducible:
Always on iSCSI storage
Steps to Reproduce:
Installing OCP on RHV 4.12 on iSCSI storage
Actual results:
Installation fails when uploading the image, e.g. with the following error:
time="2023-01-18T04:24:03Z" level=debug msg="Changes to Outputs:" time="2023-01-18T04:24:03Z" level=debug msg=" + tmp_import_vm_id = (known after apply)" time="2023-01-18T04:24:03Z" level=debug msg="ovirt_disk_from_image.releaseimage[0]: Creating..." time="2023-01-18T04:24:13Z" level=debug msg="ovirt_disk_from_image.releaseimage[0]: Still creating... [10s elapsed]" time="2023-01-18T04:24:23Z" level=debug msg="ovirt_disk_from_image.releaseimage[0]: Still creating... [20s elapsed]" time="2023-01-18T04:24:33Z" level=debug msg="ovirt_disk_from_image.releaseimage[0]: Still creating... [30s elapsed]" time="2023-01-18T04:24:43Z" level=debug msg="ovirt_disk_from_image.releaseimage[0]: Still creating... [40s elapsed]" time="2023-01-18T04:24:52Z" level=error time="2023-01-18T04:24:52Z" level=error msg="Error: Failed to create disk." time="2023-01-18T04:24:52Z" level=error time="2023-01-18T04:24:52Z" level=error msg=" with ovirt_disk_from_image.releaseimage[0]," time="2023-01-18T04:24:52Z" level=error msg=" on main.tf line 16, in resource \"ovirt_disk_from_image\" \"releaseimage\":" time="2023-01-18T04:24:52Z" level=error msg=" 16: resource \"ovirt_disk_from_image\" \"releaseimage\" {" time="2023-01-18T04:24:52Z" level=error time="2023-01-18T04:24:52Z" level=error msg="permanent_http_error: non-retryable error encountered while transferring" time="2023-01-18T04:24:52Z" level=error msg="image for disk 03bac7db-9be0-403b-9d35-ea2f43de4e56 via HTTP request to" time="2023-01-18T04:24:52Z" level=error msg="https://rhv-node03.cicd.red-chesterfield.com:54322/images/222826ae-b249-402e-937c-74f5ab34bbe8," time="2023-01-18T04:24:52Z" level=error msg="giving up (permanent_http_error: unexpected client status code (416) received" time="2023-01-18T04:24:52Z" level=error msg="for image upload)" time="2023-01-18T04:24:52Z" level=error msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failure applying terraform for \"image\" stage: failed to create cluster: failed to apply Terraform: exit status 1\n\nError: Failed to create disk.\n\n with ovirt_disk_from_image.releaseimage[0],\n on main.tf line 16, in resource \"ovirt_disk_from_image\" \"releaseimage\":\n 16: resource \"ovirt_disk_from_image\" \"releaseimage\" {\n\npermanent_http_error: non-retryable error encountered while transferring\nimage for disk 03bac7db-9be0-403b-9d35-ea2f43de4e56 via HTTP request to\nhttps://rhv-node03.cicd.red-chesterfield.com:54322/images/222826ae-b249-402e-937c-74f5ab34bbe8,\ngiving up (permanent_http_error: unexpected client status code (416) received\nfor image upload)\n" time="2023-01-18T04:24:53Z" level=error msg="error after waiting for command completion" error="exit status 4" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=error msg="error provisioning cluster" error="exit status 4" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=error msg="error running openshift-install, running deprovision to clean up" error="exit status 4" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=debug msg="Unable to find log storage actuator. Disabling gathering logs." installID=c9k5l26q time="2023-01-18T04:24:53Z" level=info msg="saving installer output" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=debug msg="installer console log: level=info msg=Consuming Install Config from target directory\nlevel=info msg=Manifests created in: manifests and openshift\nlevel=warning msg=Found override for release image (quay.io/openshift-release-dev/ocp-release:4.12.0-multi). Please be warned, this is not advised\nlevel=info msg=Consuming OpenShift Install (Manifests) from target directory\nlevel=info msg=Consuming Common Manifests from target directory\nlevel=info msg=Consuming Openshift Manifests from target directory\nlevel=info msg=Consuming Worker Machines from target directory\nlevel=info msg=Consuming Master Machines from target directory\nlevel=info msg=Ignition-Configs created in: . and auth\nlevel=info msg=Consuming Master Ignition Config from target directory\nlevel=info msg=Consuming Worker Ignition Config from target directory\nlevel=info msg=Consuming Bootstrap Ignition Config from target directory\nlevel=info msg=Obtaining RHCOS image file from 'https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.12/builds/412.86.202212081411-0/x86_64/rhcos-412.86.202212081411-0-openstack.x86_64.qcow2.gz?sha256=4304c8f0f7429cfdb534c28aec7ca72e360e608a5df4ddf50f9b4816ff499277'\nlevel=info msg=Creating infrastructure resources...\nlevel=error\nlevel=error msg=Error: Failed to create disk.\nlevel=error\nlevel=error msg= with ovirt_disk_from_image.releaseimage[0],\nlevel=error msg= on main.tf line 16, in resource \"ovirt_disk_from_image\" \"releaseimage\":\nlevel=error msg= 16: resource \"ovirt_disk_from_image\" \"releaseimage\" {\nlevel=error\nlevel=error msg=permanent_http_error: non-retryable error encountered while transferring\nlevel=error msg=image for disk 03bac7db-9be0-403b-9d35-ea2f43de4e56 via HTTP request to\nlevel=error msg=https://rhv-node03.cicd.red-chesterfield.com:54322/images/222826ae-b249-402e-937c-74f5ab34bbe8,\nlevel=error msg=giving up (permanent_http_error: unexpected client status code (416) received\nlevel=error msg=for image upload)\nlevel=error msg=failed to fetch Cluster: failed to generate asset \"Cluster\": failure applying terraform for \"image\" stage: failed to create cluster: failed to apply Terraform: exit status 1\nlevel=error\nlevel=error msg=Error: Failed to create disk.\nlevel=error\nlevel=error msg= with ovirt_disk_from_image.releaseimage[0],\nlevel=error msg= on main.tf line 16, in resource \"ovirt_disk_from_image\" \"releaseimage\":\nlevel=error msg= 16: resource \"ovirt_disk_from_image\" \"releaseimage\" {\nlevel=error\nlevel=error msg=permanent_http_error: non-retryable error encountered while transferring\nlevel=error msg=image for disk 03bac7db-9be0-403b-9d35-ea2f43de4e56 via HTTP request to\nlevel=error msg=https://rhv-node03.cicd.red-chesterfield.com:54322/images/222826ae-b249-402e-937c-74f5ab34bbe8,\nlevel=error msg=giving up (permanent_http_error: unexpected client status code (416) received\nlevel=error msg=for image upload)\nlevel=error\n" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=debug msg="no additional log fields found" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=error msg="failed due to install error" error="exit status 4" installID=c9k5l26q time="2023-01-18T04:24:53Z" level=fatal msg="runtime error" error="exit status 4"
Expected results:
A successfully deployed cluster
Additional info:
—
- blocks
-
ACM-2798 Provisioning RHV cluster on OCP 4.12 throws install-config error in provisioning
- Closed
-
OCPBUGS-9923 [4.12.z] Image upload fails when installing cluster
- Closed
- is cloned by
-
OCPBUGS-9923 [4.12.z] Image upload fails when installing cluster
- Closed
- links to