Distribute Artifact to agents from execution server failed
search cancel

Distribute Artifact to agents from execution server failed

book

Article ID: 203833

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

Error while distribution of artifacts. The error on the ROC UI is ambiguous.

 

Agent logs says below error

Could not write chunk

Environment

Release : 6.7

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Cause

2020-11-03 12:48:30,406 [FileTransferWorker-489] ERROR (com.nolio.nimi.filetransfer.impl.CacheUpdater:48) - Could not update files cache with file [artifact_store/releaseId_35790483000/artifact_file.war for hash [106832D1286DB6CAC68B50B296BFF3A5]
com.nolio.platform.shared.storage.sync.filecache.FileCacheException: No space left on device
 
2020-11-03 14:53:49,468 [FileTransferWorker-10] DEBUG (com.nolio.nimi.filetransfer.impl.FileWriteSupport:67) - Closing file writer for [files_temp/nlo4838233441147557711file].
2020-11-03 14:53:49,473 [FileTransferWorker-10] WARN  (com.nolio.nimi.filetransfer.impl.AbsFileTransferWorker:652) - GETTER_86B5BEB1EF2E113BEE8E90B32E142DF4 could not write chunk.
com.nolio.nimi.NimiException: could not write chunk
at com.nolio.nimi.filetransfer.impl.FileWriteSupport.writeChunk(FileWriteSupport.java:115)
at com.nolio.nimi.filetransfer.impl.FileDownloaderWorker.checkMessages(FileDownloaderWorker.java:632)
at com.nolio.nimi.filetransfer.impl.FileDownloaderWorker.innerCall(FileDownloaderWorker.java:705)
at com.nolio.nimi.engine.BasicEngineWorker$RunningCallable.call(BasicEngineWorker.java:225)
at com.nolio.nimi.engine.BasicEngineWorker$RunningCallable.call(BasicEngineWorker.java:201)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: No space left on device
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211) 

Resolution

With current scenarios, where your agents can switch the parents due to high-availability you need to make sure that there is enough disk space available on agent servers as with each switch agent made to a new parent it tries to synchronize the files_cache folder of parent to its own.