Description of problem:
I attempted to install a guest from virt-manager, selecting a volume from an iSCSI storage pool. This resulted in virtinst creating XML for the disk that looked like
<disk type='block' device='disk'>
<driver name='qemu' type='unknown'/>
<target dev='vda' bus='virtio'/>
Note the type='unknown'.
What's going on is that VirtualDisk.py is copying the vol/target/format/@type field from the volume XML across to the guest XML.
It should only do this for volumes that report type=file. For volumes of type=block, the format refers to the partition table format, so the guest XML should just get type='raw'
One quick hack change I tried in VirtualDisk.py set_driver() is:
fmt = None
if self.type != VirtualDisk.TYPE_BLOCK:
fmt = _util.get_xml_path(self.vol_object.XMLDesc(0),
if drvname == self.DRIVER_QEMU:
drvtype = _qemu_sanitize_drvtype(self.type, fmt)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
*** Bug 652000 has been marked as a duplicate of this bug. ***
sorry for the duplicate, i searched for isci in libvirt...
any idea when this will be fixed? now that rhel6 is out :-)
or should I just apply that hack?
If you have a problem with this on RHEL6 too, please file a BZ directly against RHEL6 product rather than just Fedora.
no that's not what I meant. I meant that you might have some more time now that rhel6 is out :-)
haven't tried rhel6 yet, am a bit low on subscriptions :-)
Thanks for the report, fixed upstream:
*** Bug 669935 has been marked as a duplicate of this bug. ***
python-virtinst-0.500.6-1.fc14 has been submitted as an update for Fedora 14.
python-virtinst-0.500.4-2.fc13 has been submitted as an update for Fedora 13.
* should fix your issue,
* was pushed to the Fedora 13 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-virtinst-0.500.4-2.fc13'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-virtinst-0.500.4-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
python-virtinst-0.500.6-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.