[3003.2] ESXi Proxy Error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description
When running an ESXi Proxy-Minion, the following error is thrown:
The Salt ProxyMinion is shutdown.
Proxymodule esxi is missing an init() or a shutdown() or both. Check your proxymodule. Salt-proxy aborted.
This bug was reported before and seemingly got fixed, but the issue consists:
https://github.com/saltstack/salt/issues/44065
Setup
/etc/salt/proxy
master: salt
proxytype via a minion-specific configuration file not via pillar ( this usually works fine )
/etc/salt/proxy.d/esxi-server1/grains.conf
proxy:
proxytype: esxi
host: 192.168.50.220
username: root
password:
Versions Report
salt --versions-report
Salt Version: Salt: 3003.2Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.6.1
docker-py: Not Installed
gitdb: 2.0.3
gitpython: 2.1.8
Jinja2: 2.10
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 0.5.6
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: 3.4.7
pygit2: Not Installed
Python: 3.6.9 (default, Jan 26 2021, 15:33:00)
python-gnupg: 0.4.1
PyYAML: 3.12
PyZMQ: 17.1.2
smmap: 2.0.3
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.2.5
System Versions:
dist: ubuntu 18.04 Bionic Beaver
locale: UTF-8
machine: x86_64
release: 4.15.0-161-generic
system: Linux
version: Ubuntu 18.04 Bionic Beaver
Additional context
Also, a full debug-log:
debug.txt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked debug log and issue #44065, then reproduce the failure using /etc/salt/proxy and the minion-specific /etc/salt/proxy.d/esxi-server1/grains.conf configuration. Done means an ESXi Proxy-Minion using this configuration starts without reporting that the esxi proxymodule lacks init() or shutdown().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100