Bug 1157688

Summary: External luns may loose the libvirt selinux label if a udev change event is triggered
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: vdsmAssignee: Nir Soffer <nsoffer>
Status: CLOSED ERRATA QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: acanan, amureini, bazulay, ecohen, eedri, gklein, iheim, juwu, lpeer, lsurette, mgoldboi, nsoffer, rbalakri, scohen, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.4.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: vdsm-4.14.18-1.el6ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1157252 Environment:
Last Closed: 2014-12-02 20:27:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1157252    
Bug Blocks:    

Comment 2 Eyal Edri 2014-10-28 14:08:42 UTC
i believe this can move to modified? can you please update the tracker in the bug?

Comment 3 Elad 2014-11-18 11:09:35 UTC
Attached 2 direct LUNs to a VM (one iSCSI and one FC). Then triggered a change event on the devices:

udevadm trigger --verbose --action change --property-match=3514f0c54476003c7

Then checked:

[root@green-vdsa dev]# multipath -ll |grep dm-71
3514f0c54476003c7 dm-71 XtremIO,XtremApp

[root@green-vdsa dev]# ls -Z |grep dm-71
brw-rw----. vdsm qemu    system_u:object_r:svirt_image_t:s0:c595,c996 dm-71

External LUNs does not loose the libvirt selinux svirt label.


Veified using rhev3.4.4 av13.1

Comment 4 Julie 2014-11-24 03:40:59 UTC
Hi Allon,
If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format:

Cause:
Consequence:
Fix:
Result:

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Many thanks,
Julie

Comment 5 Allon Mureinik 2014-11-24 05:36:43 UTC
I flagged required-doctext- - no documentation is required here.

Comment 7 errata-xmlrpc 2014-12-02 20:27:51 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.

https://rhn.redhat.com/errata/RHBA-2014-1946.html