Hello List 😊

 

I’m facing an issue regarding Self Hosted Engine appliance deployment on OVirt 4.2( tested on 4.2.2 and 4.2.3).

During setup tool, I’m unable to mount a remote storage  NFS / iSCSI.

 

When I try to mount an NFS share:

[ INFO  ] TASK [Remove host-deploy configuration file]

[ INFO  ] changed: [localhost]

          Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs)[nfs]: nfs

          Please specify the nfs version you would like to use (auto, v3, v4, v4_1)[auto]: xxxxxx:/YYYYYY

[ ERROR ] Invalid value

          Please specify the nfs version you would like to use (auto, v3, v4, v4_1)[auto]:

          Please specify the full shared storage connection path to use (example: host:/path): xxxxxx:/YYYYYY

          If needed, specify additional mount options for the connection to the hosted-engine storagedomain []:

[ INFO  ] Creating Storage Domain

[ INFO  ] TASK [Gathering Facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Check local VM dir stat]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Enforce local VM dir existence]

[ INFO  ] skipping: [localhost]

[ INFO  ] TASK [include_tasks]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Obtain SSO token using username/password credentials]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch host facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch cluster ID]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch cluster facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch Datacenter facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch Datacenter ID]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch Datacenter name]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Add NFS storage domain]

[ ERROR ] Verify permission settings on the specified storage path.]". HTTP response code is 400.

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[Permission settings on the specified path do not allow access to the storage.\nVerify permission settings on the specified storage path.]\". HTTP response code is 400."}

 

 

When I try to mount an iSCSI  LUN:

        Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs)[nfs]: iscsi

          Please specify the iSCSI portal IP address: XXXXXX

          Please specify the iSCSI portal port [3260]:

          Please specify the iSCSI discover user:

          Please specify the iSCSI discover password:

          Please specify the iSCSI portal login user:

          Please specify the iSCSI portal login password:

[ INFO  ] Discovering iSCSI targets

[ INFO  ] TASK [Gathering Facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [include_tasks]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Obtain SSO token using username/password credentials]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Prepare iSCSI parameters]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch host facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [iSCSI discover with REST API]

[ INFO  ] ok: [localhost]

          The following targets have been found:

                [1]     iqn.1992-04.com.emc:cx.aaaaaaaaaaaaaaaaa

                        TPGT: 7, portals:

                                XXXXXXX:3260

 

                [2]     iqn.1992-04.com.emc:cx. aaaaaaaaaaaaaaaab

                        TPGT: 6, portals:

                                XXXXXXX:3260

 

                [3]     iqn.1992-04.com.emc:cx. aaaaaaaaaaaaaaaac

                        TPGT: 8, portals:

                                XXXXXX:3260

 

                [4]     iqn.1992-04.com.emc:cx. aaaaaaaaaaaaaaaad

                        TPGT: 5, portals:

                                XXXXXXX:3260

 

          Please select a target (1, 2, 3, 4) [1]: 4

[ INFO  ] Getting iSCSI LUNs list

[ INFO  ] TASK [Gathering Facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [include_tasks]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Obtain SSO token using username/password credentials]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [iSCSI login]

[ INFO  ] TASK [Get iSCSI LUNs]

[ INFO  ] ok: [localhost]

          The following luns have been found on the requested target:

                [1]     36006016045004300897d2b5bdfea8478       200GiB  DGC     VRAID

                        status: free, paths: 1 active

 

          Please select the destination LUN (1) [1]: 1

[ INFO  ] iSCSI discard after delete is disabled

[ INFO  ] Creating Storage Domain

[ INFO  ] TASK [Gathering Facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Check local VM dir stat]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Enforce local VM dir existence]

[ INFO  ] skipping: [localhost]

[ INFO  ] TASK [include_tasks]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Obtain SSO token using username/password credentials]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch host facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch cluster ID]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch cluster facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch Datacenter facts]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch Datacenter ID]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Fetch Datacenter name]

[ INFO  ] ok: [localhost]

[ INFO  ] TASK [Add NFS storage domain]

[ INFO  ] skipping: [localhost]

[ INFO  ] TASK [Add glusterfs storage domain]

[ INFO  ] skipping: [localhost]

[ INFO  ] TASK [Add iSCSI storage domain]

[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is "[Network error during communication with the Host.]". HTTP response code is 400.

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Fault reason is \"Operation Failed\". Fault detail is \"[Network error during communication with the Host.]\". HTTP response code is 400."}

 

Some unnecessary informations like IP or  IQN were hidden

 

I’m pretty disturbed since iSCSI issue seem resoled since 4.2.2 release: https://bugzilla.redhat.com/show_bug.cgi?id=1529226

Did you have same issue to deploy SHE since 4.2* ? ovirt-hosted-engine-setup seems not working has expected

 

Regards,

 

Jean-Baptiste,