[Bug]: `group_installed` from state module `pkg` doesn't work on fedora 41 and 42
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
What happened?
State pkg.group_installed returns An error was encountered while installing/updating group 'name_of_the_group': Group 'name_of_the_group' not found
Groups can be installed by executing command directly or using cmd.run.
As far as I can tell this happens with all groups.
Last time I've witnessed this state working was on fedora 40. It doesn't work on fedora 41 and 42.
Salt is installed as part of Qubes OS.
This issue on Qubes OS tracker: https://github.com/QubesOS/qubes-issues/issues/10418
Type of salt install
other (please specify in bug details)
Major version
3007.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
fedora-42
salt --versions-report output
Salt Version:
Salt: 3007.1
Python Version:
Python: 3.11.6 (main, Oct 3 2023, 00:00:00) [GCC 12.3.1 20230508 (Red Hat 12.3.1-1)]
Dependency Versions:
cffi: 1.15.1
cherrypy: 18.8.0
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.0.3
libgit2: Not Installed
looseversion: 1.2.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.4
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 21.3
pycparser: 2.20
pycrypto: Not Installed
pycryptodome: 3.19.0
pygit2: Not Installed
python-gnupg: 0.5.0
PyYAML: 6.0
PyZMQ: 23.2.0
relenv: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 6.2
ZMQ: 4.3.4
Salt Package Information:
Package Type: Not Installed
System Versions:
dist: qubes 4.2.4 R4.2
locale: utf-8
machine: x86_64
release: 6.12.54-1.qubes.fc37.x86_64
system: Linux
version: Qubes OS 4.2.4 R4.2
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 reproducing the failure with the pkg.group_installed state on Fedora 41 or 42, then compare it with installing the same group through cmd.run. Trace the state module's group-installation path and verify that the state succeeds for groups that can be installed directly, without the reported “Group not found” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fedora, python
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100