New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file.recurse logger no attibute trace! #62279
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
3002.2 has significant security vulnerabilities and should not be used. 3002.9 is the only supported release of that version, and not for much longer. Are you using |
Python 3.6.8 |
The issue may already be fixed in 3004.2. You will also need the |
Tried the 3004.2 salt-ssh. When i try to make a test.ping i get
when master have
Probably that was the reason that i downgraded back to 3002.2. |
|
contextvars is installed on the master with pip. $ pip3 list |grep context Need to add it somewhere else? or is the problem described here ? master python3 = 3.9.5 |
That is that problem, yes, but I thought it had been solved. |
So i need to find a previous version of salt, to satisfy the file.recurse and avoid the contextvars too ? |
Not sure, but you should certainly not be using anything older than 3002.9. |
ModuleNotFoundError: No module named '_contextvars' error left when i updated python to 3.9.10 to target minion. |
Description of Issue
Tried with salt-ssh.
When i use file.recurse in a state file with no other sls include it works fine.
When i use it in a state that include another sls, file recurse break with
AttributeError: 'VerboseLogger' object has no attribute 'trace'
Steps to Reproduce Issue
If i remove the include part, it works fine.
full error message:
Versions Report
Salt Version:
Salt: 3002.2
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.11.2
libgit2: Not Installed
M2Crypto: Not Installed
Mako: 1.1.3
msgpack: 1.0.0
msgpack-pure: Not Installed
mysql-python: 1.4.4
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: 3.9.7
pygit2: Not Installed
Python: 3.9.5 (default, Nov 18 2021, 16:00:48)
python-gnupg: 0.4.6
PyYAML: 5.3.1
PyZMQ: 20.0.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: ubuntu 21.04 hirsute
locale: utf-8
machine: x86_64
release: 5.11.0-49-generic
system: Linux
version: Ubuntu 21.04 hirsute
The text was updated successfully, but these errors were encountered: