cuddly-jelly-27016
05/25/2025, 12:10 AMElastic(nnodes=2), the Flyte UI doesn't render the log links correctly:
https://us-east-2.console.aws.amazon.com/cloudwatch/home?region=us-east-2#logsV2:log-groups/log-group/$252Faws$252Feks$252Fflyte-development$252Fworkloads/log-events/fluentbit-kube.var.log.containers.f68f625fdbdd54101a59-n1-0-worker-0_llm-fine-tuning-development_{{.containerName}}-{{.containerID}}.log
Note {{.containerName}}-{{.containerID}} at the end of the link. This is not a valid URL.
### Expected behavior
The links should go to the correct logs url
### Additional context to reproduce
Use any of the plugins that allow for multi-node requests, e.g. the Elastic plugin: https://docs.flyte.org/projects/flytekit/en/latest/plugins/generated/flytekitplugins.kfpytorch.Elastic.html#flytekitplugins-kfpytorch-elastic. Then request for > 1 node.
### Screenshots
[image](https://private-user-images.githubusercontent.com/2816689/260453477-489b1134-9f32-4b80-9945-b375d86a9f4e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDgxMzIxNTMsIm5iZiI6MTc0ODEzMTg1MywicGF0aCI6Ii8yODE2Njg5LzI2MDQ1MzQ3Ny00ODliMTEzNC05ZjMyLTRiODAtOTk0NS1iMzc1ZDg2YTlmNGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDUyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTA1MjVUMDAxMDUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDc0ZWQ1MDU4NjM3YjBhNTQ4OWEzMDU2ZWNkOGYwODk5MGJkMDExZjY3NmI3ZGM1NThlZTBkYTJlNGU0OTFjYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.HYNmSlKBfNMlUqN-Pzuw0aCMJBpm4_41CyIqGFbcB9w)
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/25/2025, 12:10 AM