[Users] Ovirt 3.1: Failed to add Storage Domain

Dmitriy A Pyryakov DPyryakov at ekb.beeline.ru
Tue Sep 4 05:30:10 UTC 2012



Hello,

I have installed oVirt engine 3.1 configured 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 (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=36,anongid=36)

# cat /etc/sysconfig/nfs | grep -v "#"
NFS4_SUPPORT="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 nfs

# 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 Request
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120904/16d7b8f4/attachment-0001.html>


More information about the Users mailing list