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/611213 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=6de41bbef00 b1b53bb9f3dd6f5 665b6c9c060071
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 6de41bbef00b1b5 3bb9f3dd6f5665b 6c9c060071
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