Bug 800253
Summary: | [libvirt] missing 'source file' attribute when passing 'optional' param in xml | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Haim <hateya> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | abaron, berrange, clalancette, crobinso, dallan, danken, dougsland, ewarszaw, itamar, jforbes, jyang, laine, libvirt-maint, mgoldboi, veillard, virt-maint, xen-maint, yeylon |
Target Milestone: | --- | Keywords: | TestBlocker |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-07 19:55:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 805411 |
Description
Haim
2012-03-06 07:07:59 UTC
We need to backport the following upstream commit to F16: commit b90d4722a5dcf30986f520a4674976f3a55b06ad Author: Michal Privoznik <mprivozn> Date: Wed Feb 22 09:55:27 2012 +0100 util: Fix virFileAccessibleAs return path from parent Despite documentation, if we do fork() parent always returns -1 even if file is accessible. Which is wrong obviously. On further investigation - that patch doesn't apply to libvirt in Fedora 16 (0.9.6) because the function virFileAccessibleAs doesn't yet exist, nor does the caller of that function (qemuDomainCheckDiskPresence). This is going to need a farther-reaching (or at least different) backport than the one patch indicated above. To figure out what needs to be backported, can you provide the error log produced when running libvirt-0.9.6 (the version that's in Fedora 16)? (In reply to comment #2) > On further investigation - that patch doesn't apply to libvirt in Fedora 16 > (0.9.6) because the function virFileAccessibleAs doesn't yet exist, nor does > the caller of that function (qemuDomainCheckDiskPresence). > > This is going to need a farther-reaching (or at least different) backport than > the one patch indicated above. To figure out what needs to be backported, can > you provide the error log produced when running libvirt-0.9.6 (the version > that's in Fedora 16)? 2012-03-21 08:25:32.554+0000: 3279: debug : qemuDomainCheckDiskPresence:1737 : Dropping disk 'hdc' on domain 'MyVm3-0-Windows' (UUID '301d5fdb-cb3c-4c17-81ce-98f0e654b023') due to inaccessible source '/rhev/data-center/fcb97cf1-42f3-4a2 d-90fa-f320f216f483/2612f0b2-8310-4d1f-adba-b708eb95f5cf/images/11111111-1111-1111-1111-111111111111/en_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-73974.iso' startupPolicy is even not supported on f16, if we want to support it, we have to backport the whole patches for startupPolicy and a bunch of follow up small problem fixing patches. Much conflicts, and it might casue regression or something like risk, so I'd think we should fix the problem on f17 instead, f17 already supported the startupPolicy, but just doesn't work well for the bug. *** Bug 805411 has been marked as a duplicate of this bug. *** Yeah, this isn't backport material IMO. If vdsm is wants to support multiple versions of libvirt it will need to tease these issues out. |