Page MenuHomePhabricator

puppet4: Error while evaluating a Function Call, Failed to parse template role/prometheus/node_site.yaml.erb
Closed, ResolvedPublic

Description

Catalog failed: Failed to retrieve catalog from https://puppetmaster2001.codfw.wmnet:8140/future/catalog/bast3002.wikimedia.org: 500 {"message":"Server Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template role/prometheus/node_site.yaml.erb:\n  Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/functions.rb\n  Line: 275\n  Detail: hiera() can only be called using the 4.x function API. See Scope#call_function\n at /etc/puppet/modules/role/manifests/prometheus/ops.pp:550:17 on node bast3002.wikimedia.org","issue_kind":"RUNTIME_ERROR","stacktrace":["Warning: The 'stacktrace' property is deprecated and will be removed in a future version of Puppet. For security reasons, stacktraces are not returned with Puppet HTTP Error responses."]}

Event Timeline

Change 387588 had a related patch set uploaded (by Herron; owner: Herron):
[operations/puppet@production] puppet: change wmflib get_clusters to use call_function hiera

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

Change 387588 merged by Herron:
[operations/puppet@production] puppet: change wmflib get_clusters to use call_function hiera

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

herron claimed this task.