RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 915349 - Libvirt is not relabelling qcow2 backing files
Summary: Libvirt is not relabelling qcow2 backing files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.4
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Eric Blake
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 910806 919074 957276 973160 (view as bug list)
Depends On: 896013
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 15:05 UTC by Chris Pelland
Modified: 2016-04-26 15:39 UTC (History)
27 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-03-21 13:46:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0664 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2013-03-21 17:37:54 UTC

Description Chris Pelland 2013-02-25 15:05:20 UTC
This bug has been copied from bug #896013 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 6 Lon Hohberger 2013-03-08 21:18:01 UTC
*** Bug 919074 has been marked as a duplicate of this bug. ***

Comment 7 Lon Hohberger 2013-03-08 21:19:59 UTC
*** Bug 910806 has been marked as a duplicate of this bug. ***

Comment 8 Lon Hohberger 2013-03-08 21:24:36 UTC
The patch resolved the AVCs in 910806 / 919074

Comment 11 Huang Wenlong 2013-03-18 05:48:43 UTC
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

Comment 12 Jiri Denemark 2013-03-18 14:58:36 UTC
The patch for this bug causes a regression (bug 922683), which we need to fix.

Comment 13 Jiri Denemark 2013-03-18 15:01:47 UTC
Back in POST to pull in the regression fix: http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-March/msg00195.html

Comment 15 Huang Wenlong 2013-03-19 05:19:47 UTC
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

Comment 17 errata-xmlrpc 2013-03-21 13:46:42 UTC
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

Comment 18 Alan Pevec 2013-04-29 08:40:52 UTC
*** Bug 957276 has been marked as a duplicate of this bug. ***

Comment 19 Alan Pevec 2013-06-11 14:07:05 UTC
*** Bug 973160 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.