Mike Langhorst
02/09/2023, 10:31 PMSlackbot
02/09/2023, 10:34 PMdavidcomeyne
02/10/2023, 10:38 AM$ puppetserver gem install ipaddress --no-document
Fetching ipaddress-0.8.3.gem
Successfully installed ipaddress-0.8.3
1 gem installed
On all other nodes:
Error: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document ipaddress' returned 2: ERROR: Could not find a valid gem 'ipaddress' (>= 0), here is why:
Unable to download data from <https://rubygems.org/> - Errno::ECONNRESET: Connection reset by peer - SSL_connect (<https://rubygems.org/specs.4.8.gz>)
Error: /Stage[main]/Network2023/Package[ipaddress]/ensure: change from 'absent' to 'present' failed: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document ipaddress' returned 2: ERROR: Could not find a valid gem 'ipaddress' (>= 0), here is why:
Unable to download data from <https://rubygems.org/> - Errno::ECONNRESET: Connection reset by peer - SSL_connect (<https://rubygems.org/specs.4.8.gz>)
davidcomeyne
02/10/2023, 10:40 AM$ puppetserver gem install ipaddress --no-document
Fetching ipaddress-0.8.3.gem
Successfully installed ipaddress-0.8.3
1 gem installed
On all other nodes:
Error: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document ipaddress' returned 2: ERROR: Could not find a valid gem 'ipaddress' (>= 0), here is why:
Unable to download data from <https://rubygems.org/> - Errno::ECONNRESET: Connection reset by peer - SSL_connect (<https://rubygems.org/specs.4.8.gz>)
Error: /Stage[main]/Network2023/Package[ipaddress]/ensure: change from 'absent' to 'present' failed: Execution of '/opt/puppetlabs/puppet/bin/gem install --no-document ipaddress' returned 2: ERROR: Could not find a valid gem 'ipaddress' (>= 0), here is why:
Unable to download data from <https://rubygems.org/> - Errno::ECONNRESET: Connection reset by peer - SSL_connect (<https://rubygems.org/specs.4.8.gz>)
vchepkov
02/10/2023, 12:48 PMsource
attribute, so you can install your package from a local source, like an artifactory. you might also need install_options => --clear-sources
to prevent downloading from rubygemsdavidcomeyne
02/10/2023, 1:01 PMgems sources --add <local repo>
I can add that local repo...that should work! 👍vchepkov
02/10/2023, 1:03 PMvchepkov
02/10/2023, 1:03 PMvchepkov
02/10/2023, 1:03 PMJustin
02/15/2023, 7:45 AMJustin
02/15/2023, 7:46 AMapply_ruby_shim.rb
The following error happens occurs due to the port never getting convert to a string,
Exited 1:
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `block in parse_global_options': undefined method `start_with?' for 4004:Integer (NoMethodError)
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `reject!'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `parse_global_options'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:308:in `initialize_global_settings'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:180:in `do_initialize_settings_for_run_mode'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:155:in `initialize_settings'
from /opt/puppetlabs/puppet/bin/apply_ruby_shim.rb:81:in `<main>'
In apply_ruby_shim.rb:
val unless val.nil?
should probably be <http://val.to|val.to>_s unless val.nil?
# Proxy will always be a string (even if its empty)
parsed_proxy = URI.parse(args['proxy'])
proxy_flags.each do |uri_method, setting_flag|
val = parsed_proxy.send(uri_method)
cli_settings_pluginsync << setting_flag << val unless val.nil?
end
Justin
02/15/2023, 7:46 AMapply_ruby_shim.rb
The following error happens occurs due to the port never getting convert to a string,
Exited 1:
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `block in parse_global_options': undefined method `start_with?' for 4004:Integer (NoMethodError)
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `reject!'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `parse_global_options'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:308:in `initialize_global_settings'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:180:in `do_initialize_settings_for_run_mode'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:155:in `initialize_settings'
from /opt/puppetlabs/puppet/bin/apply_ruby_shim.rb:81:in `<main>'
In apply_ruby_shim.rb:
val unless val.nil? should probably be val.to_s unless val.nil?
# Proxy will always be a string (even if its empty)
parsed_proxy = URI.parse(args['proxy'])
proxy_flags.each do |uri_method, setting_flag|
val = parsed_proxy.send(uri_method)
cli_settings_pluginsync << setting_flag << val unless val.nil?
end
Justin
02/15/2023, 7:46 AMapply_ruby_shim.rb
The following error happens occurs due to the port never getting convert to a string,
Exited 1:
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `block in parse_global_options': undefined method `start_with?' for 4004:Integer (NoMethodError)
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `reject!'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:347:in `parse_global_options'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:308:in `initialize_global_settings'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:180:in `do_initialize_settings_for_run_mode'
from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:155:in `initialize_settings'
from /opt/puppetlabs/puppet/bin/apply_ruby_shim.rb:81:in `<main>'
In apply_ruby_shim.rb:
val unless val.nil?
should probably be <http://val.to|val.to>_s unless val.nil?
# Proxy will always be a string (even if its empty)
parsed_proxy = URI.parse(args['proxy'])
proxy_flags.each do |uri_method, setting_flag|
val = parsed_proxy.send(uri_method)
cli_settings_pluginsync << setting_flag << val unless val.nil?
end
Slackbot
02/15/2023, 2:45 PMvchepkov
02/15/2023, 8:20 PM2023-02-15T15:18:33.932-05:00 WARN [qtp1315451208-212001] [o.e.j.s.HttpChannel] /puppet/v3/environment_classes
clojure.lang.ExceptionInfo: Output of manifest-info-from-jruby->manifest-info-for-json does not match schema:
{:classes [{:params [nil {:type (not (instance? java.lang.String nil))} nil]}]}
at puppetlabs.services.master.master_core$fn__29665$manifest_info_from_jruby__GT_manifest_info_for_json__29670.invoke(master_core.clj:269)
at clojure.core$map$fn__5935.invoke(core.clj:2770)
What could be the reason ?Slackbot
02/15/2023, 8:22 PMbastelfreak
02/15/2023, 8:31 PMvchepkov
02/15/2023, 8:37 PMvchepkov
02/15/2023, 8:37 PMvchepkov
02/15/2023, 8:39 PMeager2learn
02/16/2023, 3:08 PMGareth McGrillan
02/16/2023, 3:19 PMvchepkov
02/16/2023, 8:00 PMvchepkov
02/16/2023, 8:00 PMvchepkov
02/16/2023, 8:02 PM[puppetserver] Puppet Server Error: hiera-eyaml backend error decrypting ENC[GPG,
vchepkov
02/16/2023, 8:03 PMSlackbot
02/17/2023, 6:38 PMNickB
02/17/2023, 7:02 PMSlackbot
02/20/2023, 6:59 AMn3snah
02/20/2023, 8:11 AM