FS#76641 - [salt] ValueError: No closing quotation
Attached to Project:
Community Packages
Opened by CS (JMP64i) - Monday, 21 November 2022, 16:49 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 22 November 2022, 20:04 GMT
Opened by CS (JMP64i) - Monday, 21 November 2022, 16:49 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 22 November 2022, 20:04 GMT
|
Details
Description:
salt is bricked. Every `salt-call` ends in `ValueError: No closing quotation` Additional info: * salt 3005.1 * https://github.com/saltstack/salt/issues/63092 Steps to reproduce: # salt-call state.highstate /usr/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") [ERROR ] An un-handled exception was caught by Salt's global exception handler: ValueError: No closing quotation Traceback (most recent call last): File "/usr/bin/salt-call", line 33, in <module> sys.exit(load_entry_point('salt==3005.1', 'console_scripts', 'salt-call')()) File "/usr/lib/python3.10/site-packages/salt/scripts.py", line 441, in salt_call client.run() File "/usr/lib/python3.10/site-packages/salt/cli/call.py", line 40, in run caller = salt.cli.caller.Caller.factory(self.config) File "/usr/lib/python3.10/site-packages/salt/cli/caller.py", line 42, in factory return ZeroMQCaller(opts, **kwargs) File "/usr/lib/python3.10/site-packages/salt/cli/caller.py", line 303, in __init__ super().__init__(opts) File "/usr/lib/python3.10/site-packages/salt/cli/caller.py", line 63, in __init__ self.minion = salt.minion.SMinion(opts) File "/usr/lib/python3.10/site-packages/salt/minion.py", line 920, in __init__ opts["grains"] = salt.loader.grains(opts) File "/usr/lib/python3.10/site-packages/salt/loader/__init__.py", line 1116, in grains ret = funcs[key]() File "/usr/lib/python3.10/site-packages/salt/loader/lazy.py", line 149, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3.10/site-packages/salt/loader/lazy.py", line 1228, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3.10/site-packages/salt/loader/lazy.py", line 1243, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3.10/site-packages/salt/grains/core.py", line 3094, in kernelparams item.split("=") for item in salt.utils.args.shlex_split(cmdline) File "/usr/lib/python3.10/site-packages/salt/utils/args.py", line 278, in shlex_split shlex.split(salt.utils.stringutils.to_str(s), **kwargs) File "/usr/lib/python3.10/shlex.py", line 315, in split return list(lex) File "/usr/lib/python3.10/shlex.py", line 300, in __next__ token = self.get_token() File "/usr/lib/python3.10/shlex.py", line 109, in get_token raw = self.read_token() File "/usr/lib/python3.10/shlex.py", line 191, in read_token raise ValueError("No closing quotation") ValueError: No closing quotation Traceback (most recent call last): File "/usr/bin/salt-call", line 33, in <module> sys.exit(load_entry_point('salt==3005.1', 'console_scripts', 'salt-call')()) File "/usr/lib/python3.10/site-packages/salt/scripts.py", line 441, in salt_call client.run() File "/usr/lib/python3.10/site-packages/salt/cli/call.py", line 40, in run caller = salt.cli.caller.Caller.factory(self.config) File "/usr/lib/python3.10/site-packages/salt/cli/caller.py", line 42, in factory return ZeroMQCaller(opts, **kwargs) File "/usr/lib/python3.10/site-packages/salt/cli/caller.py", line 303, in __init__ super().__init__(opts) File "/usr/lib/python3.10/site-packages/salt/cli/caller.py", line 63, in __init__ self.minion = salt.minion.SMinion(opts) File "/usr/lib/python3.10/site-packages/salt/minion.py", line 920, in __init__ opts["grains"] = salt.loader.grains(opts) File "/usr/lib/python3.10/site-packages/salt/loader/__init__.py", line 1116, in grains ret = funcs[key]() File "/usr/lib/python3.10/site-packages/salt/loader/lazy.py", line 149, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3.10/site-packages/salt/loader/lazy.py", line 1228, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3.10/site-packages/salt/loader/lazy.py", line 1243, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3.10/site-packages/salt/grains/core.py", line 3094, in kernelparams item.split("=") for item in salt.utils.args.shlex_split(cmdline) File "/usr/lib/python3.10/site-packages/salt/utils/args.py", line 278, in shlex_split shlex.split(salt.utils.stringutils.to_str(s), **kwargs) File "/usr/lib/python3.10/shlex.py", line 315, in split return list(lex) File "/usr/lib/python3.10/shlex.py", line 300, in __next__ token = self.get_token() File "/usr/lib/python3.10/shlex.py", line 109, in get_token raw = self.read_token() File "/usr/lib/python3.10/shlex.py", line 191, in read_token raise ValueError("No closing quotation") ValueError: No closing quotation |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 22 November 2022, 20:04 GMT
Reason for closing: Not a bug
Additional comments about closing: Root cause FS#76468
Tuesday, 22 November 2022, 20:04 GMT
Reason for closing: Not a bug
Additional comments about closing: Root cause
https://bbs.archlinux.org/viewtopic.php?id=281209