]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: Fix extra_container_args for iSCSI 51785/head
authorRaimund Sacherer <rsachere@redhat.com>
Fri, 26 May 2023 15:52:57 +0000 (17:52 +0200)
committerAdam King <adking@redhat.com>
Tue, 8 Aug 2023 16:02:51 +0000 (12:02 -0400)
extra_container_args where only applied for rbd_target_api container and not for
tcmu-runner container.

Signed-off-by: Raimund Sacherer <rsachere@redhat.com>
src/cephadm/cephadm.py

index 184316a63ca6468042e8f8bcde487175290e89e9..78caa1720d112d2b1bc43fe3d9b07f9e884a9e4a 100755 (executable)
@@ -980,7 +980,7 @@ class CephIscsi(object):
         # daemon_id, is used to generated the cid and pid files used by podman but as both tcmu-runner
         # and rbd-target-api have the same daemon_id, it conflits and prevent the second container from
         # starting. .tcmu runner is appended to the daemon_id to fix that.
-        tcmu_container = get_container(self.ctx, self.fsid, self.daemon_type, str(self.daemon_id) + '.tcmu')
+        tcmu_container = get_deployment_container(self.ctx, self.fsid, self.daemon_type, str(self.daemon_id) + '.tcmu')
         tcmu_container.entrypoint = '/usr/bin/tcmu-runner'
         tcmu_container.cname = self.get_container_name(desc='tcmu')
         return tcmu_container