Page MenuHomeDevCentral

Salt 3005.1 can't start on fresh FreeBSD 13.1 installation
Closed, InvalidPublic

Description

The aptpkg and rabbitmq modules can't be imported when running salt-minion on a fresh FreeBSD 13.1 install

Stacktraces:

12023-04-06 21:11:54,485 [salt.loader.lazy :814 ][ERROR ][1290] Failed to import module rabbitmq as the module called exit()
2Traceback (most recent call last):
3 File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 768, in _load_module
4 mod = self.run(spec.loader.load_module)
5 File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1228, in run
6 return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
7 File "/usr/local/lib/python3.9/site-packages/salt/loader/lazy.py", line 1243, in _run_as
8 return _func_or_method(*args, **kwargs)
9 File "<frozen importlib._bootstrap_external>", line 529, in _check_name_wrapper
10 File "<frozen importlib._bootstrap_external>", line 1029, in load_module
11 File "<frozen importlib._bootstrap_external>", line 854, in load_module
12 File "<frozen importlib._bootstrap>", line 274, in _load_module_shim
13 File "<frozen importlib._bootstrap>", line 711, in _load
14 File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
15 File "<frozen importlib._bootstrap_external>", line 846, in exec_module
16 File "<frozen importlib._bootstrap_external>", line 978, in get_code
17 File "<frozen importlib._bootstrap_external>", line 647, in _compile_bytecode
18 File "/usr/local/lib/python3.9/site-packages/salt/scripts.py", line 61, in _handle_signals
19 sys.exit(salt.defaults.exitcodes.EX_OK)
20SystemExit: 0

Event Timeline

dereckson triaged this task as High priority.Apr 6 2023, 19:21
dereckson created this task.
dereckson closed this task as Invalid.EditedApr 6 2023, 19:37

Those modules need to call a Salt function in __virtual__, and Salt minion configuration file was malformed.