Bug 52505

Summary: Puppe-agent
Product: Branch p11 Reporter: Овечкин Андрей Евгеньевич <aovechkin>
Component: puppetAssignee: majioa <majioa>
Status: UNCONFIRMED --- QA Contact: qa-p11 <qa-p11>
Severity: normal    
Priority: P5 CC: cas
Version: unspecified   
Hardware: x86_64   
OS: Linux   

Description Овечкин Андрей Евгеньевич 2024-12-23 09:02:04 MSK
puppet agent  --debug --verbose --test

Debug: Resolved service 'puppet' to https://rdcaltudst.rpkb.ru:8140/puppet/v3
Notice: Requesting catalog from rdcaltudst.rpkb.ru:8140 (192.168.3.106)
Debug: Puppet::Network::Format[msgpack]: feature msgpack is missing
Debug: Puppet::Network::Format[pson]: feature pson is missing
Debug: Path to /etc/puppet/code/environments/production does not exist, using default environment.conf
Debug: Puppet::Network::Format[rich_data_msgpack]: feature msgpack is missing
Debug: catalog supports formats: rich_data_json json yaml dot
Debug: Using cached connection for https://rdcaltudst.rpkb.ru:8140
Debug: HTTP POST https://rdcaltudst.rpkb.ru:8140/puppet/v3/catalog/rdcaltterrez.rpkb.ru?environment=production returned 500 Server Error
Debug: Caching connection for https://rdcaltudst.rpkb.ru:8140
Notice: Catalog compiled by rdcaltudst.rpkb.ru
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: undefined method `exists?' for nil:NilClass
Did you mean?  exit
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Debug: Resolving service 'report' using Puppet::HTTP::Resolver::Settings
Comment 1 Овечкин Андрей Евгеньевич 2024-12-23 13:47:36 MSK
puppetserver.log
uri:classloader:/puppetserver-lib/puppet/server/master.rb:69:in `block in handleRequest'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/context.rb:64:in `override'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet.rb:287:in `override'
uri:classloader:/puppetserver-lib/puppet/server/master.rb:68:in `handleRequest'
2024-12-23T13:41:25.475+03:00 INFO  [qtp451406372-55] [o.e.j.s.RequestLog] 192.168.3.6 - - [23/дек./2024:10:41:20 +0000] "POST /puppet/v3/catalog/rdcaltterint.rpkb.ru?environment=production HTTP/1.1" 500 121 "-" "Puppet/8.4.0 Ruby/3.1.4-p223 (x86_64-linux)"
2024-12-23T13:41:26.821+03:00 INFO  [qtp451406372-52] [o.e.j.s.RequestLog] 192.168.3.6 - - [23/дек./2024:10:41:25 +0000] "PUT /puppet/v3/report/rdcaltterint.rpkb.ru?environment=production HTTP/1.1" 200 9 "-" "Puppet/8.4.0 Ruby/3.1.4-p223 (x86_64-linux)"
2024-12-23T13:41:34.226+03:00 ERROR [qtp451406372-53] [puppetserver] Puppet Server Error: undefined method `exists?' for nil:NilClass
Did you mean?  exit
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/type/user.rb:514:in `exists?'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/file_system/file_impl.rb:165:in `replace_file'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/file_system/jruby.rb:23:in `replace_file'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/file_system.rb:419:in `replace_file'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/indirector/json.rb:19:in `save'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/indirector/indirection.rb:326:in `save'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/node/facts.rb:22:in `save'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/indirector/catalog/compiler.rb:45:in `save_facts_from_request'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/indirector/catalog/compiler.rb:54:in `find'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/indirector/indirection.rb:230:in `find'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/network/http/api/indirected_routes.rb:121:in `do_find'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/network/http/api/indirected_routes.rb:54:in `block in call'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/context.rb:64:in `override'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet.rb:287:in `override'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/network/http/api/indirected_routes.rb:53:in `call'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/network/http/api/server/v3.rb:18:in `block in wrap'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/network/http/route.rb:85:in `block in process'
org/jruby/RubyArray.java:1989:in `each'
/usr/lib/ruby/gemie/gems/puppet-8.4.0/lib/puppet/network/http/route.rb:84:in `process'