The validation of iscsi session should be case insensitive
The validation of iscsi session should be case insensitive since IPv6
address is case insensitive. If the portal address are all lower cases,
and the address get from 'iscsiadm -m session' contain upper cases,
the validation of iscsi session will failed, the loop will be endless.
Change-Id: Ief5108e40f13cc53d8d9e9c5d1a5054f58f72aa0
Closes-bug: #1793627
(cherry picked from commit 8782c4accfea8a745676517c1880810cfa07feac)
(cherry picked from commit e01e5db822b29f898763197ec98e2c31f0b05c53)
Reviewed: https:/ /review. openstack. org/647768 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=c45d8f67219 cfe24ae62898db9 a5cf4afe2f7c34
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit c45d8f67219cfe2 4ae62898db9a5cf 4afe2f7c34
Author: Yong Huang <email address hidden>
Date: Thu Sep 20 16:26:57 2018 -0400
The validation of iscsi session should be case insensitive
The validation of iscsi session should be case insensitive since IPv6
address is case insensitive. If the portal address are all lower cases,
and the address get from 'iscsiadm -m session' contain upper cases,
the validation of iscsi session will failed, the loop will be endless.
Change-Id: Ief5108e40f13cc 53d8d9e9c5d1a50 54f58f72aa0 45676517c188081 0cfa07feac) 98763197ec98e2c 31f0b05c53)
Closes-bug: #1793627
(cherry picked from commit 8782c4accfea8a7
(cherry picked from commit e01e5db822b29f8