Bug #1513
Puppet sometimes tries to add existing users
| Status: | Closed | Start date: | 08/15/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | user | |||
| Target version: | - | |||
| Affected Puppet version: | 0.24.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
I’m not sure what I can provide that would be useful as even the debug run doesn’t reveal anything as to why it would think the user didn’t exist but it certainly shows it trying to readd the user:
^[[0;34mdebug: //Node[basenode]/user::virtual/User[digant]: Changing ensure^[[0m ^[[0;34mdebug: //Node[basenode]/user::virtual/User[digant]: 1 change(s)^[[0m ^[[0;34mdebug: User[digant](provider=useradd): Executing '/usr/sbin/useradd -s /bin/bash -u 63137 -g 0 -d /afs/ir/users/d/i/digant -c Digant C Kasundra -M digant'^[[0m ^[[0;33merr: //Node[basenode]/user::virtual/User[digant]/ensure: change from absent to present failed: Could not create user digant: Execution of '/usr/sbin/useradd -s /bin/bash -u 63137 -g 0 -d /afs/ir/users/d/i/digant -c Digant C Kasundra -M digant' returned 2304: useradd: user digant exists ^[[0m
This doesnt occur on each run, only about once or twice a day, and it is a different user each time. This is puppet 0.24.4 on RHEL5.
History
Updated by Luke Kanies over 3 years ago
- Subject changed from Puppet tries to add existing users to Puppet sometimes tries to add existing users
- Status changed from Unreviewed to Accepted
I don’t really know what to say to this ticket, since we can’t track it down with the info provided, but I’ll leave the ticket open so we can hopefully eventually collect enough info to close it.
Updated by Luke Kanies over 3 years ago
- Category set to user
- Status changed from Accepted to Needs More Information
Updated by Nigel Kersten over 1 year ago
- Status changed from Needs More Information to Closed
- Assignee set to Nigel Kersten
As per the below thread, we’re more aggressively closing tickets whose state is unsure, particularly old tickets with little to no inactivity in a long time.
You are free to reopen them.
http://groups.google.com/group/puppet-users/browse_thread/thread/a040cb9bc5c5b647