Several deployments are running at the same time. They are executing an action like "Artifact download" for the same artifact using the same retrieval agent.
Some deployments stuck at 0 % trying to run Artifact download action
In NAC logs we could see lines like this in nolio_dm_all.*.log
2024-10-14T10:55:44.241+03:00 [https-jsse-nio-8443-exec-6] INFO (com.nolio.releasecenter.services.release.execution.engine.ArtifactsEngineImpl:1222) - Artifact [<Artifact Name> Ver <Version>] is already registered as download. downloadArtifactTask will return without downloading it again
Release Automation 6.8, 6.9
When a "Get Artifact" action is executed a row in table rc_artifact_engine_tasks_data is added for the artifact with pending state.
When the download of artifact is complete, the row is deleted.
But if a second "Get Artifact" action is executed at the same time, NAC detects that a row for the artifact in already present in table rc_artifact_engine_tasks_data with pending state and nothing is done. And in the log we could see a line like this :
2024-10-14T10:55:44.241+03:00 [https-jsse-nio-8443-exec-6] INFO (com.nolio.releasecenter.services.release.execution.engine.ArtifactsEngineImpl:1222) - Artifact [<Artifact Name> Ver <Version>] is already registered as download. downloadArtifactTask will return without downloading it again
And the second action is never executed.
A correction for this problem will be included in upcoming version : 6.8.6, 6.9.2 and 6.10