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
Error when running salt-run jobs.lookup_jid
with master_job_cache: pgjsonb
#40673
Comments
As a note, I have deleted all records in |
salt-run jobs.lookup_jid
salt-run jobs.lookup_jid
with master_job_cache: pgjsonb
salt-run jobs.lookup_jid
with master_job_cache: pgjsonb
salt-run jobs.lookup_jid
with master_job_cache: pgjsonb
Can you double check that you don't have any extra pgjsonb.py files in like /var/cache/salt/master/extmods/returners ? I am unfortunately unable to replicate this issue.
If you can try cleaning salt off the server which is failing and reinstalling salt? Thanks, |
Hi, I've just tried this
When the returner pgjsonb is enable I have the same traceback
When disabling the returner I have no more problem Best regards,
Returner config
|
Note we are both on CentOS 7, could be a bug with python 2.7.5 ? I think you should do like Puppet, a package that include the full Python environment, no dependency with the Python of the OS, also Jinja on CentOS7 it's a old one (2.7.x), I've upgrade it to 2.10 |
It's working with package from http://repo.saltstack.com/py3/redhat/7/x86_64/latest/ |
So, is this still an issue? or can it be closed? |
Issue with Python 2.7.5 |
I was unable to replicate it on centos 7 with python 2.7.5 here |
I confirm that when I switch back to python 2.7.5 it's no more working for me. In my formula I use these resources, git.latest, file (managed, recurse, directory, serialize, replace, append, symlink), ini.options_present, ssh_known_hosts.present, cmd (run, script), service.running, pkgrepo.(managed, installed), module.run (cp.push), pkg.installed, user.present, archive.extracted |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Description of Issue/Question
When running
salt-run jobs.lookup_jid 20170412195438001065
, I have got this error:Setup
On a salt master, connected to remote minions with this config:
How to reproduce this error
I am not sure how to reproduce this error. I have a similar setting on another master and it works fine there (exactly the same salt report version, same postgresql, only the name of the database differs).
But what I do on the faulty server is the following:
Versions Report
The text was updated successfully, but these errors were encountered: