0.17.1 Windows AMD64 stacktraces on the minion during state.highstate and state.top with "ImportError: No module named audio"
We're using the 0.17.1 AMD64 installer. We can run a statefile via state.sls. But when we create a topfile and include only that one statefile (which itself has only one state), the minion stacktraces:
[WARNING ] The minion function caused an exception: Traceback (most recent call last):
File "salt/minion.py", line 659, in _thread_return
File "salt/modules/state.py", line 257, in highstate
File "salt/state.py", line 2304, in call_highstate
File "salt/state.py", line 1927, in load_dynamic
File "salt/state.py", line 553, in module_refresh
File "site.py", line 548, in <module>
File "site.py", line 526, in main
File "site.py", line 94, in abs__file__
File "email/__init__.py", line 79, in __getattr__
ImportError: No module named audio
Output of versions-report on the Minion:
Salt: 0.17.1
Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
Jinja2: 2.7.1
M2Crypto: 0.21.1
msgpack-python: 0.3.0
msgpack-pure: Not Installed
pycrypto: 2.6
PyYAML: 3.10
PyZMQ: 13.1.0
ZMQ: 3.2.2
This is the case with both state.highstate and state.top
Does a module you're using try to import the audio module?
It does not. It's just a cmd.run. On Oct 25, 2013 2:55 PM, "David Boucha" [email protected] wrote:
Does a module you're using try to import the audio module?
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt/issues/8100#issuecomment-27117000 .
Forgot to mention: this user group message was the only other place I saw this error mentioned.
This should have been fixed in 0.17.1.1 Issue #7954
This has been fixed in https://github.com/saltstack/salt/pull/8143
I've released a 64 bit installer here: http://saltstack.com/downloads/Salt-Minion-0.17.1.1-AMD64-Setup.exe
@drawsmcgraw could you test this?
@UtahDave It will take a bit to get it into our lab but I'll let you know as soon as we've confirmed the fix. Thanks!
I just tested the new installer and confirm that it fixes this ImportError.
I'll take your word for it. Thanks!