Page MenuHomePhabricator

Puppet4: Error while evaluating a Function Call, Failed to parse template elasticsearch/elasticsearch_5.yml.erb:\n Filepath: /etc/puppet/modules/elasticsearch/templates/elasticsearch_5.yml.erb\n Line: 447\n Detail: undefined local variable or method `script_max_compilations_per_minute' for #<Puppet::Parser::TemplateWrapper:0x007f1fbe4a5120>\n at /etc/puppet/modules/elasticsearch/manifests/init.pp:195:20
Closed, ResolvedPublic

Description

WARN -- : Failed build_catalog for future validation: OctocatalogDiff::Errors::CatalogError Catalog failed: Failed to retrieve catalog from https://puppetmaster2001.codfw.wmnet:8140/future/catalog/relforge1001.eqiad.wmnet: 500 {"message":"Server Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template elasticsearch/elasticsearch_5.yml.erb:\n  Filepath: /etc/puppet/modules/elasticsearch/templates/elasticsearch_5.yml.erb\n  Line: 447\n  Detail: undefined local variable or method `script_max_compilations_per_minute' for #<Puppet::Parser::TemplateWrapper:0x007f1fbe4a5120>\n at /etc/puppet/modules/elasticsearch/manifests/init.pp:195:20 on node relforge1001.eqiad.wmnet","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 387113 had a related patch set uploaded (by Herron; owner: Herron):
[operations/puppet@production] puppet: change elasticsearch_5 template to check undef(nil) variable

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

Change 387113 merged by Herron:
[operations/puppet@production] puppet: change elasticsearch_5 template to parse under puppet 4

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

herron claimed this task.