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.
The authentication properties are: "discovery.sendtargets.auth.authmethod", "discovery.sendtargets.auth.username", "discovery.sendtargets.auth.password"
Cinder Storage driver need to send discovery auth properties in this case,
and the properties are: iscsi_properties['discovery_auth_method'] iscsi_properties['discovery_auth_username'] iscsi_properties['discovery_auth_password']
Reviewed: https:/ /review. openstack. org/148516 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=45227bbbfd0 6d16e85e973e14e e8c30e267e8b42
Committed: https:/
Submitter: Jenkins
Branch: master
commit 45227bbbfd06d16 e85e973e14ee8c3 0e267e8b42
Author: TaoBai <email address hidden>
Date: Thu Jan 15 22:49:49 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"
iscsi_ properties[ 'discovery_ auth_method' ]
iscsi_ properties[ 'discovery_ auth_username' ]
iscsi_ properties[ 'discovery_ auth_password' ]
authentication, in this case existing discovery command will be failed.
The authentication properties are:
Cinder Storage driver need to send discovery auth properties in this case,
and the properties are:
Change-Id: Ic70426d7d0fd81 26879840f053417 31ed92d6392
Closes-Bug: #1367189