[BUG] Beacon modules tried to be loaded but not specified in beacon configuration file in salt-minion 3005.1 version
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description
After upgrade salt-minion from 3003 to 3005.1 I am facing many errors related to salt beacon modules (that they cannot be loaded, but I do not want them to be loaded and I do not specify them in beacons configuration file). Even if I am trying to disable them updating beacons.conf file like:
adb:
- enabled: False
aix_account:
- enabled: False
avahi_announce:
- enabled: False
bonjour_announce:
- enabled: False
glxinfo:
- enabled: False
haproxy:
- enabled: False
inotify:
- enabled: False
network_settings:
- enabled: False
It is not helping (after every change I restart salt minion). On salt master (3005.1) I do not have any beacons configured. Errors which I see after starting salt-minion:
Jan 04 14:40:48 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load sensehat beacon: sensehat.get_pressure is missing.
Jan 04 14:40:48 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load sh beacon: strace is missing.
Jan 04 14:40:48 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load imgadm beacon: Only available on SmartOS compute nodes.
Jan 04 14:40:48 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load vmadm beacon: Only available on SmartOS compute nodes.
Jan 04 14:40:52 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load aix_account beacon: Only available on AIX systems.
Jan 04 14:40:52 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load avahi_announce beacon: The 'python-avahi' dependency is missing.
Jan 04 14:40:52 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load bonjour_announce beacon: pybonjour library is missing.
Jan 04 14:40:52 likeable-verdict-miscellany salt-minion[4351]: [ERROR ] Unable to load haproxy beacon: haproxy.get_sessions is missing.
Steps to Reproduce the behavior
Installing 3005.1 salt-minion on CentOS8 machine.
Expected behavior
I would like to do not have errors in logs when starting salt-minion
Versions Report
Salt Version:
Salt: 3005.1
Dependency Versions:
cffi: 1.15.1
cherrypy: Not Installed
dateutil: 2.6.1
docker-py: 5.0.3
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.10.1
libgit2: Not Installed
M2Crypto: 0.35.2
Mako: Not Installed
msgpack: 0.6.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.6.8 (default, Nov 2 2021, 13:01:57)
python-gnupg: Not Installed
PyYAML: 6.0
PyZMQ: 20.0.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: centos 8
locale: UTF-8
machine: x86_64
release: 4.18.0-305.25.1.el8_4.x86_64
system: Linux
version: CentOS Linux 8
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
No source file or test is named. Start by reproducing the Salt 3005.1 salt-minion startup on CentOS 8 with no configured beacons, then trace the beacon-loading path and configuration handling. Done means unavailable or unspecified beacon modules no longer emit startup errors, while explicitly configured beacons still work.
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
- 30/100