Я раскручиваю Windows VM, используя солёное облако. ВМ работает нормально, но на ней не установлено соль-миньон. Ошибка с этой ошибкой:
line 1015, in wait_for_psexecsvc 'cmd.exe',
'/c hostname', host, username,
password, port=port File "/usr/lib/python3.6/site-packages/salt/utils/cloud.py", line 962, in run_psexec_command client = Client(host, username, password, port=port, encrypt=False,
service_name=service_name)
File "/usr/lib/python3.6/site-packages/salt/utils/cloud.py", line 875,
in __init__ self._client = PsExecClient(server, username, password, port, encrypt) NameError: name 'PsExecClient' is not defined [DEBUG ]
Retrying psexec connection to host 10.27.8.210 on port 445 (try 23)
Мой облачный профиль:
test:
provider: opennebula
template: test-appliance-vgautam
image: test-appliance-vgautam-20191022_1100
win_installer: /etc/salt/cloud.profiles.d/Salt-Minion-2019.2.1-Py2-x86-Setup.exe
win_username: *****
win_password: *****
smb_port: 445
Salt Version:
Salt: 2019.2.2
Dependency Versions:
cffi: Not Installed
cherrypy: unknown
dateutil: Not Installed
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8.1
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.33.0
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.6.8 (default, Aug 7 2019, 17:28:10)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.4.2
ZMQ: 4.1.4
System Versions:
dist: centos 7.6.1810 Core
locale: UTF-8
machine: x86_64
release: 3.10.0-957.5.1.el7.x86_64
system: Linux
version: CentOS Linux 7.6.1810 Core
Может кто-нибудь сказать, что я пропустил. Я слежу за этим https://docs.saltstack.com/en/latest/topics/cloud/windows.html. У меня установлены pypsexec и smbprotocol