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.
Reviewed: https:/ /review. openstack. org/438632 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2e05c82b807 624b8420df4c94d 68b75563b230d2
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 2e05c82b807624b 8420df4c94d68b7 5563b230d2
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 faa9f2614a8f9a9 a84603bc91d6b1 in Mitaka.
11cb56a2243
Closes-Bug: #1668310 a3c35d2c5121e6f dcd4fd1c70b 4457ac603dcad4f b3452fe2bc) f5b73da1ce9668e 412501ace1) ced24bf623810e6 3d5eac2661)
Change-Id: Ic96a5eb3728f97
(cherry picked from commit c79770e615799cd
(cherry picked from commit a1dd547d3ba7d9c
(cherry picked from commit 1ad5c7305c37079