calamari
calamari copied to clipboard
Execute salt '*' ceph.get_heartbeats,it return 'ceph.get_heartbeats' is not available.
Guys
I am getting a problem on CentOS7 , Salt version 2015. after I installed all package and executed "salt-key -L" ,it was return ok.
[root@mon calamari]# salt-key -L
Accepted Keys:
mon
osd1
osd2
Denied Keys:
Unaccepted Keys:
Rejected Keys:
Then , when i was execute "salt '*' ceph.get_heartbeats", it was return error,
[root@mon calamari]# salt '*' ceph.get_heartbeats
osd1:
'ceph.get_heartbeats' is not available.
osd2:
'ceph.get_heartbeats' is not available.
mon:
'ceph.get_heartbeats' is not available.
ERROR: Minions returned with non-zero exit code
My salt version:
[root@mon calamari]# salt --version
salt 2015.8.13 (Beryllium)
[root@mon calamari]# salt-minion --version
salt-minion 2015.8.13 (Beryllium)
could any one tell me what happened with this, and how to fix it .thanks.
Please check whether files /var/cache/salt/minion/files/base/_modules/ceph.py
existed on minion nodes.
@syf-zsxm
[root@mon calamari]# ll /var/cache/salt/minion/files/base/_modules/ceph.py
ls: cannot access /var/cache/salt/minion/files/base/_modules/ceph.py: No such file or directory
It doesn't exist, and what should i do to get it.
Does salt '*' test.ping
work?
if work well, please try to run salt '*' saltutil.sync_all
or restart the salt-minion.
if not, you have to re-establish the connection between salt-minion and salt-master.
PS: What's you calamari version? If 1.3, salt-2014.7 is a better choice.
I also have this issue:
[root@ceph44 salt]# salt-key -L
Accepted Keys:
ceph44
ceph45
ceph46
Denied Keys:
Unaccepted Keys:
Rejected Keys:
[root@ceph44 salt]# salt '' test.ping
ceph44:
True
ceph45:
True
ceph46:
True
[root@ceph44 salt]# salt '' ceph.get_heartbeats
ceph45:
Module 'ceph' is not available.
ceph44:
Module 'ceph' is not available.
ceph46:
Module 'ceph' is not available.
ERROR: Minions returned with non-zero exit code