mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
Merge pull request #39143 from adk3798/ha-rgw-data-dir
cephadm: fix get_data_dir calls for ha-rgw daemons Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com> Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
This commit is contained in:
commit
79b91ea62d
@ -2326,7 +2326,7 @@ def get_container_mounts(ctx, fsid, daemon_type, daemon_id,
|
||||
|
||||
if daemon_type == HAproxy.daemon_type:
|
||||
assert daemon_id
|
||||
data_dir = get_data_dir(fsid, daemon_type, daemon_type, daemon_id)
|
||||
data_dir = get_data_dir(fsid, ctx.data_dir, daemon_type, daemon_id)
|
||||
mounts.update(HAproxy.get_container_mounts(data_dir))
|
||||
|
||||
if daemon_type == CephIscsi.daemon_type:
|
||||
@ -2337,7 +2337,7 @@ def get_container_mounts(ctx, fsid, daemon_type, daemon_id,
|
||||
|
||||
if daemon_type == Keepalived.daemon_type:
|
||||
assert daemon_id
|
||||
data_dir = get_data_dir(fsid, daemon_type, daemon_type, daemon_id)
|
||||
data_dir = get_data_dir(fsid, ctx.data_dir, daemon_type, daemon_id)
|
||||
mounts.update(Keepalived.get_container_mounts(data_dir))
|
||||
|
||||
if daemon_type == CustomContainer.daemon_type:
|
||||
|
Loading…
Reference in New Issue
Block a user