]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
iscsigw: remove `--cap-add=all` from `podman run` cmd
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 30 Nov 2020 13:55:16 +0000 (14:55 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 1 Dec 2020 14:53:15 +0000 (09:53 -0500)
commit0d225988066b0b51648c4b6940c16f603deebd8d
treef6e10f4128f95f9a23a9c5284aecaa1d141650c0
parentef154613c8128d352878ff5b0f182118eb8ea18b
iscsigw: remove `--cap-add=all` from `podman run` cmd

As of podman `2.0.5`, `--cap-add` and `--privileged` are exclusive
options.

```
Nov 30 13:56:30 magna089 podman[171677]: Error: invalid config provided: CapAdd and privileged are mutually exclusive options
```

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1902149
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d40dd764e004f9765e5d4e12507cdf3c707a3271)
roles/ceph-iscsi-gw/templates/rbd-target-api.service.j2
roles/ceph-iscsi-gw/templates/rbd-target-gw.service.j2
roles/ceph-iscsi-gw/templates/tcmu-runner.service.j2