Jira (HI-632) While running puppet agent :Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `empty?' for nil:NilClass at /etc/puppet/modules/amd_amfv_sw_prereq/manifests/classes/amfv_sw_prereq_rpms.pp:25 on node centos_32592
9 views
Skip to first unread message
Kshitij Katoch (Jira)
unread,
Jul 21, 2022, 5:32:01 AM7/21/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
We have puppet master and agent configured in same machine(AWS vmware). While running below command: puppet agent -tv We get below error Same command is working fine on another environment) Info: Retrieving plugin Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `empty?' for nil:NilClass at /etc/puppet/modules/amd_amfv_sw_prereq/manifests/classes/amfv_sw_prereq_rpms.pp:25 on node centos_32592 /usr/share/ruby/vendor_ruby/puppet/indirector/rest.rb:207:in `is_http_200?' /usr/share/ruby/vendor_ruby/puppet/indirector/rest.rb:100:in `find' /usr/share/ruby/vendor_ruby/puppet/indirector/indirection.rb:201:in `find' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:256:in `block in retrieve_new_catalog' /usr/share/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark' /usr/share/ruby/benchmark.rb:296:in `realtime' /usr/share/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:255:in `retrieve_new_catalog' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:60:in `retrieve_catalog' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:103:in `prepare_and_retrieve_catalog' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:170:in `run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:47:in `block (4 levels) in run' /usr/share/ruby/vendor_ruby/puppet/agent/locker.rb:20:in `lock' /usr/share/ruby/vendor_ruby/puppet/agent.rb:47:in `block (3 levels) in run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:117:in `with_client' /usr/share/ruby/vendor_ruby/puppet/agent.rb:44:in `block (2 levels) in run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:82:in `run_in_fork' /usr/share/ruby/vendor_ruby/puppet/agent.rb:43:in `block in run' /usr/share/ruby/vendor_ruby/puppet/application.rb:179:in `call' /usr/share/ruby/vendor_ruby/puppet/application.rb:179:in `controlled_run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:41:in `run' /usr/share/ruby/vendor_ruby/puppet/application/agent.rb:355:in `onetime' /usr/share/ruby/vendor_ruby/puppet/application/agent.rb:321:in `run_command' /usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block (2 levels) in run' /usr/share/ruby/vendor_ruby/puppet/application.rb:477:in `plugin_hook' /usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `block in run' /usr/share/ruby/vendor_ruby/puppet/util.rb:479:in `exit_on_fail' /usr/share/ruby/vendor_ruby/puppet/application.rb:371:in `run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute' /usr/bin/puppet:8:in `<main>' Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run