Преглед на файлове

Fix error message from Conductor during minion error reporting.

Nashwan Azhari преди 4 години
родител
ревизия
a6378229fb
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      coriolis/conductor/rpc/server.py
  2. 1 1
      coriolis/minion_manager/rpc/server.py

+ 1 - 1
coriolis/conductor/rpc/server.py

@@ -1681,7 +1681,7 @@ class ConductorServerEndpoint(object):
             constants.EXECUTION_STATUS_AWAITING_MINION_ALLOCATIONS)
         if migration.last_execution_status != awaiting_minions_status:
             raise exception.InvalidReplicaState(
-                "Machine is in '%s' status instead of the expected '%s' to "
+                "Migration is in '%s' status instead of the expected '%s' to "
                 "have minion machines allocations fail for it." % (
                     migration.last_execution_status, awaiting_minions_status))
 

+ 1 - 1
coriolis/minion_manager/rpc/server.py

@@ -1072,7 +1072,7 @@ class MinionManagerServerEndpoint(object):
                     minion_machine.id, minion_machine.allocation_status,
                     minion_machine.allocated_action)
             LOG.debug(
-                "Attempting to deallocate all minion pool machine '%s' "
+                "Attempting to deallocate minion pool machine '%s' "
                 "(currently allocated to action '%s' with status '%s')",
                 minion_machine.id, minion_machine.allocated_action,
                 minion_machine.allocation_status)