mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
mgr: add missing call to pick_addresses
Previously this was presumably simply not applying the public_network setting at all. Fixes: http://tracker.ceph.com/issues/20955 Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
2efc7e756b
commit
33fe08dd39
@ -20,6 +20,7 @@
|
||||
#include "common/config.h"
|
||||
#include "common/ceph_argparse.h"
|
||||
#include "common/errno.h"
|
||||
#include "common/pick_address.h"
|
||||
#include "global/global_init.h"
|
||||
|
||||
#include "mgr/MgrStandby.h"
|
||||
@ -52,6 +53,8 @@ int main(int argc, const char **argv)
|
||||
usage();
|
||||
}
|
||||
|
||||
pick_addresses(g_ceph_context, CEPH_PICK_ADDRESS_PUBLIC);
|
||||
|
||||
global_init_daemonize(g_ceph_context);
|
||||
global_init_chdir(g_ceph_context);
|
||||
common_init_finish(g_ceph_context);
|
||||
|
Loading…
Reference in New Issue
Block a user