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
Bugbroken, incorrect, or confusing behaviorCorerelates to code central or existential to SaltP1Priority 1Salt-SSHseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundstale
@HG00, thanks for the report. This looks to be an overlooked incompatibility or assumption when packing up the thin tar ball from the centos 6 system to the ubuntu system.
Same problem running salt-ssh from a centos 6.7 master to a centos 7.1 minion (RHEL7 ships with python 2.7).
I would suggest to mention this issue in the salt-ssh documentation so people are aware of the problem (it is quite common to have python 2.7 minions these days).
I ran into this exact error and verified the temporary fix from dreampuf.
My master is CentOS 6.5 with Python 2.6.6 and my broken minion is Ubuntu 14.04.2 LTS with Python 2.7.6.
Wrote state to fix:
# File: /srv/salt/setup/fix-salt-thin.sls
# PURPOSE: Fix for https://github.com/saltstack/salt/issues/18425
# ISSUE: Problem in Python when master is Python 2.6 and minion
# is 2.7
# NOTES: If you already SSH'd to the host then you will need to
# delete the salt thin directory on the minion:
# rm /tmp/.user_hex_salt
# Fix the thin.py
fix_salt_thin:
file.replace:
- name: /usr/lib/python2.6/site-packages/salt/utils/thin.py
- pattern: '^ HAS_XML = True'
- repl: ' HAS_XML = False'
# Remove the old Salt thin tarball
remove_old_salt_thin:
file.absent:
- name: /var/cache/salt/master/thin/thin.tgz
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.
Bugbroken, incorrect, or confusing behaviorCorerelates to code central or existential to SaltP1Priority 1Salt-SSHseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work aroundstale
Sorry if this is the wrong place to put this - I dont have a solution at the moment so hoping for some help!
We're trying to use salt-ssh from centos6.6 to ubuntu 14.04 minions, it seems to get a lot of the way, but then fail with this:
If I install salt-ssh on another ubuntu14.04 box (python2.7) and retry, it works just fine:
Any ideas? I can test / run anything that will be helpful
The text was updated successfully, but these errors were encountered: