Ceph - iSCSI Deployment fails for the TASK [ceph-iscsi-gw : systemd start tcmu-runner, rbd-target-api and rbd-target-gw containers]
Issue
During deployment we faced an issue with rbd-target-api.service. Deployment is failing because the service fails to start.
Ceph-ansible deployment fails on TASK:
TASK [ceph-iscsi-gw : systemd start tcmu-runner, rbd-target-api and rbd-target-gw containers]
...
item: tcmu-runner
msg: |-
Unable to start service tcmu-runner: Job for tcmu-runner.service failed because the control process exited with error code.
See "systemctl status tcmu-runner.service" and "journalctl -xe" for details.
...
On node we can see service fails with:
# systemctl status tcmu-runner.service
Nov 27 05:25:43 magna089 podman[25277]: Error: no container with name or ID rbd-target-api found: no such container
Nov 27 05:25:43 magna089 podman[25316]: Error: invalid config provided: CapAdd and privileged are mutually exclusive options
Nov 27 05:25:43 magna089 systemd[1]: rbd-target-api.service: Control process exited, code=exited status=125
Nov 27 05:25:43 magna089 systemd[1]: rbd-target-api.service: Failed with result 'exit-code'.
Environment
Red Hat Ceph Storage 4 with podman version 2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.