Open
Description
Description
WM cannot find the output mapping when multiple workflow definitions are deployed.
Steps to reproduce
Please share a clear and concise description of the problem.
Expected behavior
Expect 2 segmentation objects to be created.
Actual behavior
Only 1 segmentation object was exported, the other one failed with:
mdl-wm | info: Monai.Deploy.Messaging.RabbitMQ.RabbitMQMessageSubscriberService[10002]
mdl-wm | Message received from queue md.tasks.update for md.tasks.update.
mdl-wm | fail: Monai.Deploy.Storage.MinIO.MinIoStorageService[20001]
mdl-wm | File '0fb38303-af36-4b29-8465-27f0629ae5d6/workflows/a4c8c6de-4c11-4c3a-9738-1e51e1a0012f/daa91539-e824-4156-af30-d2cb44934444/env_MONAI_OUTPUTPATH' could not be found in 'monaideploy'.
mdl-wm | fail: Monai.Deploy.WorkflowManager.PayloadListener.Services.EventPayloadReceiverService[13]
mdl-wm | Failed to serialize TaskUpdateEvent
mdl-wm | System.IO.FileNotFoundException: Mandatory artifact was not found: export-dicom, {{ context.executions.liver.artifacts.env_MONAI_OUTPUTPATH }}
mdl-wm | at Monai.Deploy.WorkflowManager.WorkfowExecuter.Common.ArtifactMapper.ConvertArtifactVariablesToPath(Artifact[] artifacts, String payloadId, String workflowInstanceId, String bucketId, Boolean shouldExistYet) in /app/src/WorkflowManager/WorkflowExecuter/Common/ArtifactMapper.cs:line 78
mdl-wm | at Monai.Deploy.WorkflowManager.WorkfowExecuter.Services.WorkflowExecuterService.CreateTaskExecutionAsync(TaskObject task, WorkflowInstance workflowInstance, String bucketName, String payloadId, String previousTaskId) in /app/src/WorkflowManager/WorkflowExecuter/Services/WorkflowExecuterService.cs:line 682
mdl-wm | at Monai.Deploy.WorkflowManager.WorkfowExecuter.Services.WorkflowExecuterService.CreateTaskDestinations(WorkflowInstance workflowInstance, WorkflowRevision workflow, String taskId) in /app/src/WorkflowManager/WorkflowExecuter/Services/WorkflowExecuterService.cs:line 539
mdl-wm | at Monai.Deploy.WorkflowManager.WorkfowExecuter.Services.WorkflowExecuterService.HandleTaskDestinations(WorkflowInstance workflowInstance, WorkflowRevision workflow, TaskExecution task, String correlationId) in /app/src/WorkflowManager/WorkflowExecuter/Services/WorkflowExecuterService.cs:line 495
mdl-wm | at Monai.Deploy.WorkflowManager.WorkfowExecuter.Services.WorkflowExecuterService.ProcessTaskUpdate(TaskUpdateEvent message) in /app/src/WorkflowManager/WorkflowExecuter/Services/WorkflowExecuterService.cs:line 272
mdl-wm | at Monai.Deploy.WorkflowManager.PayloadListener.Services.EventPayloadReceiverService.TaskUpdatePayload(MessageReceivedEventArgs message) in /app/src/WorkflowManager/PayloadListener/Services/EventPayloadRecieverService.cs:line 131
mdl-wm | fail: Monai.Deploy.WorkflowManager.PayloadListener.Services.EventPayloadReceiverService[16]
mdl-wm | The following message d66f89e2-4b5e-43c6-bdce-ed81abbeceb2 failed unexpectedly and has been rejected and requeued.
Configuration
- Workflow Manager version/commit: monai-deploy-workflow-manager:develop-nightly-2022-09-23
- Docker version (if applicable): 20.10.18
- Installation source (NGC, Dockerhub, or something else): GitHub