salt: Salt unable to apply high state - ` ValueError: '' is not in list`
Description of Issue/Question
Salt unable to apply high state
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).) install salt-master and minion from PPA on ubuntu 14.04
Steps to Reproduce Issue
(Include debug logs if possible and relevant.) Apply high state
# salt '*' state.highstate
salt-master:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1161, in _thread_return
return_data = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 523, in highstate
whitelist=kwargs.get('whitelist')
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2934, in call_highstate
self.load_dynamic(matches)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2482, in load_dynamic
self.state.module_refresh()
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 746, in module_refresh
self.load_modules()
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 709, in load_modules
self.functions = salt.loader.minion_mods(self.opts, self.state_con)
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 159, in minion_mods
loaded_base_name=loaded_base_name)
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 738, in __init__
self.refresh_file_mapping()
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 858, in refresh_file_mapping
if suffix_order.index(ext) < suffix_order.index(curr_ext):
ValueError: '' is not in list
Versions Report
(Provided by running salt --versions-report
. Please also mention any differences in master/minion versions.)
# salt-minion --versions-report
Salt: 2015.5.3
Python: 2.7.6 (default, Jun 22 2015, 17:58:13)
Jinja2: 2.7.2
M2Crypto: 0.21.1
msgpack-python: 0.3.0
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.0.1
RAET: Not Installed
ZMQ: 4.0.4
Mako: Not Installed
Tornado: Not Installed
Debian source package: 2015.5.3+ds-1trusty1
# salt-master --versions-report
Salt: 2015.5.3
Python: 2.7.6 (default, Jun 22 2015, 17:58:13)
Jinja2: 2.7.2
M2Crypto: 0.21.1
msgpack-python: 0.3.0
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.0.1
RAET: Not Installed
ZMQ: 4.0.4
Mako: Not Installed
Tornado: Not Installed
Debian source package: 2015.5.3+ds-1trusty1
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (15 by maintainers)
Yes. Let’s close for now since I’m not having any issues on 16.04.