Actions
action #131318
closedUser management via salt does not work on backup.qa.suse.de
Start date:
2023-06-23
Due date:
% Done:
0%
Estimated time:
Tags:
Description
backup.qa.suse.de:
…
----------
ID: …
Function: user.present
Result: False
Comment: These values could not be changed: {'groups': []}
Started: 14:38:05.565488
Duration: 440.663 ms
Changes:
(https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/1651512/raw)
Maybe /etc/passwd
is broken on that host.
Updated by mkittler over 1 year ago
- Status changed from New to Resolved
Reproducible via martchus@openqa:~> sudo salt -C 'G@nodename:backup-vm' -l error --state-output=changes state.apply
:
martchus@backup-vm:~> sudo tail -f /var/log/salt/minion
2023-06-23 16:41:14,315 [salt.state :327 ][ERROR ][16757] These values could not be changed: {'groups': []}
2023-06-23 16:41:14,812 [salt.state :327 ][ERROR ][16757] These values could not be changed: {'groups': []}
2023-06-23 16:41:16,091 [salt.state :327 ][ERROR ][16757] These values could not be changed: {'groups': []}
…
martchus@backup-vm:~> sudo pwck -r
prints the same list of problems as on other hosts.
Fixed by removing a trailing +:::
in /etc/group
:
Summary for backup.qa.suse.de
--------------
Succeeded: 243 (changed=1)
Failed: 0
--------------
Total states run: 243
Total run time: 28.253 s
It is not the first time I've seen /etc/group
broken like this on one of our machines. I'll nevertheless resolve this ticket because I wouldn't know how to find out why /etc/group
gets broken. Maybe it is a bug in salt or a package script, though.
Updated by okurz over 1 year ago
- Has duplicate action #131321: salt-states-openqa | Failed pipeline for master added
Actions