Actions
Bug #31547
openRemote execution "Salt Run state.highstate - Salt default" failed: state.highstate:: not found
Description
Hey folks,
I have an issue to run salt without ssh.
1:
/var/tmp/foreman-ssh-cmd-9e2ce06c-8406-4d71-84b8-4ca6216dac0f/script: 1: /var/tmp/foreman-ssh-cmd-9e2ce06c-8406-4d71-84b8-4ca6216dac0f/script: state.highstate:: not found
2:
/var/tmp/foreman-ssh-cmd-9e2ce06c-8406-4d71-84b8-4ca6216dac0f/script: 2: /var/tmp/foreman-ssh-cmd-9e2ce06c-8406-4d71-84b8-4ca6216dac0f/script: module.run:: not found
3:
/var/tmp/foreman-ssh-cmd-9e2ce06c-8406-4d71-84b8-4ca6216dac0f/script: 3: /var/tmp/foreman-ssh-cmd-9e2ce06c-8406-4d71-84b8-4ca6216dac0f/script: -: not found
4:
Exit status: 127
The ssh execution works, looks like the run on proxy variant tries to execute some sort of salt-stack config?
Ubuntu: 18.04
Foreman: 2.3.1
foreman-tasks: 3.0.0
foreman_remote_execution: 4.2.0
foreman_salt: 13.2.4
Foreman Proxy: 2.3.1
Salt: 3.1.2
I am not sure if and what other information I can contribute, if there is anything let me know.
Thanks in advance
Harm
Updated by Adam Ruzicka almost 4 years ago
It looks like you might be missing some packages. Do you have ruby-smart-proxy-salt-core installed?
Updated by Harm Endres almost 4 years ago
Adam Ruzicka wrote:
It looks like you might be missing some packages. Do you have ruby-smart-proxy-salt-core installed?
I have the following packages installed:
dpkg --list | egrep "foreman|ruby-smart"
ii foreman 2.3.1-1 amd64 Systems management web interface
ii foreman-cli 2.3.1-1 all metapackage providing hammer CLI for Foreman
ii foreman-debug 2.3.1-1 all provides support utility foreman-debug.
ii foreman-dynflow-sidekiq 2.3.1-1 all package providing dynflow sidekiq services for Foreman
ii foreman-installer 2.3.1-1 all Automated puppet-based installer for The Foreman
ii foreman-libvirt 2.3.1-1 all metapackage providing libvirt dependencies for Foreman
ii foreman-postgresql 2.3.1-1 all metapackage providing PostgreSQL dependencies for Foreman
ii foreman-proxy 2.3.1-1 all RESTful proxies for DNS, DHCP, TFTP, and Puppet
ii foreman-service 2.3.1-1 all package providing Foreman services running via puma
ii ruby-foreman-deface 1.5.3-1 all Foreman Deface Plugin Dependency
ii ruby-foreman-remote-execution 4.2.0-1 all Foreman Remote Execution Plugin
ii ruby-foreman-remote-execution-core 1.4.0-1 all Foreman remote execution - core bits
ii ruby-foreman-salt 13.2.4-1 all Foreman Salt Plugin
ii ruby-foreman-tasks 3.0.0-2 all Tasks management engine for Foreman.
ii ruby-foreman-tasks-core 0.3.4-1 all Foreman tasks - core bits
ii ruby-hammer-cli-foreman 2.3.0-1 all Foreman commands for Hammer
ii ruby-smart-proxy-dynflow 0.3.0-1 all Dynflow runtime for Foreman smart proxy
ii ruby-smart-proxy-dynflow-core 0.3.2-1 all Dynflow runtime for Foreman smart proxy
ii ruby-smart-proxy-remote-execution-ssh 0.3.1-1 all SSH remote execution provider for Foreman smart proxy
ii ruby-smart-proxy-salt 3.1.2-1 all SaltStack Plug-In for Foreman's Smart Proxy
ii ruby-smart-proxy-salt-core 0.0.3-1 all SaltStack Plug-In core for Foreman's Smart Proxy
Actions