krzyzakp
2011-Dec-15 12:13 UTC
[Puppet Users] Using stored configs brakes on client update
Hi, We''re using puppet from longer time, but now want to switch into stored configs. When I ran locally puppet on puppetmaster server, ie: puppet /var/lib/puppet/manifests/nodes.pp --debug it works smooth. When running client with debug I get message: root@puppet-client:~# puppet agent -v --fqdn=puppet-client.ig.local -- waitforcert 60 --onetime --no-daemonize --logdest console --test -- verbose --debug --trace debug: Failed to load library ''rubygems'' for feature ''rubygems'' debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ lib/puppet] debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ lib/puppet/state] debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/ var/lib/puppet/state] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/ var/lib/puppet/state] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs/puppet-client.ig.local.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/public_keys/puppet- client.ig.local.pem]: Autorequiring File[/var/lib/puppet/ssl/ public_keys] debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/private_keys/puppet- client.ig.local.pem]: Autorequiring File[/var/lib/puppet/ssl/ private_keys] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: Finishing transaction 23577982438900 debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/private_keys/puppet- client.ig.local.pem]: Autorequiring File[/var/lib/puppet/ssl/ private_keys] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/public_keys/puppet- client.ig.local.pem]: Autorequiring File[/var/lib/puppet/ssl/ public_keys] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/certs/puppet-client.ig.local.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: Finishing transaction 23577981939220 debug: Using cached certificate for ca debug: Using cached certificate for puppet-client.ig.local debug: Finishing transaction 23577981555200 debug: Loaded state in 0.00 seconds warning: Fact syncing is deprecated as of 0.25 -- use ''pluginsync'' instead info: Retrieving fact debug: Using cached certificate for ca debug: Using cached certificate for puppet-client.ig.local debug: Using cached certificate_revocation_list for ca debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: Loaded state in 0.00 seconds debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: /File[/var/lib/puppet/facts/]: Storing newly-audited value for content debug: Finishing transaction 23577981320360 debug: Storing state debug: Stored state in 0.01 seconds debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson /usr/lib/ruby/1.8/puppet/indirector/rest.rb:57:in `deserialize'' /usr/lib/ruby/1.8/puppet/indirector/rest.rb:71:in `find'' /usr/lib/ruby/1.8/puppet/indirector/indirection.rb:193:in `find'' /usr/lib/ruby/1.8/puppet/indirector.rb:50:in `find'' /usr/lib/ruby/1.8/puppet/configurer.rb:229:in `retrieve_new_catalog'' /usr/lib/ruby/1.8/puppet/util.rb:422:in `thinmark'' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'' /usr/lib/ruby/1.8/puppet/util.rb:421:in `thinmark'' /usr/lib/ruby/1.8/puppet/configurer.rb:228:in `retrieve_new_catalog'' /usr/lib/ruby/1.8/puppet/configurer.rb:102:in `retrieve_catalog'' /usr/lib/ruby/1.8/puppet/configurer.rb:143:in `run'' /usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'' /usr/lib/ruby/1.8/puppet/agent/locker.rb:21:in `lock'' /usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'' /usr/lib/ruby/1.8/sync.rb:230:in `synchronize'' /usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'' /usr/lib/ruby/1.8/puppet/agent.rb:103:in `with_client'' /usr/lib/ruby/1.8/puppet/agent.rb:37:in `run'' /usr/lib/ruby/1.8/puppet/application.rb:171:in `call'' /usr/lib/ruby/1.8/puppet/application.rb:171:in `controlled_run'' /usr/lib/ruby/1.8/puppet/agent.rb:35:in `run'' /usr/lib/ruby/1.8/puppet/application/agent.rb:114:in `onetime'' /usr/lib/ruby/1.8/puppet/application/agent.rb:88:in `run_command'' /usr/lib/ruby/1.8/puppet/application.rb:287:in `run'' /usr/lib/ruby/1.8/puppet/application.rb:393:in `exit_on_fail'' /usr/lib/ruby/1.8/puppet/application.rb:287:in `run'' /usr/lib/ruby/1.8/puppet/util/command_line.rb:55:in `execute'' /usr/bin/puppet:4 err: Could not retrieve catalog from remote server: Error 400 on SERVER: You cannot save facts to the code store; it is only used for getting facts from Facter warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run debug: Using cached certificate for ca debug: Using cached certificate for puppet-client.ig.local debug: Using cached certificate_revocation_list for ca debug: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (marshal) debug: report supports formats: b64_zlib_yaml marshal raw yaml; using marshal Puppet version is 2.7.6 on debian Squeeze. Configs are copied from currently running system, only changes are done with stored configs (which works, DB was populated with some data from master). I''d be appreciated for any help in solving this problem. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.