|
@@ -316,6 +316,7 @@ class ConductorServerEndpoint(object):
|
|
|
execution.id = str(uuid.uuid4())
|
|
execution.id = str(uuid.uuid4())
|
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
|
execution.action = replica
|
|
execution.action = replica
|
|
|
|
|
+ execution.type = constants.EXECUTION_TYPE_REPLICA_EXECUTION
|
|
|
|
|
|
|
|
for instance in execution.action.instances:
|
|
for instance in execution.action.instances:
|
|
|
get_instance_info_task = self._create_task(
|
|
get_instance_info_task = self._create_task(
|
|
@@ -440,6 +441,7 @@ class ConductorServerEndpoint(object):
|
|
|
execution.id = str(uuid.uuid4())
|
|
execution.id = str(uuid.uuid4())
|
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
|
execution.action = replica
|
|
execution.action = replica
|
|
|
|
|
+ execution.type = constants.EXECUTION_TYPE_REPLICA_DISKS_DELETE
|
|
|
|
|
|
|
|
has_tasks = False
|
|
has_tasks = False
|
|
|
for instance in replica.instances:
|
|
for instance in replica.instances:
|
|
@@ -599,6 +601,7 @@ class ConductorServerEndpoint(object):
|
|
|
migration.executions = [execution]
|
|
migration.executions = [execution]
|
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
|
execution.number = 1
|
|
execution.number = 1
|
|
|
|
|
+ execution.type = constants.EXECUTION_TYPE_REPLICA_DEPLOY
|
|
|
|
|
|
|
|
for instance in instances:
|
|
for instance in instances:
|
|
|
validate_replica_desployment_inputs_task = self._create_task(
|
|
validate_replica_desployment_inputs_task = self._create_task(
|
|
@@ -697,6 +700,7 @@ class ConductorServerEndpoint(object):
|
|
|
execution = models.TasksExecution()
|
|
execution = models.TasksExecution()
|
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
|
execution.number = 1
|
|
execution.number = 1
|
|
|
|
|
+ execution.type = constants.EXECUTION_TYPE_MIGRATION
|
|
|
migration.executions = [execution]
|
|
migration.executions = [execution]
|
|
|
migration.instances = instances
|
|
migration.instances = instances
|
|
|
migration.info = {}
|
|
migration.info = {}
|
|
@@ -1128,6 +1132,7 @@ class ConductorServerEndpoint(object):
|
|
|
execution.id = str(uuid.uuid4())
|
|
execution.id = str(uuid.uuid4())
|
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
execution.status = constants.EXECUTION_STATUS_RUNNING
|
|
|
execution.action = replica
|
|
execution.action = replica
|
|
|
|
|
+ execution.type = constants.EXECUTION_TYPE_REPLICA_UPDATE
|
|
|
|
|
|
|
|
LOG.debug(
|
|
LOG.debug(
|
|
|
"Replica '%s' info pre-replica-update: %s",
|
|
"Replica '%s' info pre-replica-update: %s",
|