salt-minion' on windows VM using the command 'salt-cloud -p <profile> <VM-Name> -l debug' returns below error:Traceback (most recent call last):File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/cloud.py", line 1032, in wait_for_psexecsvcstdout, stderr, ret_code = run_psexec_command(File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/cloud.py", line 989, in run_psexec_commandwith Client(File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/cloud.py", line 898, in _initself. client = Pstxecclient(server, username, password, port, encrypt)NameError: name 'PsExecClient' is not defined[DEBUG] Retrying psexec connection to host ##.##.#.## on port 445 (try 1)[ERROR] Unable to execute command
pip show pypsexec" returns below message"WARNING: Package(s) not found: pypsexecAria Automation Config 8.x
This issue occurs by the missing PsExecClient module, a required prerequisite for minion installation.
To resolve this issue, follow the below steps on Salt master server:
pip3 install smbprotocolpip3 install pypsexec
2. Confirm the package installation using below command:
pip show pypsexec
pip show smbprotocol
3. Re-initiate the 'salt-minion' deployment.
salt-cloud -p <profile> <VM-Name> -l debug