RStandke
2010-Sep-29 07:05 UTC
[Puppet Users] err: Could not run Puppet configuration client: Could not find a default provider for augeas
Hello, I get these message when i try to run puppet with augeas. Puppet Version are 2.6.1 on server and client. The ouput of the puppet Client with debug: debug: Failed to load library ''selinux'' for feature ''selinux'' debug: Failed to load library ''shadow'' for feature ''libshadow'' debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist 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/client_yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/ lib/puppet] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/private_keys/phobos.ifh.de.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/certs]: 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/phobos.ifh.de.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/public_keys/phobos.ifh.de.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/ lib/puppet/state] debug: Finishing transaction 23673486785520 debug: /File[/var/lib/puppet/ssl/certs/phobos.ifh.de.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/ lib/puppet/ssl] debug: /File[/var/lib/puppet/ssl/public_keys/phobos.ifh.de.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/private_keys/phobos.ifh.de.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/lib]: 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/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] debug: Finishing transaction 23673488172240 debug: Using cached certificate for ca debug: Using cached certificate for phobos.x.y notice: Starting Puppet client version 2.6.1 debug: Finishing transaction 23673486943720 debug: Using cached certificate for ca debug: Using cached certificate for phobos.ifh.de debug: Using cached certificate_revocation_list for ca debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson debug: Failed to load library ''augeas'' for feature ''augeas'' info: Caching catalog for phobos.ifh.de debug: Puppet::Type::Augeas::ProviderAugeas: false value when expecting true err: Could not run Puppet configuration client: Could not find a default provider for augeas Augeas Version is: ruby-augeas-0.3.0-1 augeas-0.7.3-1 augeas-libs-0.7.3-1 With strace i found maybe the problem. He is looking for augeas.rb and augeas.so, but he cant find them. Search directories for both files: /usr/local/lib/ruby/site_ruby/1.8/ /usr/local/lib/ruby/site_ruby/1.8/x86_64-linux/ /usr/local/lib/ruby/site_ruby/ /usr/local/lib/ruby/vendor_ruby/1.8/ /usr/local/lib/ruby/vendor_ruby/1.8/x86_64-linux/ /usr/local/lib/ruby/vendor_ruby/ /usr/local/lib/ruby/1.8/ /usr/local/lib/ruby/1.8/x86_64-linux/ ./ If I try a locate for both files I get # locate augeas.rb /usr/lib/ruby/site_ruby/1.8/augeas.rb /usr/local/lib/ruby/site_ruby/1.8/puppet/provider/augeas/augeas.rb /usr/local/lib/ruby/site_ruby/1.8/puppet/type/augeas.rb # locate augeas.so /usr/lib64/libaugeas.so.0 /usr/lib64/libaugeas.so.0.12.0 /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/_augeas.so to rename _augeas.so is clear, but i dont understand why he dont find augeas.rb. I used the source code for building puppet and augeas, only the ruby things were rpms. Its a Scientific Linux 5.5. Maybe someone have a hint why augeas dont work? -- 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.
Possibly Parallel Threads
- err: Could not request certificate: stack level too deep
- info: Retrieving plugin, err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass
- Freezes at "debug: file_metadata supports formats:"
- err: Could not run Puppet configuration client: execution expired
- Solved: Can't convert Puppet::Util::Log into Integer