From 4d90d667b3d6a02c0149f3040dcc18e3ee57ed9a Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 12 Feb 2020 11:36:35 -0700 Subject: [PATCH] cephadm: fix deploy crash when no `args.fsid` broken by 724199dd873e2a02f67ea2e191093d8080c686a7 when the crash agent was made to behave like all other services Signed-off-by: Michael Fritch --- src/cephadm/cephadm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 8fec14024997f..a256563fe89f1 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1391,8 +1391,8 @@ def deploy_crash(fsid, uid, gid, config, keyring): # type: (str, int, int, str, str) -> None crash_dir = os.path.join(args.data_dir, fsid, 'crash') makedirs(crash_dir, uid, gid, DATA_DIR_MODE) - c = get_container(args.fsid, 'crash', get_hostname()) - deploy_daemon(args.fsid, 'crash', get_hostname(), c, uid, gid, + c = get_container(fsid, 'crash', get_hostname()) + deploy_daemon(fsid, 'crash', get_hostname(), c, uid, gid, config, keyring) def get_unit_file(fsid, uid, gid): -- 2.39.5