[BUG] state.test does not work with salt-ssh #61100
Labels
Bug
broken, incorrect, or confusing behavior
pending-community-assignment
Pending community contributor assignment
Salt-SSH
severity-low
4th level, cosemtic problems, work around exists
Milestone
Description
salt-ssh target state.test
does not work, whilesalt-ssh target state.apply test=True
does workSetup
Using salt-ssh to run against some specific targets that cannot run minions. Initially noted on WSL with Debian 10 and salt 3004, but confirmed to be at least also the case for salt 3001 and 3002.
Steps to Reproduce the behavior
Using this Dockerfile to create an environment of Debian 10 with salt 3004. Test target is latest Ubuntu focal EC2 instance
Dockerfile
roster
top.sls
foo.sls
Expected behavior
state.test
should be equivalent tostate.apply test=true
Actual result
debug output
/var/log/salt/ssh
Versions Report
salt --versions-report
Additional context
Note 1: when installing
salt-master
in the container (and running it interactively),salt-minion
on the target and connecting them,salt the_minion state.test
does work.Note 2: also
state.show_states
doesn't show any output when used throughsalt-ssh
, whilestate.show_top
doesThe text was updated successfully, but these errors were encountered: