Comment 8 for bug 1668310

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

Reviewed: https://review.openstack.org/438632
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2e05c82b807624b8420df4c94d68b75563b230d2
Submitter: Jenkins
Branch: stable/mitaka

commit 2e05c82b807624b8420df4c94d68b75563b230d2
Author: Dan Smith <email address hidden>
Date: Mon Feb 27 07:52:29 2017 -0800

    Ignore deleted services in minimum version calculation

    When we go to detect the minimum version for a given service, we
    should ignore any deleted services. Without this, we will return
    the minimum version of all records, including those that have been
    deleted with "nova service-delete". This patch filters deleted
    services from the query.

    Conflicts:
            nova/db/sqlalchemy/api.py
            nova/tests/unit/db/test_db_api.py

    NOTE(mriedem): The conflicts are due to not having change
    11cb56a2243faa9f2614a8f9a9a84603bc91d6b1 in Mitaka.

    Closes-Bug: #1668310
    Change-Id: Ic96a5eb3728f97a3c35d2c5121e6fdcd4fd1c70b
    (cherry picked from commit c79770e615799cd4457ac603dcad4fb3452fe2bc)
    (cherry picked from commit a1dd547d3ba7d9cf5b73da1ce9668e412501ace1)
    (cherry picked from commit 1ad5c7305c37079ced24bf623810e63d5eac2661)