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

Do we really need ceph-salt grains? #435

Open
ricardoasmarques opened this issue Oct 13, 2020 · 1 comment
Open

Do we really need ceph-salt grains? #435

ricardoasmarques opened this issue Oct 13, 2020 · 1 comment
Labels
question Further information is requested

Comments

@ricardoasmarques
Copy link
Contributor

ricardoasmarques commented Oct 13, 2020

(Relying on the pillar is more secure because only the master node can set it)

For ceph-salt minions targetting, we can use pillar:

salt -I ceph-salt:minions state.apply <state>

instead of grain:

salt -G ceph-salt:member state.apply <state>

So, apart from ceph-salt:execution grains that are set during execution for orchestration, do we really need any other ceph-salt grains?

(AFAIK, Suse Manager doesn't support grains)

@ricardoasmarques ricardoasmarques added the question Further information is requested label Oct 13, 2020
@ricardoasmarques
Copy link
Contributor Author

I think we still need grains when we want to target minion by role, for instance:

salt -G ceph-salt:roles:admin test.ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant