Change in vdsm[master]: iscsi: Fix credentials initialization when not using CHAP
frolland at redhat.com
frolland at redhat.com
Thu Nov 12 14:27:02 UTC 2015
Freddy Rolland has posted comments on this change.
Change subject: iscsi: Fix credentials initialization when not using CHAP
......................................................................
Patch Set 2:
(2 comments)
https://gerrit.ovirt.org/#/c/48483/2/vdsm/storage/hsm.py
File vdsm/storage/hsm.py:
Line 229: iface = _resolveIscsiIface(conDict.get('ifaceName', None),
Line 230: conDict.get('initiatorName', None),
Line 231: conDict.get('netIfaceName', None))
Line 232:
Line 233: # NOTE: ChapCredentials must match the way we initialze username and
> Where?
initialze -> initialize
Line 234: # password when reading session info in iscsi.readSessionInfo(). Empty
Line 235: # or missing username or password are stored as None.
Line 236:
Line 237: username = conDict.get('user')
https://gerrit.ovirt.org/#/c/48483/2/vdsm/storage/iscsi.py
File vdsm/storage/iscsi.py:
Line 162: iface = IscsiInterface(iface, netIfaceName=netdev)
Line 163: portal = IscsiPortal(ip, port)
Line 164: target = IscsiTarget(portal, tpgt, iqn)
Line 165:
Line 166: # NOTE: ChapCredentials must match the way we initialze username and
> Where?
initialze -> initialize
Line 167: # password when receiving request from engine in
Line 168: # hsm._connectionDict2ConnectionInfo().
Line 169: # iscsi reports empty user/password as "<NULL>" (RHEL5) or "(null)"
Line 170: # (RHEL6); empty values are stored as None.
--
To view, visit https://gerrit.ovirt.org/48483
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I65e1177bc33998b8eba34b0fd04ec62cf8bf1a2c
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Ala Hino <ahino at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list