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/604788 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ef5c02209a2 8510eee66edc849 5acc6cd4e0993a
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit ef5c02209a28510 eee66edc8495acc 6cd4e0993a
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