-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
python3: broken pillar cache: yaml: TypeError: a bytes-like object is required, not 'str' #53943
Comments
I'm able to fix / workaround this by replacing: 821 with salt.utils.files.fopen(ptop, 'wb') as fp_: and in minion.py |
this one needs: minion_pillar_cache: True |
@disaster123 Does the minion run fine under python 3 if you remove the cache file? |
No |
@disaster123 Thanks, I've confirmed this is an issue.
|
@disaster123 Does the minion run fine without this. |
with my patch it runs fine - yes |
can this please be get fixed for 2019.2.1 ? |
Why is this still unfixed in 2019.2.2? |
@sagetherage salt 2019 is unusable without a fix - why is this a todo in sodium? |
That is the project of work, and is in "Considering" as I need to have a planning session with the team to understand deeper how, when, what, etc. to get this fixed, not to state that it will be only fixed in Sodium or Master, sorry for the confusion. It is my attempt to move it along. |
ah ok thx |
Looks like this was fixed in #56143. It was part of the 3000.1 release. Could you verify with 3000.2 please? |
Description of Issue
Since Upgrading from 2017.7 py2 to 2019.2 py3 i can't issue any salt-call - not even test.ping
All result in:
Steps to Reproduce Issue
just call
salt-call test.ping
Versions Report
salt-call --versions-report
Salt Version:
Salt: 2019.2.0
Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.5.3
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.9.4
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.5.3 (default, Sep 27 2018, 17:25:39)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 16.0.2
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.4.3
ZMQ: 4.2.1
System Versions:
dist: debian 9.9
locale: UTF-8
machine: x86_64
release: 4.19.45+26-ph
system: Linux
version: debian 9.9
The text was updated successfully, but these errors were encountered: