Page MenuHomePhabricator

Puppetserver first run errors
Open, MediumPublic

Description

The first run of puppet causes error. we should try and ensure that puppetserver spins up cleanly with no errors on the first run

Notice: /Stage[main]/Profile::Puppetserver::Git/Systemd::Sysuser[gitpuppet]/User[gitpuppet]/password: changed [redacted] to [redacted]
Error: Cannot create /home/gitpuppet/.ssh; parent directory /home/gitpuppet does not exist
Error: /Stage[main]/Profile::Puppetserver::Git/File[/home/gitpuppet/.ssh]/ensure: change from 'absent' to 'directory' failed: Cannot t
Notice: /Stage[main]/Profile::Puppetserver::Git/File[/home/gitpuppet/.ssh/id_rsa]: Dependency File[/home/gitpuppet/.ssh] has failurese
Warning: /Stage[main]/Profile::Puppetserver::Git/File[/home/gitpuppet/.ssh/id_rsa]: Skipping because of failed dependencies
Warning: /Stage[main]/Profile::Puppetserver::Git/File[/home/gitpuppet/.ssh/gitpuppet-private-repo]: Skipping because of failed depends
Info: /Stage[main]/Rsync::Server/Exec[compile fragments]: Scheduling refresh of Service[rsync]
Error: Systemd start for rsync failed!
journalctl log for rsync:
-- No entries --

Error: /Stage[main]/Rsync::Server/Service[rsync]/ensure: change from 'stopped' to 'running' failed: Systemd start for rsync failed!
journalctl log for rsync:
-- No entries --

see: https://puppetboard.wikimedia.org/report/puppetserver1002.eqiad.wmnet/bc2f2a598a64a5b23b1686d1304f56c0b3076d3f

Event Timeline

jbond triaged this task as Medium priority.Sep 7 2023, 12:15 PM
jbond created this task.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 955721 had a related patch set uploaded (by Jbond; author: jbond):

[operations/puppet@production] puppetserver::git: ensure we create the user directory

https://gerrit.wikimedia.org/r/955721

Change 955721 merged by Jbond:

[operations/puppet@production] puppetserver::git: ensure we create the user directory

https://gerrit.wikimedia.org/r/955721

jbond added a subscriber: jhathaway.

@jhathaway I suspect you have already fixed theses with your dcl work are you able to confirm/update?

The rsync one is probably still an issue, since I don't use the rsync profile for the dcl puppetserver.

Change 976284 had a related patch set uploaded (by JHathaway; author: JHathaway):

[operations/puppet@production] rsync: ensure daemon is started after config

https://gerrit.wikimedia.org/r/976284

Change 976284 merged by JHathaway:

[operations/puppet@production] rsync: ensure daemon is started after config

https://gerrit.wikimedia.org/r/976284

Change 976863 had a related patch set uploaded (by JHathaway; author: JHathaway):

[operations/puppet@production] apt-staging: unbreak rsync puppetry

https://gerrit.wikimedia.org/r/976863

Change 976863 merged by JHathaway:

[operations/puppet@production] apt-staging: unbreak rsync puppetry

https://gerrit.wikimedia.org/r/976863