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']
(cherry picked from commit 45227bbbfd06d16e85e973e14ee8c30e267e8b42)
Reviewed: https:/ /review. openstack. org/155730 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=aaf256acb5a 34ee2d2f691092c 0999a705767a8f
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit aaf256acb5a34ee 2d2f691092c0999 a705767a8f
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:
(cherry picked from commit 45227bbbfd06d16 e85e973e14ee8c3 0e267e8b42)
Conflicts: tests/virt/ libvirt/ test_volume. py
nova/
Closes-Bug: #1367189 26879840f053417 31ed92d6392
Change-Id: Ic70426d7d0fd81