Rook uses `CEPH_ARGS` to convey the `mon_host` configurable. Lack of
support for it was the root cause of inability to reach out to monitors.
See: https://gist.github.com/rzarzynski/
95746aa73a48e811749a3b0aaeb31680#gistcomment-
3924233.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
});
}
+ seastar::future<> parse_env() {
+ return do_change([this](ConfigValues& values) {
+ get_config().parse_env(CEPH_ENTITY_TYPE_OSD,
+ values,
+ obs_mgr);
+ });
+ }
+
seastar::future<> parse_config_files(const std::string& conf_files);
using ShardedConfig = seastar::sharded<ConfigProxy>;
sharded_perf_coll().stop().get();
});
local_conf().parse_config_files(conf_file_list).get();
+ local_conf().parse_env().get();
local_conf().parse_argv(ceph_args).get();
if (const auto ret = pidfile_write(local_conf()->pid_file);
ret == -EACCES || ret == -EAGAIN) {