Page MenuHomePhabricator

Pontoon enroll fails to complete
Closed, ResolvedPublic

Description

...but enough gets done to enroll the new host in the infrastructure and running puppet succeeds.

$ ./modules/pontoon/files/enroll.py --stack observability pontoon-elastic7-02.monitoring.eqiad1.wikimedia.cloud
INFO:root:Host 'pontoon-elastic7-02.monitoring.eqiad1.wikimedia.cloud' has role 'logstash::elasticsearch7'
INFO:root:Waiting for pontoon-elastic7-02.monitoring.eqiad1.wikimedia.cloud to be accessible...
INFO:root:Enrolling pontoon-elastic7-02.monitoring.eqiad1.wikimedia.cloud to pontoon-puppet-01.monitoring.eqiad1.wikimedia.cloud
+ '[' -z '' ']'
+ return
+ '[' -z '' ']'
+ return
+ sudo puppet config --section agent set server pontoon-puppet-01.monitoring.eqiad1.wikimedia.cloud
+ sudo puppet config --section agent set ca_server pontoon-puppet-01.monitoring.eqiad1.wikimedia.cloud
+ sudo find /var/lib/puppet/ssl -type f -delete
+ '[' -h /var/lib/puppet/client/ssl ']'
+ sudo ln -s ../ssl /var/lib/puppet/client/ssl
ln: failed to create symbolic link '/var/lib/puppet/client/ssl': No such file or directory
ERROR:root:Failed to enroll pontoon-elastic7-02.monitoring.eqiad1.wikimedia.cloud to pontoon-puppet-01.monitoring.eqiad1.wikimedia.cloud

Event Timeline

Change 666668 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] pontoon: stop symlinking puppet client ssl directory

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

It looks like /var/lib/puppet/client/ssl isn't needed (or created) anymore!

Change 666668 merged by Filippo Giunchedi:
[operations/puppet@production] pontoon: stop symlinking puppet client ssl directory

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

fgiunchedi claimed this task.

Issue should be fixed now!