Re: [ovirt-users] Configuring an ISO domain in RHEV 4.0

2017-01-25 Thread paul.greene.va
Thanks - that did it. I noticed the selinux contexts were all different 
for the files/folders created by the RHEV manager. Is it safe to assume 
if I use the RHEV manager to move files around that the selinux contexts 
will automatically get set to the correct permissions?



On 1/25/2017 3:44 PM, Gianluca Cecchi wrote:



Il 25/Gen/2017 21:32, "paul.greene.va " 
> ha 
scritto:


I'm trying to get an ISO domain configured in a new RHEVM manager.
I did not configure it during the initial ovirt-engine-setup, and
am manually configuring it after the fact.

I created an NFS share in /var/lib/exports/iso and dropped a
couple of files in there from elsewhere, just for testing purposes.

On a client system, I can mount the NFS share, but it appears empty.

On the RHEV manager when I try to add an ISO domain, I get this
error message:

"Error while executing action Add Storage Connection: Permission
settings on the specified path do not allow access to the storage.
Verify permission settings on the specified storage path."


Ownership of root directory of nfS mount point should be 36:36. And 
all empty without other files/directories.

In general follow this
http://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/
Hih,
Gianluca


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


Re: [ovirt-users] Configuring an ISO domain in RHEV 4.0

2017-01-25 Thread Beckman, Daniel
Hi Paul,

Run this:
chown 36:36 /var/lib/exports/iso

Try adding it again in RHEV/oVirt manager. When you add it, it will create a 
directory structure underneath your NFS share – something like /images/----/, which is where you need to 
put the ISO (or VFD for floppy images) files. And be sure they’re always owned 
by 36:36. If you use engine-iso-uploader it will handle that for you.

Daniel

From: <users-boun...@ovirt.org> on behalf of "paul.greene.va" 
<paul.greene...@verizon.net>
Date: Wednesday, January 25, 2017 at 1:31 PM
To: users <users@ovirt.org>
Subject: [ovirt-users] Configuring an ISO domain in RHEV 4.0


I'm trying to get an ISO domain configured in a new RHEVM manager. I did not 
configure it during the initial ovirt-engine-setup, and am manually configuring 
it after the fact.

I created an NFS share in /var/lib/exports/iso and dropped a couple of files in 
there from elsewhere, just for testing purposes.

On a client system, I can mount the NFS share, but it appears empty.

On the RHEV manager when I try to add an ISO domain, I get this error message:

"Error while executing action Add Storage Connection: Permission settings on 
the specified path do not allow access to the storage.
Verify permission settings on the specified storage path."

I suspect the selinux permissions aren't set right. This is what they are 
currently configured to:

On the folder itself
[root@hostname iso]# ll -dZ .
drwxr-xr-x. root root system_u:object_r:nfs_t:s0

On the two files in the folder:

[root@hostname iso]# ll -Z
-rwxrw-rw-. root root unconfined_u:object_r:nfs_t:s0 
sosreport-LogCollector-20170117092344.tar.xz
-rwxrw-rw-. root root unconfined_u:object_r:nfs_t:s0 test.txt

Is this correct? If not what should they be set to?

Thanks

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


Re: [ovirt-users] Configuring an ISO domain in RHEV 4.0

2017-01-25 Thread Gianluca Cecchi
Il 25/Gen/2017 21:32, "paul.greene.va"  ha
scritto:

I'm trying to get an ISO domain configured in a new RHEVM manager. I did
not configure it during the initial ovirt-engine-setup, and am manually
configuring it after the fact.

I created an NFS share in /var/lib/exports/iso and dropped a couple of
files in there from elsewhere, just for testing purposes.

On a client system, I can mount the NFS share, but it appears empty.

On the RHEV manager when I try to add an ISO domain, I get this error
message:

"Error while executing action Add Storage Connection: Permission settings
on the specified path do not allow access to the storage.
Verify permission settings on the specified storage path."


Ownership of root directory of nfS mount point should be 36:36. And all
empty without other files/directories.
In general follow this
http://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/
Hih,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Configuring an ISO domain in RHEV 4.0

2017-01-25 Thread paul.greene.va
I'm trying to get an ISO domain configured in a new RHEVM manager. I did 
not configure it during the initial ovirt-engine-setup, and am manually 
configuring it after the fact.


I created an NFS share in /var/lib/exports/iso and dropped a couple of 
files in there from elsewhere, just for testing purposes.


On a client system, I can mount the NFS share, but it appears empty.

On the RHEV manager when I try to add an ISO domain, I get this error 
message:


"Error while executing action Add Storage Connection: Permission 
settings on the specified path do not allow access to the storage.

Verify permission settings on the specified storage path."

I suspect the selinux permissions aren't set right. This is what they 
are currently configured to:


On the folder itself
[root@hostname iso]# ll -dZ .
drwxr-xr-x. root root system_u:object_r:nfs_t:s0

On the two files in the folder:

[root@hostname iso]# ll -Z
-rwxrw-rw-. root root unconfined_u:object_r:nfs_t:s0 
sosreport-LogCollector-20170117092344.tar.xz

-rwxrw-rw-. root root unconfined_u:object_r:nfs_t:s0 test.txt

Is this correct? If not what should they be set to?

Thanks

Paul

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