Page MenuHomePhabricator

Remove parsoid UID/GID from Labs LDAP
Closed, ResolvedPublic

Description

T65329: create a parsoid user in labs LDAP created the parsoid UID/GID combo in order to be able to write logs to /data/project/parsoid. This is no longer the case, nor is it needed, and it precludes Puppet from creating and altering the local user with the same name:

Error: Could not set home on user[parsoid]: Execution of '/usr/sbin/usermod -d /nonexistent parsoid' returned 6: usermod: user 'parsoid' does not exist in /etc/passwd

Error: /Stage[main]/Parsoid/Service::Node[parsoid]/User[parsoid]/home: change from /var/lib/parsoid to /nonexistent failed: Could not set home on user[parsoid]: Execution of '/usr/sbin/usermod -d /nonexistent parsoid' returned 6: usermod: user 'parsoid' does not exist in /etc/passwd

Error: Could not set shell on user[parsoid]: Execution of '/usr/sbin/usermod -s /bin/false parsoid' returned 6: usermod: user 'parsoid' does not exist in /etc/passwd

Error: /Stage[main]/Parsoid/Service::Node[parsoid]/User[parsoid]/shell: change from /bin/bash to /bin/false failed: Could not set shell on user[parsoid]: Execution of '/usr/sbin/usermod -s /bin/false parsoid' returned 6: usermod: user 'parsoid' does not exist in /etc/passwd

Notice: /Stage[main]/Parsoid/Service::Node[parsoid]/File[/srv/log/parsoid]: Dependency User[parsoid] has failures: true
Warning: /Stage[main]/Parsoid/Service::Node[parsoid]/File[/srv/log/parsoid]: Skipping because of failed dependencies

Please remove it from LDAP.

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJul 13 2016, 10:47 AM
mobrovac triaged this task as High priority.Jul 13 2016, 10:47 AM
mobrovac added projects: Parsoid, Services.
yuvipanda closed this task as Resolved.Jul 13 2016, 11:05 AM
yuvipanda claimed this task.
yuvipanda added a subscriber: yuvipanda.

Done