Skip to content

Commit dbfb6de

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Don't report 'exiting' when mapping cells"
2 parents 2907e84 + 8ab3300 commit dbfb6de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nova/cmd/manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ def _map_cell_and_hosts(self, transport_url, name=None, verbose=False):
13291329
# we should support.
13301330
cell_mapping_uuid = host_mapping.cell_mapping.uuid
13311331
if not missing_nodes:
1332-
print(_('All hosts are already mapped to cell(s), exiting.'))
1332+
print(_('All hosts are already mapped to cell(s).'))
13331333
return cell_mapping_uuid
13341334
# Create the cell mapping in the API database
13351335
if cell_mapping_uuid is not None:

nova/tests/unit/test_nova_manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ def test_map_cell_and_hosts_duplicate(self):
11031103
for i in range(3):
11041104
expected += ('Host host%s is already mapped to cell %s\n' %
11051105
(i, cell_mapping_uuid))
1106-
expected += 'All hosts are already mapped to cell(s), exiting.'
1106+
expected += 'All hosts are already mapped to cell(s).'
11071107
self.assertEqual(expected, output)
11081108

11091109
def test_map_cell_and_hosts_partial_update(self):

0 commit comments

Comments
 (0)