Hi List, I was wondering if anyone has encountered this error before: puppetd[10973]: Configuration could not be instantiated: Parameter source failed: Validate method failed for class source: hostname not match I have upgraded all our hosts to 0.24.1 and several hosts are failing to update and producing this error. In addition, I have several new hosts that have just been imaged and put in to production, also receiving this error. DNS is set correctly, including reverse. I tried clearing certificates on both the host and server, just to make sure, but I still get the same error. Here is debug and trace output. Let me know if there is any other useful information I may provide. Thanks! $ sudo puppetd --debug --trace -t debug: Parsing /etc/puppet/puppet.conf debug: Creating default schedules debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys/file013a.alonda.com.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/csr_file013a.alonda.com.pem]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/puppet/state] debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/file013a.alonda.com.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys/file013a.alonda.com.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: Finishing transaction 23763371148672 with 0 changes Try `uname --help'' for more information. debug: Retrieved facts in 0.21 seconds debug: Retrieving catalog debug: Calling puppetmaster.getconfig debug: Retrieved catalog in 1.24 seconds debug: Puppet::Type::Package::ProviderSun: Not suitable: missing /usr/bin/pkginfo debug: Puppet::Type::Package::ProviderYum: Not suitable: missing yum debug: Puppet::Type::Package::ProviderGem: Not suitable: missing gem debug: Puppet::Type::Package::ProviderRug: Not suitable: operatingsystem not in suse debug: Puppet::Type::Package::ProviderAppdmg: Not suitable: missing /Library/Receipts debug: Puppet::Type::Package::ProviderUrpmi: Not suitable: missing urpmi debug: Puppet::Type::Package::ProviderFink: Not suitable: missing /sw/bin/fink debug: Puppet::Type::Package::ProviderFreebsd: Not suitable: operatingsystem not in freebsd debug: Puppet::Type::Package::ProviderRpm: Not suitable: missing rpm debug: Puppet::Type::Package::ProviderDarwinport: Not suitable: operatingsystem not in Darwin debug: Puppet::Type::Package::ProviderPorts: Not suitable: missing /usr/local/sbin/portversion debug: Puppet::Type::Package::ProviderPortage: Not suitable: missing /usr/bin/eix debug: Puppet::Type::Package::ProviderPkgdmg: Not suitable: missing /Library/Receipts debug: Puppet::Type::Package::ProviderUp2date: Not suitable: operatingsystem not in redhat debug: Puppet::Type::Package::ProviderAptrpm: Not suitable: missing rpm debug: Puppet::Type::Package::ProviderBlastwave: Not suitable: missing pkg-get debug: Puppet::Type::Package::ProviderSunfreeware: Not suitable: missing pkg-get debug: Puppet::Type::Package::ProviderOpenbsd: Not suitable: operatingsystem not in openbsd debug: Puppet::Type::Package::ProviderApple: Not suitable: missing /Library/Receipts debug: Puppet::Network::Client::File: defining fileserver.describe debug: Puppet::Network::Client::File: defining fileserver.list debug: Puppet::Network::Client::File: defining fileserver.retrieve err: Could not create /etc/nagios/nrpe.cfg: Parameter source failed: Validate method failed for class source: hostname not match /usr/lib/ruby/1.8/openssl/ssl.rb:90:in `post_connection_check'' /usr/lib/ruby/1.8/net/https.rb:177:in `on_connect'' /usr/lib/ruby/1.8/net/http.rb:432:in `do_start'' /usr/lib/ruby/1.8/net/http.rb:424:in `start'' /usr/lib/ruby/1.8/puppet/network/xmlrpc/client.rb:128:in `start'' /usr/lib/ruby/1.8/puppet/network/client.rb:99:in `initialize'' /usr/lib/ruby/1.8/puppet/type/pfile.rb:1014:in `new'' /usr/lib/ruby/1.8/puppet/type/pfile.rb:1014:in `uri2obj'' /usr/lib/ruby/1.8/puppet/type/pfile/source.rb:65:in `unsafe_validate'' /usr/lib/ruby/1.8/puppet/type/pfile/source.rb:64:in `unsafe_validate'' /usr/lib/ruby/1.8/puppet/parameter.rb:159:in `validate'' /usr/lib/ruby/1.8/puppet/parameter.rb:157:in `validate'' /usr/lib/ruby/1.8/puppet/property.rb:396:in `should='' /usr/lib/ruby/1.8/puppet/property.rb:395:in `each'' /usr/lib/ruby/1.8/puppet/property.rb:395:in `should='' /usr/lib/ruby/1.8/puppet/type/pfile/source.rb:238:in `should='' /usr/lib/ruby/1.8/puppet/property.rb:447:in `value='' /usr/lib/ruby/1.8/puppet/util/methodhelper.rb:16:in `send'' /usr/lib/ruby/1.8/puppet/util/methodhelper.rb:16:in `set_options'' /usr/lib/ruby/1.8/puppet/util/methodhelper.rb:13:in `each'' /usr/lib/ruby/1.8/puppet/util/methodhelper.rb:13:in `set_options'' /usr/lib/ruby/1.8/puppet/parameter.rb:296:in `initialize'' /usr/lib/ruby/1.8/puppet/property.rb:237:in `initialize'' /usr/lib/ruby/1.8/puppet/metatype/attributes.rb:577:in `new'' /usr/lib/ruby/1.8/puppet/metatype/attributes.rb:577:in `newattr'' /usr/lib/ruby/1.8/puppet/metatype/attributes.rb:513:in `[]='' /usr/lib/ruby/1.8/puppet/type.rb:256:in `initialize'' /usr/lib/ruby/1.8/puppet/type.rb:253:in `each'' /usr/lib/ruby/1.8/puppet/type.rb:253:in `initialize'' /usr/lib/ruby/1.8/puppet/type/pfile.rb:460:in `initialize'' /usr/lib/ruby/1.8/puppet/metatype/instances.rb:1:in `new'' /usr/lib/ruby/1.8/puppet/metatype/instances.rb:1:in `new'' /usr/lib/ruby/1.8/puppet/metatype/instances.rb:151:in `create'' /usr/lib/ruby/1.8/puppet/transportable.rb:88:in `to_type'' /usr/lib/ruby/1.8/puppet/transportable.rb:193:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:190:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:125:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:125:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:190:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:184:in `call'' /usr/lib/ruby/1.8/puppet/transportable.rb:198:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:190:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:125:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:125:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:190:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:184:in `call'' /usr/lib/ruby/1.8/puppet/transportable.rb:198:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:190:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:125:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:125:in `each'' /usr/lib/ruby/1.8/puppet/transportable.rb:190:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:184:in `call'' /usr/lib/ruby/1.8/puppet/transportable.rb:203:in `to_catalog'' /usr/lib/ruby/1.8/puppet/transportable.rb:183:in `initialize'' /usr/lib/ruby/1.8/puppet/transportable.rb:183:in `new'' /usr/lib/ruby/1.8/puppet/transportable.rb:183:in `to_catalog'' /usr/lib/ruby/1.8/puppet/network/client/master.rb:177:in `getconfig'' /usr/lib/ruby/1.8/puppet/network/client/master.rb:249:in `run'' /usr/lib/ruby/1.8/puppet/network/client/master.rb:248:in `thinmark'' /usr/lib/ruby/1.8/puppet/util.rb:443:in `measure'' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime'' /usr/lib/ruby/1.8/puppet/util.rb:443:in `thinmark'' /usr/lib/ruby/1.8/puppet/network/client/master.rb:248:in `run'' /usr/lib/ruby/1.8/puppet/network/client/master.rb:241:in `synchronize'' /usr/lib/ruby/1.8/puppet/network/client/master.rb:241:in `run'' /usr/sbin/puppetd:429 warning: Not using cache on failed catalog warning: Configuration could not be instantiated: Parameter source failed: Validate method failed for class source: hostname not match
On Jan 25, 2008, at 6:23 AM, Peter Hicks wrote:> Hi List, > > I was wondering if anyone has encountered this error before: > > puppetd[10973]: Configuration could not be instantiated: Parameter > source failed: Validate method failed for class source: hostname not > matchSounds like you hit the ssl issue: http://snurl.com/1udr3 -- A bore is a man who deprives you of solitude without providing you with company. -- Gian Vincenzo Gravina --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On 1/24/08, Luke Kanies <luke@madstop.com> wrote:> On Jan 25, 2008, at 6:23 AM, Peter Hicks wrote: > > > Hi List, > > > > I was wondering if anyone has encountered this error before: > > > > puppetd[10973]: Configuration could not be instantiated: Parameter > > source failed: Validate method failed for class source: hostname notInteresting. We hit this issue previously, and had pinned our debian packages accordingly. When I installed 0.24.1 and tested, the error seemed to go away. A few questions: How come it only happens on a few hosts, and not consistently across all the hosts? Our packages are the same across all hosts. I was also thrown off by the fact that the error is different. When we encountered this error previously, it contained the string "Certificates were not trusted: hostname not match", which this error did not seem to have.
On Jan 25, 2008, at 3:59 PM, Peter Hicks wrote:> Interesting. We hit this issue previously, and had pinned our debian > packages accordingly. When I installed 0.24.1 and tested, the error > seemed to go away. A few questions:0.24.1 tries to fix the problem, but it''s mostly a question of the server''s cert.> > How come it only happens on a few hosts, and not consistently across > all the hosts? Our packages are the same across all hosts.If all packages are the same (including minor versions, like 1.8.5-6), and all hosts are configured the same, and all hosts contact the same server, you should get the same behaviour.> > I was also thrown off by the fact that the error is different. When we > encountered this error previously, it contained the string > "Certificates were not trusted: hostname not match", which this error > did not seem to have.The last bit of the error is consistent; the first bit of the error is dependent on where the error is encountered and is added by Puppet to try to provide context. -- I don''t know the key to success, but the key to failure is trying to please everybody. -- Bill Cosby --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com