User creation fails due to missing`mailman` group

Open
#540 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by reproducing the failure on gnumailman.nyc1.psf.io and inspect the configuration defining the mailman group and the affected users. Trace why the user.present requisites cannot find group: mailman, then verify that the users and their dependent SSH directory and key states complete successfully.

Written by the indexing model from the issue text.

Description

gnumailman

The following error happens now on gnumailman but further inspection will show that:

  1. this group exists already
  2. these users exist already
  3. these users are IN the group...
gnumailman.nyc1.psf.io:
----------
          ID: maxking-user
    Function: user.present
        Name: maxking
      Result: False
     Comment: The following requisites were not found:
                                 require:
                                     group: mailman
     Started: 18:26:05.534031
    Duration: 0.01 ms
     Changes:
----------
          ID: maxking-ssh_dir
    Function: file.directory
        Name: /home/psf-users/maxking/.ssh
      Result: False
     Comment: One or more requisite failed: users.maxking-user
     Started: 18:26:05.535490
    Duration: 0.01 ms
     Changes:
----------
          ID: maxking-ssh_key
    Function: file.managed
        Name: /home/psf-users/maxking/.ssh/authorized_keys
      Result: False
     Comment: One or more requisite failed: users.maxking-user
     Started: 18:26:05.536482
    Duration: 0.006 ms
     Changes:
----------
          ID: msapiro-user
    Function: user.present
        Name: msapiro
      Result: False
     Comment: The following requisites were not found:
                                 require:
                                     group: mailman
     Started: 18:26:05.541196
    Duration: 0.008 ms
     Changes:
----------
          ID: msapiro-ssh_dir
    Function: file.directory
        Name: /home/psf-users/msapiro/.ssh
      Result: False
     Comment: One or more requisite failed: users.msapiro-user
     Started: 18:26:05.542288
    Duration: 0.006 ms
     Changes:
----------
          ID: msapiro-ssh_key
    Function: file.managed
        Name: /home/psf-users/msapiro/.ssh/authorized_keys
      Result: False
     Comment: One or more requisite failed: users.msapiro-user
     Started: 18:26:05.543097
    Duration: 0.005 ms
     Changes:

Summary for gnumailman.nyc1.psf.io
--------------
Succeeded: 143 (changed=6)
Failed:      6
Dominant language
Hurl
Stars
124
Forks
67
Avg merge
8h 40m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python/psf-salt

All issues in python/psf-salt

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.