Repository navigation
Closed
Labels
Corerelates to code central or existential to SaltP2Priority 2ZRELEASED - 2016.3.4bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-criticaltop severity, seen by most users, serious issuesseverity-high2nd top severity, seen by most users, causes major problems
Milestone
Description
I try to copy a file from minion to master using:
salt -l debug 'minion' cp.push /etc/issue
And I get the following error:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1332, in _thread_return
return_data = executor.execute()
File "/usr/lib/python2.7/dist-packages/salt/executors/direct_call.py", line 28, in execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/cp.py", line 799, in push
load_path_list = os.path.split(load_path_split_drive)
File "/usr/lib/python2.7/posixpath.py", line 92, in split
i = p.rfind('/') + 1
AttributeError: 'tuple' object has no attribute 'rfind'
Problem seems to be with the latest release 2016.3.3 , if I revert to 2016.3.2 it works properly.
Version used on minion:
dpkg -l | grep salt
ii salt-common 2016.3.3+ds-1 all shared libraries that salt requires for all packages
ii salt-minion 2016.3.3+ds-1 all client package for salt, the distributed remote execution system
Metadata
Metadata
Assignees
Labels
Corerelates to code central or existential to SaltP2Priority 2ZRELEASED - 2016.3.4bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-criticaltop severity, seen by most users, serious issuesseverity-high2nd top severity, seen by most users, causes major problems
Activity
Ch3LL commentedon Sep 1, 2016
@giany i am able to replicate this. git bisect shows 81c4d13 as the first bad commit. We will need to get this fixed up thanks
scavara commentedon Sep 4, 2016
Not sure is the following useful for you, or not but I have the same problem on the bit older version installed from Debian Jessie backports:
cachedout commentedon Sep 8, 2016
Fixed here: #36136
vchav73 commentedon Sep 20, 2016
Can anyone comment on when the fix will be in the yum repo? #36287 mentions that the fix will be in the 2016.3.4 release. Just wondering if it'll be days, weeks, months? We're effected by this and may downgrade to 2016.3.2 if it's going to be a while.
Thanks.
Ch3LL commentedon Sep 21, 2016
@vchav73 october is the current goal to get 2016.3.4 out by October, although I am not certain of the exact date. In the meantime you can downgrade to 2016.3.2 or possibly push the fix as a custom module by putting it in /srv/salt/_modules/ and then running
salt '*' saltutil.refresh_modulesvchav73 commentedon Sep 22, 2016
Thanks for the info. One more question: Do all the minions as well as the master need to be downgraded or just the master?
Ch3LL commentedon Sep 22, 2016
I believe this is a minion side module and it looks like the fix is related to how the file path on the minion you want to copy up to the master is handled so minions need to updated.