The early args include fields like the user id/name, configuration
file location, and cluster name. This support was accidentally
removed in commit
7f23142f5ccc5ac8153d32b2c9a8353593831967 during
"global_(pre_)init" cleanup.
Fixes: https://tracker.ceph.com/issues/43795
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
std::string conf_file_list;
std::string cluster = "";
+ // ensure environment arguments are included in early processing
+ env_to_vec(args);
+
CephInitParameters iparams = ceph_argparse_early_args(
args, module_type,
&cluster, &conf_file_list);