Bug 915349
Summary: | Libvirt is not relabelling qcow2 backing files | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Chris Pelland <cpelland> |
Component: | libvirt | Assignee: | Eric Blake <eblake> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.4 | CC: | acathrow, berrange, cpelland, dallan, dpaikov, dprince, dwalsh, dyasny, dyuan, eblake, ftaylor, jdenemar, jhenner, lhh, lsu, michele, mzhan, ndipanov, ohochman, pep, pm-eus, pspacek, rbryant, rjones, rwu, whuang, zhpeng |
Target Milestone: | rc | Keywords: | Regression, Triaged, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.10.2-18.el6_4.2 | Doc Type: | Bug Fix |
Doc Text: |
Cause: In RHEL 6.4, libvirt started caching storage file backing chains. However, the code only populated the cache when cgroups were in use.
Consequence: Without cgroups, a missing cache meant sVirt was unable to properly label backing chain files, preventing guest startup.
Fix: Populating the cache was moved earlier, independent of cgroups.
Result: More efficient sVirt operations, regardless of cgroups.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-21 13:46: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: | 896013 | ||
Bug Blocks: |
Description
Chris Pelland
2013-02-25 15:05:20 UTC
*** Bug 919074 has been marked as a duplicate of this bug. *** *** Bug 910806 has been marked as a duplicate of this bug. *** The patch resolved the AVCs in 910806 / 919074 Verify this bug with: libvirt-0.10.2-18.el6_4.1.x86_64 qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64 1)stop cgroup service #service cgconfig stop 2) restart libvirtd service #service libvirtd restart 3) start a domain #virsh start bug Domain bug started 4) create a disk-only snapshot # virsh snapshot-create-as --disk-only bug s1 Domain snapshot s1 created 5)check images ]# ll -Z /mnt/sda5/images/bug.* -rw-------. qemu qemu unconfined_u:object_r:svirt_image_t:s0:c100,c954 /mnt/sda5/images/bug.img -rw-------. qemu qemu unconfined_u:object_r:svirt_image_t:s0:c100,c954 /mnt/sda5/images/bug.s1 6)restart guest # virsh destroy bug Domain bug destroyed # virsh start bug Domain bug started 7)# service cgconfig status Stopped The patch for this bug causes a regression (bug 922683), which we need to fix. Back in POST to pull in the regression fix: http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-March/msg00195.html Verify this bug with : libvirt-0.10.2-18.el6_4.2.x86_64 vdsm-4.10.2-1.8.el6ev.x86_64 scenario 1: PASS 1)stop cgroup service #service cgconfig stop 2) restart libvirtd service #service libvirtd restart 3) start a domain #virsh start bug Domain bug started 4) create a disk-only snapshot # virsh snapshot-create-as --disk-only bug s3 Domain snapshot s3 created 6)restart guest # virsh destroy bug Domain bug destroyed # virsh start bug Domain bug started 7)# service cgconfig status Stopped scenario 2(BZ 922683): PASS 1.Prepare a iscsi storage in rhevm , install a guest in it 2.Active a iso domain , add it's iso into the guest 3.inActive the iso domain , then migrate the guest it can succeed Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0664.html *** Bug 957276 has been marked as a duplicate of this bug. *** *** Bug 973160 has been marked as a duplicate of this bug. *** |