Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 593193 - [vdsm] [libvirt intg] nfs over root_squash (cannot start domain over nfs)
Summary: [vdsm] [libvirt intg] nfs over root_squash (cannot start domain over nfs)
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Daniel Berrange
QA Contact: Virtualization Bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-18 06:23 UTC by Haim
Modified: 2014-01-13 00:46 UTC (History)
12 users (show)

Fixed In Version: libvirt-0.8.1-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-07-02 19:33:42 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Haim 2010-05-18 06:23:15 UTC
Description of problem:

we seem to have a regression on latest libvirt build: libvirt-0.8.1-4.el6.x86_64, as I cannot start domain over nfs storage using libvirt. 

Get the following error: 

(03:32:26 PM) danken: 14:43:01.119: error : qemuSetupDiskCgroup:3390 : Unable to allow device /rhev/data-center/fb89b279-1019-456b-be42-fb4d35587970/cfc7045f-89b5-4f67-96e6-15e3bc3b0f31/images/2a2a0442-a041-499d-8915-ab23318138a0/dc86136a-3718-4f3a-ba44-17effc0af5b9 for libvirt-nfs2-desk-06: Permission denied

also have to keep security_driver=none, or else I get
(03:35:32 PM) danken: 15:34:38.005: error : SELinuxSetFilecon:339 : unable to set security context 'system_u:object_r:svirt_image_t:s0:c257,c620' on '/rhev/data-center/fb89b279-1019-456b-be42-fb4d35587970/cfc7045f-89b5-4f67-96e6-15e3bc3b0f31/images/2a2a0442-a041-499d-8915-ab23318138a0/dc86136a-3718-4f3a-ba44-17effc0af5b9': Permission denied
15:34:38.012: error : qemuSetupDiskCgroup:3390 : Unable to allow device /rhev/data-center/fb89b279-1019-456b-be42-fb4d35587970/cfc7045f-89b5-4f67-96e6-15e3bc3b0f31/images/2a2a0442-a041-499d-8915-ab23318138a0/dc86136a-3718-4f3a-ba44-17effc0af5b9 for libvirt-nfs2-desk-06: Permission denied
(03:35:32 PM) danken: 15:34:38.063: error : SELinuxRestoreSecurityFileLabel:369 : cannot stat (null): Bad address

Version-Release number of selected component (if applicable):


How reproducible: always 

Steps to Reproduce: 100%
1. create a new domain using nfs storage 
2. start new domain in virsh

Comment 3 Laine Stump 2010-05-18 14:21:22 UTC
I believe Dan Berrange knows the cause of this and has a fix.

Comment 5 Dave Allan 2010-05-19 16:36:22 UTC
libvirt-0.8.1-6.el6 has been built in RHEL-6-candidate with the fix


Comment 7 Haim 2010-06-08 07:44:59 UTC
verified on libvirt-0.8.1-7.el6.x86_64. 

manage to start domain over nfs storage domain

package versions: 


Comment 8 2010-07-02 19:33:42 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

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