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
windows: "Reason: 'ssh_known_hosts.present' is not available" but execution modules used by the state (ssh.check_known_host & ssh.set_known_host) succeed
#55366
Open
muddman opened this issue
Nov 19, 2019
· 2 comments
[DEBUG ] Could not LazyLoad ssh_known_hosts.present: 'ssh_known_hosts.present' is not available.
[INFO ] Running state [github.com] at time 14:57:26.369000
[DEBUG ] Could not LazyLoad ssh_known_hosts.present: 'ssh_known_hosts.present' is not available.
[ERROR ] State 'ssh_known_hosts.present' was not found in SLS 'known_host'
Reason: 'ssh_known_hosts.present' is not available.
Versions Report
Salt Version:
Salt: 2019.2.2
Dependency Versions:
cffi: 1.12.2
cherrypy: 17.4.1
dateutil: 2.8.0
docker-py: Not Installed
gitdb: 2.0.6
gitpython: 2.1.10
ioflo: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
libnacl: 1.6.1
M2Crypto: Not Installed
Mako: 1.0.7
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.19
pycrypto: Not Installed
pycryptodome: 3.8.1
pygit2: Not Installed
Python: 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
python-gnupg: 0.4.4
PyYAML: 3.13
PyZMQ: 18.0.1
RAET: Not Installed
smmap: 2.0.5
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.1
System Versions:
dist:
locale: cp1252
machine: AMD64
release: 10
system: Windows
version: 10 10.0.18362 Multiprocessor Free
The text was updated successfully, but these errors were encountered:
muddman
changed the title
windows: "Reason: 'ssh_known_hosts.present' is not available" but ssh.check_known_host succeed and ssh.set_known_host succeed
windows: "Reason: 'ssh_known_hosts.present' is not available" but execution modules used by the state (ssh.check_known_host & ssh.set_known_host) succeed
Nov 19, 2019
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.
Description of Issue
salt.states.ssh_known_hosts.present is not available on Windows 10 and Windows Server 2019, however, ssh.check_known_host and ssh.set_known_host, which are used by the state on lines 139 and 163, both work in windows.
Setup
known_hosts.sls
:Steps to Reproduce Issue
C:\Users\vagrant\.ssh\known_hosts
vagrant provision
orC:\salt\salt-call.bat state.highstate --retcode-passthrough --local --log-level=trace
The full trace level logs only show the following:
Versions Report
The text was updated successfully, but these errors were encountered: