commit c72bb2c747016b22e71109b9750d5899b776e67a
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)
Reviewed: https:/ /review. openstack. org/605261 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c72bb2c7470 16b22e71109b975 0d5899b776e67a
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit c72bb2c747016b2 2e71109b9750d58 99b776e67a
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)
Closes-Bug: #1709260
(cherry picked from commit c8e2de668434861