Re: [Users] Hey using NFS as my main datastore

2012-02-13 Thread Deepak C Shetty

On 02/10/2012 03:28 AM, Douglas Landgraf wrote:

Hi Dominic,

On 02/09/2012 01:49 PM, Dominic Kaiser wrote:
So I have fixed it!  Thanks Itamar!  It was chown -R 36:36 /path to 
my shared folder.  I should have looked at the ovirt wiki also: 
http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues.  So all 
NFS shares up and my virtual servers are starting.


Hi Dominic,
I had the same perm denied issue even after having all the 
user.group stuff right.

It ended up as VDSM not setting the selinux policy.
It went away for me after running `setsebool virt_use_nfs 1`
Strangely, this is not mentioned in the above troubleshooting 
guide/link, let me see if i can add it.


Nice! Next time something similar happens, you might want to try 
nfs-check script:
http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=commitdiff;h=578cfe90239d5c3f6f11f1fc063c148606e991dc 



Thanks!



Hi Doug,
I saw the script, it just gives a hint to check selinux booleans, 
but doesn't go into specific
as to which booleans need to be set. Is there any other place in the 
ovirt wiki where
the selinux booleans are mentioned so that users can map it to their 
setup and make

changes accordingly to match it as mentioned in the wiki ?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Hey using NFS as my main datastore

2012-02-09 Thread Dominic Kaiser
So I have fixed it!  Thanks Itamar!  It was chown -R 36:36 /path to my
shared folder.  I should have looked at the ovirt wiki also:
http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues.  So all NFS
shares up and my virtual servers are starting.

Dominic

On Thu, Feb 9, 2012 at 12:41 PM, Dominic Kaiser
domi...@bostonvineyard.orgwrote:

 I am using NFS share on an Openfile server as my main datastore went to
 fire up a virtual instance this is the error I get:

 VM Building_Automation is down. Exit message internal error process exited
 while connecting to monitor: qemu-kvm: -drive
 file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c,if=none,id=drive-virtio-disk0,format=raw,serial=0e-a017-b09f8cfa9410,cache=none,werror=stop,rerror=stop,aio=threads:
 could not open disk image
 /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c:
 Permission denied .

 Does vdsm have to be installed on the server that shares the main
 datastore?  Export and ISO are fine no problems.


 --
 Dominic Kaiser
 Greater Boston Vineyard
 Director of Operations

 cell: 617-230-1412
 fax: 617-252-0238
 email: domi...@bostonvineyard.org





-- 
Dominic Kaiser
Greater Boston Vineyard
Director of Operations

cell: 617-230-1412
fax: 617-252-0238
email: domi...@bostonvineyard.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Hey using NFS as my main datastore

2012-02-09 Thread Haim Ateya


- Original Message -

From: Itamar Heim ih...@redhat.com 
To: Dominic Kaiser domi...@bostonvineyard.org 
Cc: users@ovirt.org 
Sent: Thursday, February 9, 2012 7:44:54 PM 
Subject: Re: [Users] Hey using NFS as my main datastore 

On 02/09/2012 07:41 PM, Dominic Kaiser wrote: 
 I am using NFS share on an Openfile server as my main datastore went to 
 fire up a virtual instance this is the error I get: 
 
 VM Building_Automation is down. Exit message internal error process 
 exited while connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c,if=none,id=drive-virtio-disk0,format=raw,serial=0e-a017-b09f8cfa9410,cache=none,werror=stop,rerror=stop,aio=threads:
  
 could not open disk image 
 /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c:
  
 Permission denied . 
It might be an selinux issue, please run the following: 

1) run getenforce - if getenforce == enforcing, please run 'setenforce 0' and 
re-run the vm 
2) ls -Zl 
/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/340dad49-2ec7-475e-b6c6-668504bdb5b1/images/da582689-2248-4d0e-a017-b09f8cfa9410/78340ab7-b1f5-4fad-9150-437e7ff9d14c
 
3) rpm -qa | egrep selinux|qemu-kvm|vdsm|libvirt 



 
 Does vdsm have to be installed on the server that shares the main 
 datastore? Export and ISO are fine no problems. 

no need (say you would use a netapp, you couldn't install vdsm on it). 
but you get a permission denied. 
what does ls -l shows on that path? 


___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Hey using NFS as my main datastore

2012-02-09 Thread Douglas Landgraf

Hi Dominic,

On 02/09/2012 01:49 PM, Dominic Kaiser wrote:
So I have fixed it!  Thanks Itamar!  It was chown -R 36:36 /path to my 
shared folder.  I should have looked at the ovirt wiki also: 
http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues.  So all 
NFS shares up and my virtual servers are starting.


Nice! Next time something similar happens, you might want to try 
nfs-check script:

http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=commitdiff;h=578cfe90239d5c3f6f11f1fc063c148606e991dc

Thanks!

--
Cheers
Douglas

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users