When counting rows in the compute_nodes table to compare against
resource records, those which have been marked as deleted should
not be counted, otherwise the result is artificially high.
Change-Id: Ia3fbb9c46c15826fc363286ce48984f59cbe1e62
Closes-Bug: #1757207
(cherry picked from commit 3e902313e9c3117e76d6adf88a2f104bc229374c)
Reviewed: https:/ /review. openstack. org/604785 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c559c5b357f 47ae2bed9397bbf b8b2e08dc5b8a5
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit c559c5b357f47ae 2bed9397bbfb8b2 e08dc5b8a5
Author: imacdonn <email address hidden>
Date: Sat Sep 22 00:55:36 2018 +0000
nova-status - don't count deleted compute_nodes
When counting rows in the compute_nodes table to compare against
resource records, those which have been marked as deleted should
not be counted, otherwise the result is artificially high.
Change-Id: Ia3fbb9c46c1582 6fc363286ce4898 4f59cbe1e62 e76d6adf88a2f10 4bc229374c)
Closes-Bug: #1757207
(cherry picked from commit 3e902313e9c3117