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 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)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 581275
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:
Environment:
Last Closed: 2010-07-02 19:33:42 UTC
Target Upstream Version:
Embargoed:


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):

vdsm-4.9-6.el6.x86_64
libvirt-0.8.1-4.el6.x86_64
qemu-kvm-0.12.1.2-2.53.el6.x86_64


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

Dave

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: 

vdsm-4.9-8.el6.x86_64
libvirt-0.8.1-7.el6.x86_64
qemu-kvm-0.12.1.2-2.69.el6.x86_64
2.6.32-33.el6.x86_64

Comment 8 releng-rhel@redhat.com 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.