Bug 1074528

Summary: storage volume XML does not escape reserved XML characters
Product: [Fedora] Fedora Reporter: Cole Robinson <crobinso>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: berrange, clalancette, itamar, jforbes, jyang, laine, libvirt-maint, petersen, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-1.1.3.4-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-19 08:41:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cole Robinson 2014-03-10 13:20:19 UTC
If a file volume in a directory pool has an & character in its name, libvirt doesn't escape the & when generating the volume XML, meaning the XML is invalid and virt-manager/libxml2 can't parse it.

There's already a patch upstream, we just need it in Fedora 20:

commit 6cc4d6a3fe82653c607c4f159901790298e80e1f
Author: Eric Blake <eblake>
Date:   Wed Nov 20 17:04:05 2013 -0700

    storage: use valid XML for awkward volume names

Comment 1 Fedora Update System 2014-03-10 14:46:01 UTC
libvirt-1.1.3.4-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libvirt-1.1.3.4-3.fc20

Comment 2 Fedora Update System 2014-03-11 04:01:07 UTC
Package libvirt-1.1.3.4-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.1.3.4-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3702/libvirt-1.1.3.4-3.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-03-19 08:41:21 UTC
libvirt-1.1.3.4-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.