Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luminous: mgr: add missing call to pick_addresses #17173

Merged
merged 1 commit into from Aug 24, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

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>
(cherry picked from commit 33fe08d)
  • Loading branch information...
John Spray authored and tchaikov committed Aug 9, 2017
commit 86df6f18cf160b706945e0cffc15159542a7c3d3
@@ -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);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.