commit 0bd38dbadcaeef59213e5471018649f7a9d2d9bf
Author: Dan Smith <email address hidden>
Date: Mon Sep 24 13:36:39 2018 -0700
Enforce case-sensitive hostnames in aggregate host add
If we are using a case-insensitive backend database like mysql, a
user can request an aggregate host add with a non-matching hostname
and we will not signal failure. We will create a mapping which will
not actually include that host in the aggregate, which will be
confusing later. This change makes us fail if the host name does not
match exactly, which is the same behavior as if we are using a
case-sensitive backend (like postgres).
Change-Id: I597dee74d33de337913eddda74ab056fbf81a23c
Closes-Bug: #1709260
(cherry picked from commit c8e2de668434861b87495e0a0f715b2f90d8ec05)
(cherry picked from commit c72bb2c747016b22e71109b9750d5899b776e67a)
(cherry picked from commit 22197f3d0156b9fb87a132e77ab44dbdd63bc826)
Reviewed: https:/ /review. openstack. org/605269 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0bd38dbadca eef59213e547101 8649f7a9d2d9bf
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 0bd38dbadcaeef5 9213e5471018649 f7a9d2d9bf
Author: Dan Smith <email address hidden>
Date: Mon Sep 24 13:36:39 2018 -0700
Enforce case-sensitive hostnames in aggregate host add
If we are using a case-insensitive backend database like mysql, a
user can request an aggregate host add with a non-matching hostname
and we will not signal failure. We will create a mapping which will
not actually include that host in the aggregate, which will be
confusing later. This change makes us fail if the host name does not
match exactly, which is the same behavior as if we are using a
case-sensitive backend (like postgres).
Change-Id: I597dee74d33de3 37913eddda74ab0 56fbf81a23c b87495e0a0f715b 2f90d8ec05) 2e71109b9750d58 99b776e67a) b87a132e77ab44d bdd63bc826)
Closes-Bug: #1709260
(cherry picked from commit c8e2de668434861
(cherry picked from commit c72bb2c747016b2
(cherry picked from commit 22197f3d0156b9f