Comment 24 for bug 1709260

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/queens)

Reviewed: https://review.openstack.org/605267
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=22197f3d0156b9fb87a132e77ab44dbdd63bc826
Submitter: Zuul
Branch: stable/queens

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).

    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
    Ibd7aa4f8c4ea787774becece324d9051521c44b6 in Queens.

    Change-Id: I597dee74d33de337913eddda74ab056fbf81a23c
    Closes-Bug: #1709260
    (cherry picked from commit c8e2de668434861b87495e0a0f715b2f90d8ec05)
    (cherry picked from commit c72bb2c747016b22e71109b9750d5899b776e67a)