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

Run "ceph-salt apply" sanity/pre-flight checks in "ceph-salt status" as well? #379

Open
smithfarm opened this issue Sep 8, 2020 · 2 comments
Assignees

Comments

@smithfarm
Copy link
Contributor

Currently ceph-salt status checks that the configuration entered by the user is internally coherent, and ceph-salt apply checks the actual nodes for problematic states that are known to make ceph-salt apply fail.

I can imagine that users might experience consternation if they (1) run ceph-salt status and see OK, (2) run ceph-salt apply and it fails in the sanity/pre-flight checks.

Would it be feasible for ceph-salt status to also run the ceph-salt apply sanity/pre-flight checks?

@ricardoasmarques
Copy link
Contributor

Agree. When I see ceph-salt status returning OK, I'm expecting that ceph-salt apply will work.

@smithfarm smithfarm changed the title Should we run "ceph-salt apply" sanity/pre-flight checks in "ceph-salt status" as well? Run "ceph-salt apply" sanity/pre-flight checks in "ceph-salt status" as well? Sep 14, 2020
@smithfarm
Copy link
Contributor Author

We agreed that:

  1. ceph-salt apply sanity checks should be expanded to include the checks currently being done by ceph-salt status
  2. ceph-salt status should be re-implemented as a "dry run" of ceph-salt apply (do everything up to, but not including applying the Salt Formula)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants