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
mgr: add missing call to pick_addresses #16940
Conversation
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>
@@ -52,6 +53,8 @@ int main(int argc, const char **argv) | |||
usage(); | |||
} | |||
|
|||
pick_addresses(g_ceph_context, CEPH_PICK_ADDRESS_PUBLIC); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe a space is added Intentionally between function calls.
It is required, serves a purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the space is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcsp Cool Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcsp Thanks
@@ -52,6 +53,8 @@ int main(int argc, const char **argv) | |||
usage(); | |||
} | |||
|
|||
pick_addresses(g_ceph_context, CEPH_PICK_ADDRESS_PUBLIC); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcsp Cool Thanks
@@ -52,6 +53,8 @@ int main(int argc, const char **argv) | |||
usage(); | |||
} | |||
|
|||
pick_addresses(g_ceph_context, CEPH_PICK_ADDRESS_PUBLIC); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcsp Thanks
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