Pete Emerson
2009-Jul-01 16:30 UTC
[Puppet Users] Multiple default providers for service: init, base; using init
I have a bunch of CentOS machines. In the process of puppetizing one of them I''m getting this warning (more complete debug info at the end): warning: Found multiple default providers for service: init, base; using init info: /Service[gmond]: Provider init does not support features enableable; not managing attribute enable Given that all of my instances are running the same OS and should be identical, and none of my other instances are exhibiting this problem, something on this instance must be slightly different. I''ve run the client in debug mode (see below) and the puppetmaster in debug mode, but haven''t seen anything that is causing this issue (like the default PATH, for example). How do I best go about figuring out what is going on and fixing it? /usr/sbin/puppetd --test --debug --verbose debug: Creating default schedules ... debug: Finishing transaction 23456258353740 with 0 changes debug: Loaded state in 0.03 seconds debug: Retrieved facts in 0.16 seconds debug: Retrieving catalog debug: Calling puppetmaster.getconfig debug: Retrieved catalog in 1.02 seconds debug: Puppet::Network::Client::File: defining fileserver.describe debug: Puppet::Network::Client::File: defining fileserver.list debug: Puppet::Network::Client::File: defining fileserver.retrieve debug: Puppet::Type::Package::ProviderRpm: Executing ''/bin/rpm --version'' debug: Puppet::Type::Package::ProviderYum: Executing ''/bin/rpm --version'' debug: Puppet::Type::Package::ProviderUrpmi: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderAptrpm: Executing ''/bin/rpm -ql rpm'' debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist debug: Puppet::Type::Package::ProviderAppdmg: file /Library/Receipts does not exist debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist debug: Puppet::Type::Package::ProviderGem: file gem does not exist debug: Puppet::Type::Package::ProviderPorts: file /usr/sbin/pkg_info does not exist debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist debug: Puppet::Type::Package::ProviderPkgdmg: file /Library/Receipts does not exist debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist debug: Puppet::Type::Package::ProviderDarwinport: file /opt/local/bin/port does not exist debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not exist debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist debug: Puppet::Type::Package::ProviderApple: file /Library/Receipts does not exist debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d does not exist warning: Found multiple default providers for service: init, base; using init info: /Service[gmond]: Provider init does not support features enableable; not managing attribute enable debug: Puppet::Type::User::ProviderNetinfo: file nireport does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::Group::ProviderNetinfo: file nireport does not exist debug: Puppet::Type::Group::ProviderPw: file /usr/sbin/pw does not exist info: /Service[syslog-ng]: Provider init does not support features enableable; not managing attribute enable debug: Creating default schedules debug: Finishing transaction 23456269726200 with 0 changes info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run ... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2009-Jul-11 00:59 UTC
[Puppet Users] Re: Multiple default providers for service: init, base; using init
On Jul 1, 2009, at 9:30 AM, Pete Emerson wrote:> I have a bunch of CentOS machines. In the process of puppetizing one > of them I''m getting this warning (more complete debug info at the > end): > > warning: Found multiple default providers for service: init, base; > using init > info: /Service[gmond]: Provider init does not support features > enableable; not managing attribute enable > > Given that all of my instances are running the same OS and should be > identical, and none of my other instances are exhibiting this > problem, something on this instance must be slightly different. > > I''ve run the client in debug mode (see below) and the puppetmaster > in debug mode, but haven''t seen anything that is causing this issue > (like the default PATH, for example). How do I best go about > figuring out what is going on and fixing it?This kind of issue is normally caused by a funky PATH, but it looks like your service providers are halting their loading early, so maybe you''ve got a provider there that''s not parsing correctly and is breaking the loading of the rest of the service providers. I *think* that was a bug in an earlier version but is fixed in 0.24.8 or so -- providers can''t break loading for other providers. -- Good judgment comes from experience, and experience comes from bad judgment. --Barry LePatner --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---