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.
An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately.
Description of problem:
I just tried to build a virtual machine installing from a boot floppy but virt-install crashed with this error:
libvirtError: internal error unknown boot device 'floppy'
The full backtrace is below.
This patch fixed the problem for me:
http://hg.fedorahosted.org/hg/python-virtinst/rev/4d0ea2274ffd
Version-Release number of selected component (if applicable):
python-virtinst-0.500.3-7.el6.noarch
How reproducible:
every time
Steps to Reproduce:
1. virt-install -n myvm -r 512 --vcpus=1 \
--os-type=other --os-variant=msdos \
--network bridge=br0 --vnc --noautoconsole \
--import \
--disk path=/tmp/boot.img,device=floppy \
--disk path=/var/lib/libvirt/images/myvm.img,size=4
Actual results:
Starting install...
ERROR internal error unknown boot device 'floppy'
...
libvirtError: internal error unknown boot device 'floppy'
Expected results:
new virtual machine boots from floppy
Additional info:
Starting install...
ERROR internal error unknown boot device 'floppy'
Domain installation does not appear to have been
successful. If it was, you can restart your domain
by running 'virsh start myvm'; otherwise, please
restart your installation.
ERROR internal error unknown boot device 'floppy'
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 1054, in <module>
main()
File "/usr/sbin/virt-install", line 936, in main
start_time, guest.start_install)
File "/usr/sbin/virt-install", line 978, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 973, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1038, in _do_install
"install")
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1022, in _create_guest
self.domain = self.conn.defineXML(final_xml)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1292, in defineXML
if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: internal error unknown boot device 'floppy'
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
* An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately. (BZ#672987)
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-* An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately. (BZ#672987)+An error would occur and the installation would stop when instructing virt-install to build a virtual machine from a boot floppy by specifying device=floppy. This fix ensures that device=floppy is working appropriately.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHBA-2011-0636.html
Description of problem: I just tried to build a virtual machine installing from a boot floppy but virt-install crashed with this error: libvirtError: internal error unknown boot device 'floppy' The full backtrace is below. This patch fixed the problem for me: http://hg.fedorahosted.org/hg/python-virtinst/rev/4d0ea2274ffd Version-Release number of selected component (if applicable): python-virtinst-0.500.3-7.el6.noarch How reproducible: every time Steps to Reproduce: 1. virt-install -n myvm -r 512 --vcpus=1 \ --os-type=other --os-variant=msdos \ --network bridge=br0 --vnc --noautoconsole \ --import \ --disk path=/tmp/boot.img,device=floppy \ --disk path=/var/lib/libvirt/images/myvm.img,size=4 Actual results: Starting install... ERROR internal error unknown boot device 'floppy' ... libvirtError: internal error unknown boot device 'floppy' Expected results: new virtual machine boots from floppy Additional info: Starting install... ERROR internal error unknown boot device 'floppy' Domain installation does not appear to have been successful. If it was, you can restart your domain by running 'virsh start myvm'; otherwise, please restart your installation. ERROR internal error unknown boot device 'floppy' Traceback (most recent call last): File "/usr/sbin/virt-install", line 1054, in <module> main() File "/usr/sbin/virt-install", line 936, in main start_time, guest.start_install) File "/usr/sbin/virt-install", line 978, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 973, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1038, in _do_install "install") File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 1022, in _create_guest self.domain = self.conn.defineXML(final_xml) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1292, in defineXML if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) libvirtError: internal error unknown boot device 'floppy'