Skip to content

Cheat Sheet

Jan Fajerski edited this page Oct 26, 2018 · 3 revisions

References

Salt documentation

Salt documentation on targeting minions

Save Operations

salt-key -L - Display information about your salt cluster: minions in the salt cluster, minions not yet accepted into the salt cluster.

salt -C "G@deepsea_minions:*" test.ping - Check if all minions are up and answer a ping message.

salt <target> pillar.items - Inspect pillar key-value store. Contains configuration data that DeepSea uses to deploy ceph.

salt <target> pillar.get <key> - Inspect pillar a certain key

salt-run jobs.active - Check on currently running salt jobs. Can be helpful with a seemingly stuck stage.

salt-run proposal.help - Help text regarding the disk proposal runner

salt-run proposal.peek - Output proposal to stdout

salt-run proposal.populate - Write proposal files, won't overwrite existing files.