Bug 1536055

Summary: [RFE][hosted-engine-setup] [iSCSI support][node-zero] allow selecting more than one iSCSI target
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Simone Tiraboschi <stirabos>
Component: RFEsAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: urgent Docs Contact:
Priority: high    
Version: 2.2.5CC: acanan, bugs, ebenahar, juwu, lsurette, mkalinin, mwest, nsednev, nsoffer, ratamir, sbonazzo, stirabos, tnisan, trichard, usurse, ykaul, ylavi
Target Milestone: ovirt-4.2.2Keywords: FutureFeature, Triaged
Target Release: ---Flags: rule-engine: ovirt-4.2?
nsednev: testing_plan_complete+
rule-engine: planning_ack?
sbonazzo: devel_ack+
rule-engine: testing_ack+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1149579 Environment:
Last Closed: 2018-03-29 10:53:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1149579, 1502747, 1539391    
Bug Blocks: 1267807, 1458709, 1509126    
Attachments:
Description Flags
alma03 logs none

Comment 1 Red Hat Bugzilla Rules Engine 2018-01-18 14:47:57 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Nikolai Sednev 2018-02-19 12:59:32 UTC
I've tried to deploy Node 0 over iSCSI with 3 different interfaces configured on storage side (10.35.163.32 , 10.35.163.42, 10.35.163.43) under the same portal, but discovery on host, did not found additional two (10.35.163.42, 10.35.163.43), it shown only one from three available:
[ INFO  ] changed: [localhost]
          Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs)[nfs]: iscsi
          Please specify the iSCSI portal IP address: 10.35.163.32
          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.2005-10.org.freenas.ctl:iscsi_shetarget
                        TPGT: -1, portals:
                                10.35.163.32:3260
         
          Please select a target (1) [1]:  

"multipath -ll" on host, shown nothing.


Tested on these components:
rhvm-appliance-4.2-20180202.0.el7.noarch
ovirt-hosted-engine-ha-2.2.5-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.10-1.el7ev.noarch
Linux 3.10.0-693.19.1.el7.x86_64 #1 SMP Thu Feb 1 12:34:44 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Logs from host attached.

Comment 3 Nikolai Sednev 2018-02-19 13:00:17 UTC
Created attachment 1397854 [details]
alma03 logs

Comment 4 Simone Tiraboschi 2018-02-19 13:14:11 UTC
I think that the SAN side was simply not configured for multipath

Comment 5 Nikolai Sednev 2018-02-19 13:30:35 UTC
Thanks to Simone, now it looks fine:
[ INFO  ] ok: [localhost]
          The following targets have been found:
                [1]     iqn.2005-10.org.freenas.ctl:iscsi-shetarget
                        TPGT: 2, portals:
                                10.35.163.32:3260
                                10.35.163.42:3260
                                10.35.163.43:3260

         [ INFO  ] ok: [localhost]
          The following luns have been found on the requested target:
                [1]     36589cfc0000006465c444562a2816b2f       123GiB  FreeNAS iSCSI Disk
                        status: free, paths: 3 active
         
          Please select the destination LUN (1) [1]: 
alma03 ~]# multipath -ll
36589cfc0000006465c444562a2816b2f dm-0 FreeNAS ,iSCSI Disk      
size=123G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 7:0:0:0 sdc 8:32 active ready running
|-+- policy='service-time 0' prio=1 status=enabled
| `- 6:0:0:0 sdb 8:16 active ready running
`-+- policy='service-time 0' prio=1 status=enabled
  `- 8:0:0:0 sdd 8:48 active ready running

Comment 6 Nikolai Sednev 2018-02-19 13:32:42 UTC
Moving to verified due to previous comment.

Comment 8 Sandro Bonazzola 2018-03-29 10:53:46 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.