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

Force user to populate "/cephadm_bootstrap/mon_ip" with a real IP address #406

Open
smithfarm opened this issue Sep 23, 2020 · 0 comments
Open
Labels
low-hanging-fruit Simple tasks to get started usability

Comments

@smithfarm
Copy link
Contributor

smithfarm commented Sep 23, 2020

(Please correct me if I'm wrong about any of this!)

When the user leaves /cephadm_bootstrap/mon_ip unset, ceph-salt's current behavior is to randomly choose one of the IP addresses of the bootstrap node, and provide that to cephadm bootstrap (which does require an explicit --mon-ip option).

This is wrong, because it enables the user to easily overlook that the setting of /cephadm_bootstrap/mon_ip determines not just the IP address that the MON listens on, but also the public network of the whole cluster.

Therefore, ceph-salt should force the user to set cephadm_boostrap/mon_ip explicitly.

It should also verify that the IP address exists on the bootstrap node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-hanging-fruit Simple tasks to get started usability
Projects
None yet
Development

No branches or pull requests

2 participants