sameer
11/02/2022, 2:02 PMSlackbot
11/02/2022, 5:01 PMDr Bunsen Honeydew
11/02/2022, 5:01 PMpuppet-r10k module at https://forge.puppet.com/puppet/r10k?src=slack&channel=puppetSuraj Bora
11/02/2022, 5:04 PMError: Could not upgrade module 'puppet-r10k' (v8.3.0 -> v10.x)
The requested version cannot satisfy all dependencies
I have verified all dependent modules, and those are present with required version.
Is there any way to find which exact dependency is failing ?Joel Wilson
11/02/2022, 5:36 PMruninterval in the agent section of puppet.conf, but when I run puppet config print runinterval, it shows the default value rather than what I’m setting. What will the agent actually use? This seems to be true of the value of splay, too.Greg Bristol
11/02/2022, 5:39 PMsudo, as the root user, or just as your normal user?natemccurdy
11/02/2022, 5:42 PMpuppet config print runinterval --section agent
By default, puppet config print shows values from the [main] section. You need to specify which section you want to print via the --section flag.natemccurdy
11/02/2022, 5:43 PMpuppet config print runinterval --section agent
By default, puppet config print shows values from the [main] section. You need to specify which section you want to print via the --section flag.Joel Wilson
11/02/2022, 5:44 PMJoel Wilson
11/02/2022, 5:44 PMJoel Wilson
11/02/2022, 5:44 PMnatemccurdy
11/02/2022, 5:45 PMsudo puppet agent ....) then Puppet will use all the values from the [agent] section. If a setting isn’t specified in the [agent] section, then it defaults up to the [main] section. If the setting isn’t set in the [main] section, then the default value is used for that setting.natemccurdy
11/02/2022, 5:45 PMsudo puppet agent ....)then Puppet will use all the values from the [agent] section. If a setting isn’t specified in the [agent] section, then it defaults up to the [main] section. If setting isn’t set in the [main] section, then they default value is used for that setting.natemccurdy
11/02/2022, 5:45 PMsudo puppet agent ....) then Puppet will use all the values from the [agent] section. If a setting isn’t specified in the [agent] section, then it defaults up to the [main] section. If setting isn’t set in the [main] section, then they default value is used for that setting.natemccurdy
11/02/2022, 5:46 PMsudo puppet agent ....) then Puppet will use all the values from the [agent] section. If a setting isn’t specified in the [agent] section, then it defaults up to the [main] section. If the setting isn’t set in the [main] section, then they default value is used for that setting.natemccurdy
11/02/2022, 5:46 PMsudo puppet agent ....) then Puppet will use all the values from the [agent] section. If a setting isn’t specified in the [agent] section, then it defaults up to the [main] section. If the setting isn’t set in the [main] section, then the default value is used for that setting.Joel Wilson
11/02/2022, 5:46 PMnatemccurdy
11/02/2022, 5:48 PMpuppet.conf is parsed hierarchically, and depending on what Puppet command you’re running.
e.g.
• puppet agent parses configs as [agent] => [main] => defaults
• puppet apply parses configs as [apply][user] => [main] => defaultsJoel Wilson
11/02/2022, 5:50 PM[user] as some of my reading showsnatemccurdy
11/02/2022, 5:51 PMpuppet apply uses the `[user]`block.natemccurdy
11/02/2022, 5:52 PMpuppet.conf is parsed hierarchically, and depending on what Puppet command you’re running.
e.g.
• puppet agent parses configs as [agent] => [main] => defaults
• puppet apply parses configs as [apply][user] => [main] => defaultsJoel Wilson
11/02/2022, 6:02 PMSlackbot
11/02/2022, 8:20 PMnmaludy
11/02/2022, 8:20 PMpuppetserver and getting this in /var/log/puppetlabs/puppetserver/puppetserver.log
Caused by: org.jruby.exceptions.NameError: (NameError) Java class org.jruby.ext.psych.PsychLibrary not found
at org.jruby.ext.jruby.JRubyUtilLibrary.load_ext(org/jruby/ext/jruby/JRubyUtilLibrary.java:216)
at RUBY.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych.rb:7)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_requ
ire.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
at RUBY.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/yaml.rb:4)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_requ
ire.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
at RUBY.<main>(/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format_handler.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
at org.jruby.RubyKernel.require_relative(org/jruby/RubyKernel.java:1045)
at RUBY.<main>(/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format_support.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
any ideas?nmaludy
11/02/2022, 8:25 PMpuppetserver and getting this in /var/log/puppetlabs/puppetserver/puppetserver.log
2022-11-02T20:22:46.752Z INFO [main] [o.e.j.u.log] Logging initialized @4006ms to org.eclipse.jetty.util.log.Slf4jLog
2022-11-02T20:22:47.429Z INFO [async-dispatch-2] [p.t.s.s.scheduler-service] Initializing Scheduler Service
2022-11-02T20:22:47.453Z INFO [async-dispatch-2] [o.q.i.StdSchedulerFactory] Using default implementation for ThreadExecutor
2022-11-02T20:22:47.466Z INFO [async-dispatch-2] [o.q.c.SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.Sche
dulerSignalerImpl
2022-11-02T20:22:47.469Z INFO [async-dispatch-2] [o.q.c.QuartzScheduler] Quartz Scheduler v.2.3.2 created.
2022-11-02T20:22:47.470Z INFO [async-dispatch-2] [o.q.s.RAMJobStore] RAMJobStore initialized.
2022-11-02T20:22:47.470Z INFO [async-dispatch-2] [o.q.c.QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'a99ffbeb-379c-4711-ac04-0
90bba71e1d9' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2022-11-02T20:22:47.470Z INFO [async-dispatch-2] [o.q.i.StdSchedulerFactory] Quartz scheduler 'a99ffbeb-379c-4711-ac04-090bba71e1d9' initialized f
rom an externally provided properties instance.
2022-11-02T20:22:47.470Z INFO [async-dispatch-2] [o.q.i.StdSchedulerFactory] Quartz scheduler version: 2.3.2
2022-11-02T20:22:47.471Z INFO [async-dispatch-2] [o.q.c.QuartzScheduler] Scheduler a99ffbeb-379c-4711-ac04-090bba71e1d9_$_NON_CLUSTERED started.
2022-11-02T20:22:47.475Z INFO [async-dispatch-2] [p.t.s.w.jetty9-service] Initializing web server(s).
2022-11-02T20:22:47.517Z INFO [async-dispatch-2] [p.t.s.s.status-service] Registering status callback function for service 'puppet-profiler', vers
ion 7.9.2
2022-11-02T20:22:47.520Z INFO [async-dispatch-2] [p.s.j.jruby-puppet-service] Initializing the JRuby service 2022-11-02T20:22:47.533Z INFO [async-dispatch-2] [p.s.j.jruby-pool-manager-service] Initializing the JRuby service
2022-11-02T20:22:47.538Z INFO [async-dispatch-2] [p.s.j.jruby-puppet-service] JRuby version info: jruby 9.3.4.0 (2.6.8) 2022-03-23 eff48c1ebf Open
JDK 64-Bit Server VM 25.345-b01 on 1.8.0_345-b01 +jit [x86_64-linux]
2022-11-02T20:22:47.558Z INFO [clojure-agent-send-pool-0] [p.s.j.i.jruby-internal] Creating JRubyInstance with id 1.
2022-11-02T20:22:47.560Z INFO [async-dispatch-2] [p.t.s.s.status-service] Registering status callback function for service 'jruby-metrics', versio
n 7.9.2
2022-11-02T20:22:47.571Z INFO [async-dispatch-2] [p.s.v.versioned-code-service] No code-id-command set for versioned-code-service. Code-id will be
nil.
2022-11-02T20:22:47.571Z INFO [async-dispatch-2] [p.s.v.versioned-code-service] No code-content-command set for versioned-code-service. Attempting
to fetch code content will fail.
2022-11-02T20:22:47.580Z INFO [async-dispatch-2] [p.t.s.m.jolokia] Metrics access control using trapperkeeper-authorization is enabled.
2022-11-02T20:22:50.923Z ERROR [async-dispatch-2] [p.t.internal] Error during service init!!!
java.lang.IllegalStateException: Unable to borrow JRubyInstance from pool
at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34345$borrow_from_pool_BANG__STAR___34350$fn__34351.invoke(jruby_internal
.clj:313)
at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34345$borrow_from_pool_BANG__STAR___34350.invoke(jruby_internal.clj:300)
at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34392$borrow_from_pool_with_timeout__34397$fn__34398.invoke(jruby_interna
l.clj:348)
at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn__34392$borrow_from_pool_with_timeout__34397.invoke(jruby_internal.clj:337$
at puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35156.invokeStatic(instance_pool.clj:48)
at puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn__35156.invoke(instance_pool.clj:10)
at puppetlabs.services.protocols.jruby_pool$fn__34946$G__34894__34953.invoke(jruby_pool.clj:3)
then further down in that call stack it looks like it is caused by:
Caused by: org.jruby.exceptions.NameError: (NameError) Java class org.jruby.ext.psych.PsychLibrary not found
at org.jruby.ext.jruby.JRubyUtilLibrary.load_ext(org/jruby/ext/jruby/JRubyUtilLibrary.java:216)
at RUBY.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych.rb:7)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_requ
ire.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
at RUBY.<main>(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/yaml.rb:4)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
at uri_3a_classloader_3a_.META_minus_INF.jruby_dot_home.lib.ruby.stdlib.rubygems.core_ext.kernel_requ
ire.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85)
at RUBY.<main>(/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format_handler.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
at org.jruby.RubyKernel.require_relative(org/jruby/RubyKernel.java:1045)
at RUBY.<main>(/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/format_support.rb:1)
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1017)
any ideas?Ganaparthi Nikhil
11/03/2022, 8:14 AMsameer
11/03/2022, 9:40 AMSlackbot
11/03/2022, 9:41 AMSlackbot
11/03/2022, 9:41 AMSlackbot
11/03/2022, 10:21 AM