Page MenuHomePhabricator

Could not find dependency Package[python-yaml] error in profile::toolforge::grid::node::web
Closed, ResolvedPublic

Description

tools-sgewebgrid-generic* servers are getting the following error:

Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for tools-sgewebgrid-lighttpd-0902.tools.eqiad.wmflabs
Error: Failed to apply catalog: Could not find dependency Package[python-yaml] for File[/usr/local/lib/python2.7/dist-packages/portgrabber.py] at /etc/puppet/modules/profile/manifests/toolforge/grid/node/web.pp:40

Event Timeline

May have been implicitly depending on the python-yaml package from profile::wmcs::instance -> diamond::collector::minimalpuppetagent that got removed in https://gerrit.wikimedia.org/r/c/operations/puppet/+/549241 ?

Change 549935 had a related patch set uploaded (by Phamhi; owner: Hieu Pham):
[operations/puppet@production] toolforge: Add missing Package[python-yaml] dependency

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

That makes sense..thanks for pointing it out Krenair.

Change 549935 merged by Phamhi:
[operations/puppet@production] toolforge: Add missing Package[python-yaml] dependency

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