Project

General

Profile

Actions

action #131318

closed

User management via salt does not work on backup.qa.suse.de

Added by mkittler 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
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.


Related issues 1 (0 open1 closed)

Has duplicate openQA Infrastructure - action #131321: salt-states-openqa | Failed pipeline for masterRejectedokurz2023-06-23

Actions
Actions #1

Updated by mkittler 11 months ago

  • Assignee set to mkittler
Actions #2

Updated by mkittler 11 months 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.

Actions #3

Updated by okurz 11 months ago

  • Has duplicate action #131321: salt-states-openqa | Failed pipeline for master added
Actions

Also available in: Atom PDF