Ah I think I know what's happening, the else block on this for loop is busted:
https://github.com/openstack/nova/blob/5c6b22559d538e63543c38471e60aeb5c7867e8f/nova/cmd/status.py#L297
And that overwrites the num_computes value to 0 because there are no compute nodes in the cell0 databsae.
Ah I think I know what's happening, the else block on this for loop is busted:
https:/ /github. com/openstack/ nova/blob/ 5c6b22559d538e6 3543c38471e60ae b5c7867e8f/ nova/cmd/ status. py#L297
And that overwrites the num_computes value to 0 because there are no compute nodes in the cell0 databsae.