Problem
In Image Artist 1.5, batch analysis jobs remain in a pending state as seen on the Job Status page.
The slurmd service logs show the following error:
(Command to display slurmd logs: docker service logs -ft SImA_slurmd)
slurmd: error: common_file_write_content: unable to open '/sys/fs/cgroup/docker_limit.slice/system.slice/cgroup.subtree_control' for writing: No such file or directory
Cause
This issue occurs due to a conflict between Image Artist’s cgroup configuration and the systemd slice configuration applied to Docker.
The presence of a custom Docker systemd slice (
docker_limit.slice) causes slurmd to fail when attempting to write cgroup settings, preventing batch analysis jobs from executing.
Solution
Docker systemd slices are no longer supported in Image Artist, even though the current version of the Image Artist Installation and Administration Guide still recommends configuring one.
Steps to Resolve
- Undeploy Image Artist.
-
Edit the Docker daemon configuration file (
/etc/docker/daemon.json) and remove the following line if present:"cgroup-parent": "docker_limit.slice"
-
Restart the Docker service to apply the configuration change:
sudo systemctl restart docker
-
Redeploy Image Artist.
Image Artist: How do I redeploy/restart the container stack?
- Test batch analysis to confirm correct operation.
Additional Information
The Image Artist Installation and Administration Guide will be updated in a future revision to remove references to Docker systemd slices and reflect this change in supported configurations.
Comments
0 comments
Article is closed for comments.