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/604786 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=72d2e82e127 5035c70cb6862ff 15dc41b3d9b621
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 72d2e82e1275035 c70cb6862ff15dc 41b3d9b621
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