Failed to discovery when iscsi multipath and CHAP both enabled
Storage server may be configured to protect target discovering phase with CHAP
authentication, in this case existing discovery command will be failed in Nova
when iscsi multipath enabled. Nova need these below discovery auth properties. "discovery.sendtargets.auth.authmethod", "discovery.sendtargets.auth.username", "discovery.sendtargets.auth.password"
Cinder Storage driver need to send discovery auth properties to Nova in this
case and the properties are: iscsi_properties['discovery_auth_method'] iscsi_properties['discovery_auth_username'] iscsi_properties['discovery_auth_password']
This issue not just for IBM Storwize, but also other storage drivers who need
CHAP authentication to do iscsi discover.
The according nova change: https://review.openstack.org/#/c/148516/
Reviewed: https:/ /review. openstack. org/148533 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=3f781f32d0a aa6adf9ef6c54ab 6114de92b64917
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3f781f32d0aaa6a df9ef6c54ab6114 de92b64917
Author: TaoBai <email address hidden>
Date: Tue Jan 20 04:18:39 2015 -0800
Failed to discovery when iscsi multipath and CHAP both enabled
Storage server may be configured to protect target discovering phase with CHAP
"discovery. sendtargets. auth.authmethod ",
"discovery. sendtargets. auth.username" ,
"discovery. sendtargets. auth.password"
authentication, in this case existing discovery command will be failed in Nova
when iscsi multipath enabled. Nova need these below discovery auth properties.
Cinder Storage driver need to send discovery auth properties to Nova in this
iscsi_propertie s['discovery_ auth_method' ]
iscsi_propertie s['discovery_ auth_username' ]
iscsi_propertie s['discovery_ auth_password' ]
case and the properties are:
This issue not just for IBM Storwize, but also other storage drivers who need /review. openstack. org/#/c/ 148516/
CHAP authentication to do iscsi discover.
The according nova change: https:/
Closes-Bug: #1367189
Change-Id: Ib528eed3a9fd50 06c1649ef42233e 1f943c38ab6