Hello,

that is definitely not my problem. Did a complete new deployment (after rebooting host)

Before deploying on my storage:
root@storage-rx:/srv/nfs/ovirt/hosted_storage# ls -al
total 17
drwxrwxr-x 2 vdsm vdsm 2 Apr 30 13:53 .
drwxr-xr-x 8 root root 8 Apr  2 18:02 ..

While deploying in late stage:
root@storage-rx:/srv/nfs/ovirt/hosted_storage# ls -al
total 18
drwxrwxr-x 3 vdsm vdsm 4 Apr 30 14:51 .
drwxr-xr-x 8 root root 8 Apr  2 18:02 ..
drwxr-xr-x 4 vdsm vdsm 4 Apr 30 14:51 d26e4a31-8d73-449d-bebc-f2ce7a979e5d
-rwxr-xr-x 1 vdsm vdsm 0 Apr 30 14:51 __DIRECT_IO_TEST__

Immediately the error occurs in GUI:
[ INFO ] TASK [ovirt.hosted_engine_setup : Activate storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[]\". HTTP response code is 400."}


Am 30.04.2019 um 13:48 schrieb Simone Tiraboschi:


On Tue, Apr 30, 2019 at 1:35 PM Ralf Schenk <rs@databay.de> wrote:

Hello,

I'm deploying HostedEngine to a NFS Storage. HostedEngineLocal ist setup and running already. But Step 4 (Moving to hosted_storage Domain on NFS) fails. The Host ist Node-NG 4.3.3.1 based.

The intended NFS Domain gets mounted in the host but activation (I think via EngineAPI fails):

[ INFO ] TASK [ovirt.hosted_engine_setup : Activate storage domain]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[]\". HTTP response code is 400."}

mount in host shows:

storage.rxmgmt.databay.de:/ovirt/hosted_storage on /rhev/data-center/mnt/storage.rxmgmt.databay.de:_ovirt_hosted__storage type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,clientaddr=172.16.252.231,local_lock=none,addr=172.16.252.3)

I also sshd into the locally running engine vi 192.168.122.XX and the VM can mount the storage domain, too:

[root@engine01 ~]# mount storage.rxmgmt.databay.de:/ovirt/hosted_storage /mnt/ -o vers=4.1
[root@engine01 ~]# mount | grep nfs
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
storage.rxmgmt.databay.de:/ovirt/hosted_storage on /mnt type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.122.71,local_lock=none,addr=172.16.252.3)
[root@engine01 ~]# ls -al /mnt/
total 18
drwxrwxr-x.  3 vdsm kvm    4 Apr 30 12:59 .
dr-xr-xr-x. 17 root root 224 Apr 16 14:31 ..
drwxr-xr-x.  4 vdsm kvm    4 Apr 30 12:40 4dc42146-b3fb-47ec-bf06-8d9bf7cdf893
-rwxr-xr-x.  1 vdsm kvm    0 Apr 30 12:55 __DIRECT_IO_TEST__

Anything I can do ?


99% that folder was dirty (it already contained something) when you started the deployment.
I can only suggest to clean that folder and start from scratch.
 

Log-Extract of ovirt-hosted-engine-setup-ansible-create_storage_domain included.



--


Ralf Schenk
fon +49 (0) 24 05 / 40 83 70
fax +49 (0) 24 05 / 40 83 759
mail rs@databay.de
 
Databay AG
Jens-Otto-Krag-Straße 11
D-52146 Würselen
www.databay.de

Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm. Philipp Hermanns
Aufsichtsratsvorsitzender: Wilhelm Dohmen

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/37WY4NUSJYMA7PMZWYSU5KCMFKVBNTHS/
--


Ralf Schenk
fon +49 (0) 24 05 / 40 83 70
fax +49 (0) 24 05 / 40 83 759
mail rs@databay.de
 
Databay AG
Jens-Otto-Krag-Straße 11
D-52146 Würselen
www.databay.de

Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm. Philipp Hermanns
Aufsichtsratsvorsitzender: Wilhelm Dohmen