|
Bugzilla – Full Text Bug Listing |
| Summary: | libvirt: unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Martin Pluskal <mpluskal> |
| Component: | Basesystem | Assignee: | Charles Arnold <carnold> |
| Status: | RESOLVED FIXED | QA Contact: | Jason Douglas <jdouglas> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | brogers, jfehlig |
| Version: | 201411* | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | virt-manager --debug | ||
|
Description
Martin Pluskal
2014-11-26 13:53:03 UTC
Looks like virtinst-set-cache-mode-unsafe-for-install.patch is not quite smart enough to handle block devices. From set_defaults() in virtinst/devicedisk.py
# Enable cache=none and io=native for block devices. Would
# be nice if qemu did this for us but that time has long passed.
if not self.driver_cache:
self.driver_cache = self.CACHE_MODE_NONE
if not self.driver_io:
self.driver_io = self.IO_MODE_NATIVE
And if I understand the code correctly, virtinst-set-cache-mode-unsafe-for-install.patch will change the cache mode to 'unsafe' during install phase, which seems to be the cased based on the disk config in the install XML from the virt-manager log file
<disk type="block" device="disk">
<driver name="qemu" type="raw" cache="unsafe" io="native"/>
<source dev="/dev/storage/openSUSE-Factory"/>
<target dev="vda" bus="virtio"/>
</disk>
Unfortunately, as noted in the error, io='native' is only compatible with cache='none' or cache='directsync'.
Passing to Charles to take a look...
Virt-manager will now skip setting 'unsafe' for any install target that is a block device. Thanks Jim for tracking this down. This change is pushed out to the Virtualization repo and will be in a future SLE12 maintenance release. Marking Fixed. Fixed. openSUSE-RU-2014:1705-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 900320,907319,907324,907958,909225 CVE References: Sources used: openSUSE 13.2 (src): virt-manager-1.0.1-14.11.1 SUSE-RU-2015:1405-1: An update that has 10 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 900320,901869,907319,907324,907958,909225,909602,910929,934270,937386 CVE References: Sources used: SUSE Linux Enterprise Server 12 (src): virt-manager-1.0.1-17.3.1 SUSE Linux Enterprise Desktop 12 (src): virt-manager-1.0.1-17.3.1 |