--0__=C9BBF0FCDF8A98818f9e8a93df938690918cC9BBF0FCDF8A9881
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable
Hello,
I have installed oVirt engine 3.1 configured for non-local nfs ISO stor=
age
(Fedora 17 kernel 3.5.3-1.fc17.x86_64), one node with VDSM (same OS as
engine), server with targetcli (ISCSI) and NFS server as ISO Library
(CentOS 6.3).
There is NFS server configuration:
# cat /etc/exports
/nfs/iso 192.168.10.0/24
(rw,sync,no_subtree_check,all_squash,anonuid=3D36,anongid=3D36)
# cat /etc/sysconfig/nfs | grep -v "#"
NFS4_SUPPORT=3D"yes"
# ls -l /nfs/
drwxr-xr-x 3 vdsm kvm 4096 Sep 4 09:48 iso
# getsebool -a
getsebool: SELinux is disabled
# ps axu | grep nfs
root 8289 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd4=
]
root 8290 0.0 0.0 0 0 ? S 09:47 0:00
[nfsd4_callbacks]
root 8291 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8292 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8293 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8294 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8295 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8296 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8297 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8298 0.0 0.0 0 0 ? S 09:47 0:00 [nfsd]=
root 8555 0.0 0.0 103240 840 pts/0 S+ 10:46 0:00 grep n=
fs
# cat /etc/passwd | grep vdsm && cat /etc/group | grep kvm
vdsm:x:36:36::/home/vdsm:/bin/bash
kvm:x:36:
result of nfs-check program form hypervisor node as root (can't change =
user
to vdsm):
# python nfs-check.py storage.ovirt.com:/nfs/iso
Current hostname:
hyper1.ovirt.com - IP addr 192.168.10.11
Trying to /bin/mount -t nfs storage.ovirt.com:/nfs/iso...
Executing NFS tests..
Removing vdsmTest file..
Status of tests [OK]
Disconnecting from NFS Server..
Done!
result of nfs-check program form oVirt engine host as vdsm:
$ python nfs-check.py storage.ovirt.com:/nfs/iso
You must be root to run this script.
as root:
# python nfs-check.py storage.ovirt.com:/nfs/iso
Current hostname:
admin.ovirt.com - IP addr 192.168.10.10
Trying to /bin/mount -t nfs storage.ovirt.com:/nfs/iso...
Executing NFS tests..
Removing vdsmTest file..
Status of tests [OK]
Disconnecting from NFS Server..
Done!
When I try to create New Domain (Domain Function / Storage Type - ISO /=
NFS) Export Path: storage.ovirt.com:/nfs/iso - I have an error: A Reque=
st
to the Server failed with the following Status Code: 500.
After it I cant view some files on NFS server:
# find /nfs/iso/
/nfs/iso/
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/images
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/images/11111111-1111-1111=
-1111-111111111111
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/dom_md
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/dom_md/outbox
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/dom_md/metadata
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/dom_md/inbox
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/dom_md/leases
/nfs/iso/cca67860-4d58-4385-ba71-27fdfe21d0e9/dom_md/ids
vdsm log from hypervisor node:
http://195.58.6.45/shit/vdsm.log
engine log:
http://195.58.6.45/shit/engine.log
I have no iptables configured on any of my hosts.
How can I add an ISO share to my Data Center?
- -
Dmitriy Pyryakov
VimpelCom Ltd.=
--0__=C9BBF0FCDF8A98818f9e8a93df938690918cC9BBF0FCDF8A9881
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable
<html><body
<p><font
size=3D"3" face=3D"serif">Hello,</font><br
<br
<font size=3D"3"
face=3D"serif">I have installed oVirt engine 3.1 confi=
gured for non-local nfs ISO storage (Fedora 17 kernel 3.5.3-1.fc17.x86_=
64), one node with VDSM (same OS as engine), server with targetcli (ISC=
SI) and NFS server as ISO Library (CentOS 6.3).</font><br
<br
<font size=3D"3"
face=3D"serif">There is NFS server configuration:</fon=
t><br
<font size=3D"3"
face=3D"serif"># cat /etc/exports</font><br
<font size=3D"3"
face=3D"serif">/nfs/iso 192.168.10.0/24(rw,sync=
,no_subtree_check,all_squash,anonuid=3D36,anongid=3D36)</font><br
<br
<font size=3D"3"
face=3D"serif"># cat /etc/sysconfig/nfs | grep -v &quo=
t;#"</font><br
<font size=3D"3"
face=3D"serif">NFS4_SUPPORT=3D"yes"</font
<ul style=3D"padding-left: 0pt"><font
size=3D"2" face=3D"sans-serif"><b=
r
</font><font size=3D"3"
face=3D"serif"># ls -l /nfs/</font></ul
<font
size=3D"3" face=3D"serif">drwxr-xr-x 3 vdsm kvm 4096 Sep 4 09:48=
iso</font><br
<br
<font
size=3D"3" face=3D"serif"># getsebool -a</font><br
<font size=3D"3"
face=3D"serif">getsebool: SELinux is disabled</font><=
br
<br
<font size=3D"3"
face=3D"serif"># ps axu | grep nfs</font><br
<font size=3D"3" face=3D"serif">root
8289 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd4]</font><br
<font
size=3D"3" face=3D"serif">root 8290 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd4_callbacks]</font><br
<font size=3D"3" face=3D"serif">root
8291 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8292 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8293 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8294 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8295 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8296 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8297 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8298 0.0 0.0 0 0 ?=
S 09:47 0:00 [nfsd]</font><br
<font
size=3D"3" face=3D"serif">root 8555 0.0 0.0 103240 840 p=
ts/0 S+ 10:46 0:00 grep nfs</font><br
<br
<font size=3D"3"
face=3D"serif"># cat /etc/passwd | grep vdsm &&=
; cat /etc/group | grep kvm</font><br
<font
size=3D"3"
face=3D"serif">vdsm:x:36:36::/home/vdsm:/bin/bash</fon=
t><br
<font size=3D"3"
face=3D"serif">kvm:x:36:</font><br
<br
<font size=3D"3"
face=3D"serif">result of </font><font size=3D"3" face=3D=
"serif">nfs-check program form hypervisor node as root (can't change us=
er to vdsm):</font><br
<font size=3D"2"
face=3D"sans-serif"># python nfs-check.py storage.ovir=
t.com:/nfs/iso</font><br
<font size=3D"2"
face=3D"sans-serif">Current hostname: hyper1.ovirt.com=
- IP addr 192.168.10.11</font><br
<font
size=3D"2" face=3D"sans-serif">Trying to /bin/mount -t nfs storag=
e.ovirt.com:/nfs/iso...</font><br
<font
size=3D"2" face=3D"sans-serif">Executing NFS
tests..</font><br
<font size=3D"2"
face=3D"sans-serif">Removing vdsmTest file..</font><br=
<font size=3D"2"
face=3D"sans-serif">Status of tests [OK]</font><br
<font size=3D"2"
face=3D"sans-serif">Disconnecting from NFS Server..</f=
ont><br
<font size=3D"2"
face=3D"sans-serif">Done! </font><br
<br
<font size=3D"3"
face=3D"serif">result of nfs-check program form </font=
<font size=3D"2" face=3D"sans-serif">oVirt
engine host as vdsm:</font>=
<br
<font
size=3D"2" face=3D"sans-serif">$ python nfs-check.py storage.ovir=
t.com:/nfs/iso</font><br
<font size=3D"2"
face=3D"sans-serif">You must be root to run this scrip=
t.</font><br
<br
<font
size=3D"2" face=3D"sans-serif">as root:</font><br
<br
<font size=3D"2"
face=3D"sans-serif"># python nfs-check.py storage.ovir=
t.com:/nfs/iso</font><br
<font size=3D"2"
face=3D"sans-serif">Current hostname:
admin.ovirt.com =
- IP addr 192.168.10.10</font><br
<font
size=3D"2" face=3D"sans-serif">Trying to /bin/mount -t nfs storag=
e.ovirt.com:/nfs/iso...</font><br
<font
size=3D"2" face=3D"sans-serif">Executing NFS
tests..</font><br
<font size=3D"2"
face=3D"sans-serif">Removing vdsmTest file..</font><br=
<font size=3D"2"
face=3D"sans-serif">Status of tests [OK]</font><br
<font size=3D"2"
face=3D"sans-serif">Disconnecting from NFS Server..</f=
ont><br
<font size=3D"2"
face=3D"sans-serif">Done!</font><br
<br
<font size=3D"2"
face=3D"sans-serif">When I try to create New Domain (D=
omain Function / Storage Type - ISO / NFS) Export Path: storage.ovirt.c=
om:/nfs/iso - I have an error: A Request to the Server failed with the =
following Status Code: 500.</font><br
<font
size=3D"2" face=3D"sans-serif">After it I cant view some files on=
NFS server:</font><br
<font size=3D"2"
face=3D"sans-serif"># find /nfs/iso/</font><br
<font size=3D"2"
face=3D"sans-serif">/nfs/iso/</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9</font><br
<font size=3D"2"
face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/images</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/images/11111111-1111-1111-1111-111111111111</font><br
<font size=3D"2"
face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/dom_md</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/dom_md/outbox</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/dom_md/metadata</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/dom_md/inbox</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/dom_md/leases</font><br
<font
size=3D"2" face=3D"sans-serif">/nfs/iso/cca67860-4d58-4385-ba71-2=
7fdfe21d0e9/dom_md/ids </font><br
<br
<font size=3D"2"
face=3D"sans-serif">vdsm log from hypervisor node: </f=
ont><a href=3D"http://195.58.6.45/shit/vdsm.log"><font
size=3D"3" color=
=3D"#0000FF"
face=3D"serif"><u>http://195.58.6.45/shit/vdsm.log</u></fo=
nt></a><br
<font size=3D"2"
face=3D"sans-serif">engine log: </font><a href=3D"http=
://195.58.6.45/shit/engine.log"><font size=3D"3"
color=3D"#0000FF" face=
=3D"serif"><u>http://195.58.6.45/shit/engine.log</u></font></a><br
<br
<font size=3D"2"
face=3D"sans-serif">I have no iptables configured on a=
ny of my hosts.</font><br
<br
<font
size=3D"2" face=3D"sans-serif">How can I add an ISO share to my D=
ata Center?</font><br
<font size=3D"2"
face=3D"sans-serif"> <br
-
-<br
Dmitriy Pyryakov</font><br
<font size=3D"2"
face=3D"sans-serif">VimpelCom Ltd.</font></body></html=
=
--0__=C9BBF0FCDF8A98818f9e8a93df938690918cC9BBF0FCDF8A9881--