Jiří Moskovčák has posted comments on this change. Change subject: packaging: setup: iscsi: add multiple lun per target support ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/31398/1/src/plugins/ovirt-hosted-engine-setup/storage/iscsi.py File src/plugins/ovirt-hosted-engine-setup/storage/iscsi.py: Line 250: for device in devices['devList']: Line 251: for path in device['pathlist']: Line 252: if path['iqn'] == iqn: Line 253: iscsi_lun_list.append(device) Line 254: iqn_found = True how about break here? otherwise you're going to time.sleep() few line later, even when you've found the iqn Line 255: if not iqn_found: Line 256: self.logger.info('Discovering iSCSI node') Line 257: self._iscsi_discovery( Line 258: ip, -- To view, visit http://gerrit.ovirt.org/31398 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I0b00cc09754a8b95bc1497e0f769ae2a9c64f1b5 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-setup Gerrit-Branch: master Gerrit-Owner: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Greg Padgett <[email protected]> Gerrit-Reviewer: Jiří Moskovčák <[email protected]> Gerrit-Reviewer: Lev Veyde <[email protected]> Gerrit-Reviewer: Martin Sivák <[email protected]> Gerrit-Reviewer: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Yedidyah Bar David <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
