Open Auha opened 3 years ago
@Auha Apologies for the delay on this one. Looking at the code for both the module and the runner, it does look like it would be possible for the runner to utilize the same commands as the module does. Looking at the error about, it appears that the runner is unable to connect via SSH to the drac device in question and the runner may not have the ability to wait for the connection to become available. Unfortunately I don't have access to a drac device to test this or future functionality.
Description Running the following commands give the following results:
salt-run drac.version <hostname>
Response:
Right now it is using paramiko and ssh into drac server. Could it be possible to use one of the modules dracr to do it?
Setup Installed paramiko pip packages, and the correct drac username and password inside my masters config
Expected behavior Expecting it to turn on the server.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) ``` Salt Version: Salt: 3002.2 Dependency Versions: cffi: 1.14.5 cherrypy: Not Installed dateutil: 2.7.3 docker-py: Not Installed gitdb: 2.0.6 gitpython: 3.0.7 Jinja2: 2.10.1 libgit2: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack: 0.6.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: 2.20 pycrypto: Not Installed pycryptodome: 3.6.1 pygit2: Not Installed Python: 3.8.5 (default, Jul 28 2020, 12:59:40) python-gnupg: 0.4.5 PyYAML: 5.3.1 PyZMQ: 18.1.1 smmap: 2.0.5 timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.3.2 System Versions: dist: ubuntu 20.04 focal locale: utf-8 machine: x86_64 release: 5.4.0-65-generic system: Linux version: Ubuntu 20.04 focal ```