Giter VIP home page Giter VIP logo

Comments (10)

biemond avatar biemond commented on June 17, 2024

Ah,

tunnelingenabled should be optional and does not have a default value.

did you do all the master things , like restarting all puppet master services and do a puppet run on the master else it will cache the old one and does not detect the changes on the master side,

from biemond-orawls.

adamjk-dev avatar adamjk-dev commented on June 17, 2024

I am waiting to figure that out from a team I work with.... but that is definitely where I think there may be an issue. We have a decently complex setup... multi-tenant, with a global repository and my team's repository, multiple puppet compile masters being deployed to with R10k and such.

I know puppet is running on the compile masters, just not sure if they are restarting the services each time.

from biemond-orawls.

adamjk-dev avatar adamjk-dev commented on June 17, 2024

Yeah, we restarted pe-httpd on all of our compile masters and it still fails to load the type. Are there other services as well, we thought (by talking to Puppetlabs) that this was the one we needed to restart.

from biemond-orawls.

biemond avatar biemond commented on June 17, 2024

also did some puppet runs on these master compile servers
I noticed this more , module changes are not picked up by the master.

maybe puppet agent --test --trace give some more insight

from biemond-orawls.

adamjk-dev avatar adamjk-dev commented on June 17, 2024

/opt/puppet/bin/puppet agent --test --trace
Info: Retrieving plugin
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/platform_tag.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_build.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_windir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/tiaa_facts.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_puppetdb_server_status.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_postgres_default_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/ip6tables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/staging_http_get.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/orawls.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/wls_server: file puppet/type/wls_server/tunnelingenabled not found on node
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/indirector/rest.rb:207:in is_http_200?' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/indirector/rest.rb:100:infind'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/indirector/indirection.rb:201:in find' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:256:inblock in retrieve_new_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:327:in block in thinmark' /opt/puppet/lib/ruby/1.9.1/benchmark.rb:295:inrealtime'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:326:in thinmark' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:255:inretrieve_new_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:60:in retrieve_catalog' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:103:inprepare_and_retrieve_catalog'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/configurer.rb:170:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:inblock (4 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent/locker.rb:20:in lock' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:47:inblock (3 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:117:in with_client' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:44:inblock (2 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:82:in run_in_fork' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:43:inblock in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:in call' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:179:incontrolled_run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/agent.rb:41:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:355:inonetime'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application/agent.rb:321:in run_command' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:inblock (2 levels) in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:477:in plugin_hook' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:inblock in run'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util.rb:479:in exit_on_fail' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/application.rb:371:inrun'
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:137:in run' /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/command_line.rb:91:inexecute'
/opt/puppet/bin/puppet:8:in `

'
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

The file exists on the agent node:
-rw-r--r-- 1 root root 212 Jan 20 14:49 /var/opt/lib/pe-puppet/lib/puppet/type/wls_server/tunnelingenabled.rb

from biemond-orawls.

dblaisdell avatar dblaisdell commented on June 17, 2024

https://tickets.puppetlabs.com/browse/PUP-1515

"So, to summarize: when the Puppet master loads a Type, it searches the environment that the agent requested. When it loads providers for that type, it searches the default environment instead of the one the agent requested."

from biemond-orawls.

biemond avatar biemond commented on June 17, 2024

Ok, you have multiple environments like test and prod.

So when you move orawls to the default environment, restart all services, do a puppet, it should works

from biemond-orawls.

dblaisdell avatar dblaisdell commented on June 17, 2024

The issue is DEV, needs to be ahead of PROD, and we can't run both simultaneously.

Clearly this is a puppet issue and not your issue.

from biemond-orawls.

biemond avatar biemond commented on June 17, 2024

but really great to know this because someone else also got this issue.

I updated the orawls readme

thanks

from biemond-orawls.

adamjk-dev avatar adamjk-dev commented on June 17, 2024

Yeah, I have noticed it come up a few times haha. Good to know, gotta really pay attention to the environment people are working in really (or for us or them to understand).

Thanks for the help, and hopefully this clears some things up for people and now you know too haha.

from biemond-orawls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.