salt: salt-run state.event pretty=true: 'state.event' is not available

I try to run a salt-run to debug a beacon that seems not to be working any longer on my salt-master. Trying to look at the events I remember I once used the following command that now no longer works returning: ‘state.event’ is not available:

saltmaster# salt-run -l debug  state.event pretty=true
DEBUG   ] Reading configuration from /etc/salt/master
[DEBUG   ] Including configuration from '/etc/salt/master.d/pillar.conf'
[DEBUG   ] Reading configuration from /etc/salt/master.d/pillar.conf
[DEBUG   ] Including configuration from '/etc/salt/master.d/reactor.conf'
[DEBUG   ] Reading configuration from /etc/salt/master.d/reactor.conf
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: salt.uni-koblenz.de
[DEBUG   ] Missing configuration file: /root/.saltrc
[DEBUG   ] Configuration file path: /etc/salt/master
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG   ] Could not LazyLoad state.event: 'state.event' is not available.
[DEBUG   ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG   ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG   ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pub.ipc
[DEBUG   ] Initializing new IPCClient for path: /var/run/salt/master/master_event_pull.ipc
[DEBUG   ] Sending event: tag = salt/run/20200424085835678402/ret; data = {u'fun_args': [{u'pretty': True, u'__kwarg__': True}], u'jid': u'20200424085835678402', u'return': u"'state.event' is not available.", u'retcode': 254, u'success': False, u'_stamp': '2020-04-24T06:58:35.745965', u'fun': u'state.event'}
[DEBUG   ] LazyLoaded nested.output
'state.event' is not available.
[DEBUG   ] Closing IPCMessageSubscriber instance
[DEBUG   ] Closing IPCMessageClient instance

saltmaster# salt-call sys.list_functions | grep state.event
    - state.event
# salt --versions-report
Salt Version:
           Salt: 2019.2.0
 
Dependency Versions:
           cffi: 1.11.2
       cherrypy: Not Installed
       dateutil: Not Installed
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.8
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: Not Installed
      pycparser: 2.10
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.13 (default, Jan 11 2017, 10:56:06) [GCC]
   python-gnupg: Not Installed
         PyYAML: 5.1.2
          PyZMQ: 14.0.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.0.4
 
System Versions:
          dist: SuSE 12 x86_64
         locale: UTF-8
        machine: x86_64
        release: 4.12.14-122.17-default
         system: Linux
        version: SUSE Linux Enterprise Server  12 x86_64

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (12 by maintainers)

Most upvoted comments

Thanks for your request. Unfortunately I have little time to go after this issue. For the current salt-master SLES version 12SP5 salt3000 is the latest release. And here I can still reproduce the problem. Sooner or later I will upgrade to SLES15 which has a more recent version of salt. But at the moment there is no time for this upgrade. So it will take some time. Sorry and thanks for reminding me.