Page MenuHomePhabricator

[wmcs][haproxy][puppet] Puppet failing on clouddb-wikireplicas-proxy
Closed, ResolvedPublic

Description

It seems there's some issue with the current puppet code:

dcaro@clouddb-wikireplicas-proxy-2:~$ sudo run-puppet-agent
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could not find resource 'Service[haproxy]' in parameter 'notify' (file: /etc/puppet/modules/profile/manifests/wmcs/db/wikireplicas/proxy.pp, line: 16) on node clouddb-wikireplicas-proxy-2.clouddb-services.eqiad1.wikimedia.cloud
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Event Timeline

dcaro triaged this task as High priority.

Change 655019 had a related patch set uploaded (by David Caro; owner: David Caro):
[operations/puppet@production] [wmcs][wikireplicas] Add haproxy to the proxy servers

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

Change 655019 merged by David Caro:
[operations/puppet@production] [wmcs][wikireplicas] Add haproxy to the proxy servers

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

Puppet is now running ok on the proxies, will wait for a couple hours before closing to make sure it's stable.

Looks fine. Thanks for finding the bug.