You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description x509.certificate_managed state isn't working with test mode enabled. It looks like the problem is with SUSE backport patch 094b347. There is an usage of undefined private_key_args variable. It was probably pulled from some old code.
Error:
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/salt/state.py", line 2402, in call
*cdata["args"], **cdata["kwargs"]
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 149, in __call__
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1234, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/contextvars/__init__.py", line 38, in run
return callable(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1249, in _run_as
return _func_or_method(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.py", line 1282, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/states/x509.py", line 708, in certificate_managed
private_key_args.update(managed_private_key)
NameError: name 'private_key_args' is not defined
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3006.0Python Version:
Python: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC]Dependency Versions:
cffi: 1.13.2cherrypy: unknowndateutil: Not Installeddocker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 2.10.1libgit2: Not Installedlooseversion: 1.0.2M2Crypto: 0.38.0Mako: Not Installedmsgpack: 0.5.6msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 20.3pycparser: 2.17pycrypto: Not Installedpycryptodome: Not Installedpygit2: Not Installedpython-gnupg: Not InstalledPyYAML: 5.4.1PyZMQ: 17.1.2relenv: Not Installedsmmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.2.3System Versions:
dist: opensuse-leap 15.5locale: UTF-8machine: x86_64release: 5.14.21-150500.55.39-defaultsystem: Linuxversion: openSUSE Leap 15.5
The text was updated successfully, but these errors were encountered:
winddss
added a commit
to winddss/salt-opensuse-issue-617
that referenced
this issue
Sep 11, 2024
Description
x509.certificate_managed
state isn't working with test mode enabled. It looks like the problem is with SUSE backport patch 094b347. There is an usage of undefinedprivate_key_args
variable. It was probably pulled from some old code.Error:
Setup
salt-minion-3006.0-150500.4.24.2.x86_64
Steps to Reproduce the behavior
Expected behavior
No error returned.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: