ISCSIDriver has no 'target_helper' member
Bug #1400804 reported by
Eric Harney
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Critical
|
John Griffith | ||
Juno |
Fix Released
|
Critical
|
Unassigned |
Bug Description
$ pylint -E cinder/
************* Module cinder.
E:1046,12: Instance of 'ISCSIDriver' has no 'target_helper' member (no-member)
E:1064,12: Instance of 'ISCSIDriver' has no 'target_helper' member (no-member)
1045 if CONF.iscsi_helper == 'lioadm':
1046 self.target_
https:/
tags: | added: icehouse-backport-potential |
tags: | added: juno-backport-potential |
Changed in cinder: | |
milestone: | none → kilo-1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Additional info: if you set the iscsi_helper to lioadm in this case, any driver that used to inherit from the base iSCSIDriver class for initialize_ connection will fail and stack trace.
The reason is that the iscsi_helper is set in global CONF so if set to lioadm (even if not used) will always eval to true in that method and attempt the target_ helper. initialize_ connection call; but most drivers don't need this and won't have it so we'll fail for the error described in the pylint output above.