New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stacktrace with listen_in when key is not valid #13744

ryan-lane opened this Issue Jun 25, 2014 · 0 comments


None yet
2 participants

ryan-lane commented Jun 25, 2014

My state had the following:

Ensure redis.conf is present:
    - name: /etc/redis/redis.conf
    - source: salt://redis/redis.conf
    - template: jinja
    - listen_in:
      - supervisord: redis

But I had removed my supervisord state for redis. This resulted in a stack trace:

KeyError: ('supervisord', 'redis')
Traceback (most recent call last):
  File "/usr/bin/salt-call", line 11, in <module>
  File "/usr/lib/python2.7/dist-packages/salt/", line 128, in salt_call
  File "/usr/lib/python2.7/dist-packages/salt/cli/", line 398, in run
  File "/usr/lib/python2.7/dist-packages/salt/cli/", line 186, in run
    ret =
  File "/usr/lib/python2.7/dist-packages/salt/cli/", line 91, in call
    ret['return'] = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/salt/modules/", line 288, in highstate
  File "/usr/lib/python2.7/dist-packages/salt/", line 2770, in call_highstate
    return self.state.call_high(high)
  File "/usr/lib/python2.7/dist-packages/salt/", line 1906, in call_high
    ret = self.call_listen(chunks, ret)
  File "/usr/lib/python2.7/dist-packages/salt/", line 1872, in call_listen
    chunk = crefs[key]
KeyError: ('supervisord', 'redis')

@thatch45 thatch45 added Bug labels Jun 26, 2014

@thatch45 thatch45 added this to the ww27 milestone Jun 26, 2014

@thatch45 thatch45 self-assigned this Jun 26, 2014

@thatch45 thatch45 closed this in b1bdae8 Jun 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment