saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
14.1k stars 5.47k forks source link

salt-run state.event pretty=True not working #47914

Closed vimalkesavan closed 6 years ago

vimalkesavan commented 6 years ago

Hi, I am new to salt.

I am trying to configure a beacon in minion.

When I give command salt-run state.event pretty=True it gives a message "Function 'state.event' is unavailable"

vimalkesavan commented 6 years ago

//minion output

root@NTNX-FCH2004V1KZ-A-CVM:10.151.34.237: salt-call sys.list_functions Checksum type 'md5' disabled local:

vimalkesavan commented 6 years ago

//master root@HelperFramework:~# salt --versions-report Salt: 0.17.5 Python: 2.7.6 (default, Nov 23 2017, 15:49:48) Jinja2: 2.10 M2Crypto: 0.21.1 msgpack-python: 0.3.0 msgpack-pure: Not Installed pycrypto: 2.6.1 PyYAML: 3.10 PyZMQ: 14.0.1 ZMQ: 4.0.4

garethgreenaway commented 6 years ago

@vimalkesavan Thanks for the report. To clarify, are you attempting to run salt-run on the Salt minion or on the Salt master?

vimalkesavan commented 6 years ago

Hi Team,

It seems that issue is resolved when uninstalled and reinstalled the salt master and salt minion respectively.