Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find output mapping when multiple workflows are deployed #452

Open
mocsharp opened this issue Sep 24, 2022 · 0 comments
Open

Unable to find output mapping when multiple workflows are deployed #452

mocsharp opened this issue Sep 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mocsharp
Copy link
Collaborator

mocsharp commented Sep 24, 2022

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.

  1. Deploy all workflows from here (except the helloworld)
  2. Send a DICOM study from here
    ...

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
@mocsharp mocsharp added the bug Something isn't working label Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant