commit 22197f3d0156b9fb87a132e77ab44dbdd63bc826
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).
Reviewed: https:/ /review. openstack. org/605267 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=22197f3d015 6b9fb87a132e77a b44dbdd63bc826
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 22197f3d0156b9f b87a132e77ab44d bdd63bc826
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).
Conflicts:
nova/ tests/unit/ compute/ test_compute. py
nova/ tests/unit/ compute/ test_host_ api.py
NOTE(mriedem): Conflicts are due to not having change ea787774becece3 24d9051521c44b6 in Queens.
Ibd7aa4f8c4
Change-Id: I597dee74d33de3 37913eddda74ab0 56fbf81a23c b87495e0a0f715b 2f90d8ec05) 2e71109b9750d58 99b776e67a)
Closes-Bug: #1709260
(cherry picked from commit c8e2de668434861
(cherry picked from commit c72bb2c747016b2