Open noelmcloughlin opened 6 years ago
Of the problems that I have experienced with mines, I do not believe mine.send
has been one. :)
Since it's a module, you can run it directly
`# salt 'minionX*' mine.send cephdisks.list
The mine.send
is there to prevent having to restart the Salt minion to recognize the new configuration file. We are using the Salt mine to cache cephdisks.list since that calls hwinfo
or lshw
which can take minutes on real hardware.
As far as debugging, I think you are at the enable "log_level: debug" on that minion, restart the minion and then try the command above step. Check /var/log/salt/minion for explicit messages.
I had this issue on debian. I found in the minion log that i was missing lshw and hwinfo and gdisk packages:
2019-01-15 21:43:25,383 [salt.loaded.int.module.mine:169 ][ERROR ][13348] Function cephdisks.list in mine_functions failed to execute 2019-01-15 21:43:25,432 [salt.loaded.int.module.mine:169 ][ERROR ][13348] Function cephimages.list in mine_functions failed to execute 2019-01-15 21:44:11,607 [salt.loader.salt-master.sigkill.noexit.ext.module.cephdisks:290 ][ERROR ][13585] Can not find a proper hardware detection tool. Install lshw or hwinfo in order to retrive hardware information
Install lshw or hwinfo in order to retrive hardware information ^ ^ @lordfolken Do you have one of them installed?
Description of Issue/Question
Running
export DEV_ENV=true; sudo salt-run state.orch ceph.stage.0
gets amines
state failure.How can I troubleshoot and resolve this issue / any pointers?
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
Versions Report
0.9.5+62.gac468eb
ii salt-api 2018.3.1+ds-1 all Generic, modular network access system ii salt-common 2018.3.1+ds-1 all shared libraries that salt requires for all packages ii salt-master 2018.3.1+ds-1 all remote manager to administer servers via salt ii salt-minion 2018.3.1+ds-1 all client package for salt, the distributed remote execution system