Salt fails with TypeError: cannot pickle 'generator' object and AttributeError: 'Pillar' object has no attribute '_closing' #9532
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: mgmt
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
R: self-closed
Voluntarily closed by the person who opened it before another resolution occurred.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
How to file a helpful issue
Qubes OS release
R4.2
Brief summary
I was editing a lot of files in
/srv/
, specially/srv/salt/_grains/
for a new grain and I also updated dom0. On the next salt-call, the error started appearing. I am not sure it is related to the updates as I waited for some days to post this to see if anyone faces it also. Last update wasqubes-mgmt-salt-dom0-update
, which did not have anything related to Pillar in the commit, so I dicarded it.Software versions:
What I have tried:
sudo qubes-dom0-update --action=reinstall "*salt*"
/srv/
and reinstall all salt packages__pycache__/*.pyc
and restart the computerSteps to reproduce
Call any salt module such as:
Expected behavior
States are applied succesfully.
Actual behavior
The text was updated successfully, but these errors were encountered: