I was working on salt-sproxy on my Ubuntu, for some years, and all was good.
Recently I moved to MacOS, and I am not able to make it working anymore.
Needed packages are installed as mentioned below.
Receive the error:
[DEBUG ] Results of YAML rendering:
OrderedDict([('10.232.1.16', OrderedDict([('grains', OrderedDict([('default', 'empty')]))]))])
[PROFILE ] Time (in seconds) to render '/etc/salt/roster' using 'yaml' renderer: 0.00036716461181640625
[DEBUG ] Glob matching on dict_items([('10.232.1.16', {'minion_opts': OrderedDict([('grains', OrderedDict([('default', 'empty')]))])})]) ? 10.232.1.16
[DEBUG ] The target expression "10.232.1.16" (glob) matched the following:
[DEBUG ] ['10.232.1.16']
[DEBUG ] LazyLoaded user.get_specific_user
[INFO ] 1 devices matched the target, executing in 1 batches
[DEBUG ] Executing sproxy normal run on the following devices (16 batch size):
[DEBUG ] ['10.232.1.16']
[DEBUG ] Starting execution for 10.232.1.16
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
ModuleNotFoundError: No module named 'salt.loaded'
ERROR: Minions returned with non-zero exit code
[DEBUG ] LazyLoaded local_cache.prep_jid
[DEBUG ] Using pkg_resources to load entry points
[DEBUG ] LazyLoaded nested.output
My packages are: