Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
There's a similar against upstream libvirt: https://bugzilla.redhat.com/show_bug.cgi?id=972784
virsh vol-clone [isovol] fails as well. I think the best thing to do is teach libvirt that format=iso should just be format=raw when we pass the format to qemu-img
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2018:0704
Description of problem: Failed to force clone a guest with ISO file Version-Release number of selected component (if applicable): virt-manager-1.4.0-2.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Prepare a guest with a cdrom disk. <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/rhel7.3-3.qcow2'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/root/SLE-12-SP1-Server-DVD-x86_64-GM-DVD1.iso'/> <target dev='hda' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> 2. Clone the guest by below command. # virt-clone -o rhel7.3 -n testclone -f /var/lib/libvirt/images/rhel7.3-3.qcow2 -f /root/SLE-12-SP1-Server-DVD-x86_64-GM-DVD1.iso --debug --force-copy=hda Actual results: RuntimeError: Couldn't create storage volume 'cloned.iso': 'internal error: Child process (/usr/bin/qemu-img convert -f iso -O iso /root/SLE-12-SP1-Server-DVD-x86_64-GM-DVD1.iso /tmp/cloned.iso) unexpected exit status 1: qemu-img: Could not open '/root/SLE-12-SP1-Server-DVD-x86_64-GM-DVD1.iso': Unknown driver 'iso' Expected results: virt-clone should run successfully. Additional info: