When running 'nova-manage simple_cell_setup...' if there are not hosts
to map, but there remaining instances to map, an '..., exiting' message
is produced. This is misleading because "exiting" implies a return of
control to the user. That doesn't happen if there are many instances
left to inspect or map.
This change gets around that by getting rid of the exiting message
in the case where instance mapping can still happen.
Reviewed: https:/ /review. openstack. org/649340 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8ab3300d5d5 88f169b40ca7dbc 6cd63370226066
Committed: https:/
Submitter: Zuul
Branch: master
commit 8ab3300d5d588f1 69b40ca7dbc6cd6 3370226066
Author: Chris Dent <email address hidden>
Date: Tue Apr 2 15:07:45 2019 +0100
Don't report 'exiting' when mapping cells
When running 'nova-manage simple_ cell_setup. ..' if there are not hosts
to map, but there remaining instances to map, an '..., exiting' message
is produced. This is misleading because "exiting" implies a return of
control to the user. That doesn't happen if there are many instances
left to inspect or map.
This change gets around that by getting rid of the exiting message
in the case where instance mapping can still happen.
Change-Id: I62b20a3676429b 5cc756884275138 566785b347e
Closes-Bug: #1821737