[Users] Ovirt 3.1: Failed to add Storage Domain

Itamar Heim iheim at redhat.com
Tue Sep 4 07:46:30 UTC 2012


On 09/04/2012 08:30 AM, Dmitriy A Pyryakov wrote:
> 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.
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

did you manage to install a data nfs storage domain?
looks like you reviewed:
http://wiki.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues

vdsm log on failure to create the iso nfs storage domain?




More information about the Users mailing list