From 98b36d0e3ca76da1c54dc9ae48e4ff6cad081e96 Mon Sep 17 00:00:00 2001 From: Anusha Heralagi Date: Fri, 28 Nov 2025 16:02:24 +0530 Subject: [PATCH 1/2] Update upi-install-libvirt-commands.sh --- .../upi/install/libvirt/upi-install-libvirt-commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh b/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh index 0f68bf0d03bd6..a80d1a8e24d7c 100755 --- a/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh +++ b/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh @@ -206,7 +206,7 @@ EOF else RHCOS_VERSION=$(${OCPINSTALL} coreos print-stream-json | yq-v4 -oy ".architectures.${ARCH}.artifacts.qemu.release") QCOW_URL=$(${OCPINSTALL} coreos print-stream-json | yq-v4 -oy ".architectures.${ARCH}.artifacts.qemu.formats[\"qcow2.gz\"].disk.location") - VOLUME_NAME="ocp-${BRANCH}-rhcos-${RHCOS_VERSION}-qemu.${ARCH}.qcow2" + VOLUME_NAME="ocp-${BRANCH}-rhcos-${RHCOS_VERSION}-qemu.${ARCH}-$(date +%s).qcow2" DOWNLOAD_NEW_IMAGE=true # Check if we need to update the source volume From bc2957157428b7aa3920647c37eb4f6db39c240a Mon Sep 17 00:00:00 2001 From: Anusha Heralagi Date: Wed, 3 Dec 2025 15:27:43 +0530 Subject: [PATCH 2/2] Update upi-install-libvirt-commands.sh added lease name to the volume name instead of timestamp --- .../upi/install/libvirt/upi-install-libvirt-commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh b/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh index a80d1a8e24d7c..fbe2b3577e994 100755 --- a/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh +++ b/ci-operator/step-registry/upi/install/libvirt/upi-install-libvirt-commands.sh @@ -206,7 +206,7 @@ EOF else RHCOS_VERSION=$(${OCPINSTALL} coreos print-stream-json | yq-v4 -oy ".architectures.${ARCH}.artifacts.qemu.release") QCOW_URL=$(${OCPINSTALL} coreos print-stream-json | yq-v4 -oy ".architectures.${ARCH}.artifacts.qemu.formats[\"qcow2.gz\"].disk.location") - VOLUME_NAME="ocp-${BRANCH}-rhcos-${RHCOS_VERSION}-qemu.${ARCH}-$(date +%s).qcow2" + VOLUME_NAME="ocp-${BRANCH}-rhcos-${RHCOS_VERSION}-qemu.${ARCH}-${LEASED_RESOURCE}.qcow2" DOWNLOAD_NEW_IMAGE=true # Check if we need to update the source volume