Case logic in saltmod.py:function
fails to handle ssh permsision denied
#54849
Labels
Confirmed
Salt engineer has confirmed bug/feature - often including a MCVE
Milestone
Description of Issue
Typical
mdata
coming back from permission denied on anssh
attempt on a minion looks as follows:Meanwhile,
saltmod.py:function
implements the following logic:salt/salt/states/saltmod.py
Lines 600 to 619 in e683178
The result is:
The logic is clearly failing to handle the case where there's a nonzero
retcode
without a corresponding minionreturn
in the blob.Setup
Steps to Reproduce Issue
Versions Report
The text was updated successfully, but these errors were encountered: