{"action":"created","issue":{"url":"https://api.github.com/repos/ccin2p3/puppet-patterndb/issues/7","repository_url":"https://api.github.com/repos/ccin2p3/puppet-patterndb","labels_url":"https://api.github.com/repos/ccin2p3/puppet-patterndb/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ccin2p3/puppet-patterndb/issues/7/comments","events_url":"https://api.github.com/repos/ccin2p3/puppet-patterndb/issues/7/events","html_url":"https://github.com/ccin2p3/puppet-patterndb/issues/7","id":373643445,"node_id":"MDU6SXNzdWUzNzM2NDM0NDU=","number":7,"title":"Module borken with Puppet 5.5.7","user":{"login":"smortex","id":148721,"node_id":"MDQ6VXNlcjE0ODcyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/148721?v=4","gravatar_id":"","url":"https://api.github.com/users/smortex","html_url":"https://github.com/smortex","followers_url":"https://api.github.com/users/smortex/followers","following_url":"https://api.github.com/users/smortex/following{/other_user}","gists_url":"https://api.github.com/users/smortex/gists{/gist_id}","starred_url":"https://api.github.com/users/smortex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smortex/subscriptions","organizations_url":"https://api.github.com/users/smortex/orgs","repos_url":"https://api.github.com/users/smortex/repos","events_url":"https://api.github.com/users/smortex/events{/privacy}","received_events_url":"https://api.github.com/users/smortex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T19:34:07Z","updated_at":"2018-10-24T19:42:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hello!\r\n\r\nAfter upgrading packages on a Puppet Master, catalog compilations started to fail on our site:\r\n\r\n```\r\n# puppet agent -t --noop\r\nInfo: Using configured environment 'production'\r\nInfo: Retrieving pluginfacts\r\nInfo: Retrieving plugin\r\nInfo: Retrieving locales\r\nInfo: Loading facts\r\nError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, undefined method `_htmlentities' for #<Puppet::Parser::Scope:0x58337800> (file: /etc/puppetlabs/code/environments/production/modules/patterndb/manifests/simple/rule.pp, line: 29, column: 25) on node xxxxxxxxx\r\nWarning: Not using cache on failed catalog\r\nError: Could not retrieve catalog; skipping run\r\n```\r\n\r\nDowngrading the AIO `puppetserver` package does not workaround the issue, you have to downgrade the `puppet-agent` package:\r\n\r\n```\r\n# apt-get install puppet-agent=5.5.6-1stretch\r\n```\r\n\r\npuppet-agent-5.5.7 seems to require some adjustments.  I will probably not be able to look into this before quite some time unfortunately, so filling-in this issue to track the problem."},"comment":{"url":"https://api.github.com/repos/ccin2p3/puppet-patterndb/issues/comments/432801110","html_url":"https://github.com/ccin2p3/puppet-patterndb/issues/7#issuecomment-432801110","issue_url":"https://api.github.com/repos/ccin2p3/puppet-patterndb/issues/7","id":432801110,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjgwMTExMA==","user":{"login":"smortex","id":148721,"node_id":"MDQ6VXNlcjE0ODcyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/148721?v=4","gravatar_id":"","url":"https://api.github.com/users/smortex","html_url":"https://github.com/smortex","followers_url":"https://api.github.com/users/smortex/followers","following_url":"https://api.github.com/users/smortex/following{/other_user}","gists_url":"https://api.github.com/users/smortex/gists{/gist_id}","starred_url":"https://api.github.com/users/smortex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smortex/subscriptions","organizations_url":"https://api.github.com/users/smortex/orgs","repos_url":"https://api.github.com/users/smortex/repos","events_url":"https://api.github.com/users/smortex/events{/privacy}","received_events_url":"https://api.github.com/users/smortex/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T19:42:01Z","updated_at":"2018-10-24T19:42:01Z","author_association":"CONTRIBUTOR","body":"Full backtrace does not really help, but just in case:\r\n\r\n```\r\n2018-10-24 21:08:21,133 ERROR [qtp71670997-95] [puppetserver] Puppet Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, undefined method `_htmlentities' for #<Puppet::Parser::Scope:0x225747d0> (file: /etc/puppetlabs/code/environments/production/modules/patterndb/manifests/simple/rule.pp, line: 29, column: 25) on node xxxxxxxx.xxxxxxxxxxxx.xx\r\norg/jruby/RubyBasicObject.java:1555:in `method_missing'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/scope.rb:1036:in `method_missing'\r\n/etc/puppetlabs/code/environments/production/modules/patterndb/lib/puppet/parser/functions/htmlentities.rb:34:in `real_function_htmlentities'\r\norg/jruby/RubyArray.java:2414:in `map'\r\n/etc/puppetlabs/code/environments/production/modules/patterndb/lib/puppet/parser/functions/htmlentities.rb:34:in `real_function_htmlentities'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions.rb:174:in `function_htmlentities'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/functions.rb:167:in `function_htmlentities'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions.rb:752:in `call'\r\norg/jruby/RubyKernel.java:1242:in `catch'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/functions.rb:749:in `call'\r\n/etc/puppetlabs/code/environments/production/modules/patterndb/manifests/simple/rule.pp:29:in `call_function'\r\norg/jruby/RubyKernel.java:1079:in `eval'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:305:in `call_function'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/runtime3_support.rb:303:in `call_function'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:964:in `call_function_with_block'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:933:in `eval_CallNamedFunctionExpression'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:370:in `eval_AssignmentExpression'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'\r\norg/jruby/RubyArray.java:1613:in `each'\r\norg/jruby/RubyEnumerable.java:849:in `inject'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:660:in `eval_BlockExpression'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/visitor.rb:90:in `visit_this_1'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/evaluator_impl.rb:81:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/parser/evaluating_parser.rb:63:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:32:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:72:in `evaluate'\r\norg/jruby/RubyKernel.java:1242:in `catch'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:71:in `evaluate'\r\norg/jruby/RubyKernel.java:1242:in `catch'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast/pops_bridge.rb:70:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/ast.rb:31:in `safeevaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/type.rb:136:in `evaluate_code'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:79:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/resource.rb:71:in `evaluate'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:540:in `evaluate_definitions'\r\norg/jruby/RubyArray.java:1613:in `each'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:538:in `evaluate_definitions'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:537:in `evaluate_definitions'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/errors.rb:115:in `exceptwrap'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:536:in `evaluate_definitions'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:569:in `evaluate_generators'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:566:in `evaluate_generators'\r\norg/jruby/RubyKernel.java:1479:in `loop'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:563:in `evaluate_generators'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:179:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:179:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:155:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/parser/compiler.rb:35:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:303:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:301:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:232:in `benchmark'\r\n/opt/puppetlabs/server/apps/puppetserver/jruby-1_7.jar!/META-INF/jruby.home/lib/ruby/1.9/benchmark.rb:295:in `realtime'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:231:in `benchmark'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:299:in `compile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:54:in `find'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/node/environment.rb:450:in `with_text_domain'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb:53:in `find'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:198:in `find'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:121:in `do_find'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:48:in `call'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:in `override'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:260:in `override'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/api/indirected_routes.rb:47:in `call'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:82:in `process'\r\norg/jruby/RubyArray.java:1613:in `each'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:81:in `process'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:87:in `process'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/route.rb:87:in `process'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:64:in `process'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'\r\n/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/handler.rb:62:in `process'\r\nfile:/opt/puppetlabs/server/apps/puppetserver/puppet-server-release.jar!/puppetserver-lib/puppet/server/master.rb:42:in `handleRequest'\r\nPuppet$$Server$$Master_1400049538.gen:13:in `handleRequest'\r\nrequest_handler_core.clj:273:in `invoke'\r\njruby_request.clj:48:in `invoke'\r\njruby_request.clj:33:in `invoke'\r\nrequest_handler_service.clj:47:in `handle_request'\r\nrequest_handler.clj:3:in `invoke'\r\nrequest_handler.clj:3:in `invoke'\r\ncore.clj:2515:in `invoke'\r\nring_middleware.clj:284:in `invoke'\r\ncore.clj:170:in `invoke'\r\ncore.clj:216:in `invoke'\r\ncore.clj:47:in `invoke'\r\ncore.clj:357:in `invoke'\r\ncore.clj:53:in `invoke'\r\nringutils.clj:83:in `invoke'\r\nmaster_core.clj:738:in `invoke'\r\nring.cljc:25:in `invoke'\r\nring.cljc:16:in `invoke'\r\ncomidi.clj:245:in `invoke'\r\nhttp.clj:152:in `invoke'\r\nhttp.clj:152:in `invoke'\r\nhttp.clj:148:in `invoke'\r\ncomidi.clj:332:in `invoke'\r\njetty9_core.clj:433:in `invoke'\r\nnormalized_uri_helpers.clj:74:in `invoke'\r\n\r\n```"}}
{"actor":{"display_login":"smortex"}}