Issue #3504 has been updated by Johan Huysmans.
We noticed that our hostnames are indeed not corresponding the RFC. But even if they are not corresponding the RFC everything works correctly between such hosts, therefore it could be handy the factsync can also work with hostnames containing _'s. ---------------------------------------- Bug #3504: factsync doesn't work when puppetmaster has _ in hostname http://projects.puppetlabs.com/issues/3504 Author: Johan Huysmans Status: Needs more information Priority: Normal Assigned to: Category: error reporting Target version: Affected version: 0.24.8 Keywords: Branch: I had a working puppet connection between my puppetmaster co_nms-1 and client co_nms-2 (Fully working setup, including working fileserver). But once I enabled "factsync = true" in my puppet.conf on the client I received error below. I recreated the same setup on other machines without underscore in the hostname and it worked without any problems. The problem did occur with the server containing an _ in the hostname and the client without. [factory-r...@co_nms-2 ~]# puppetd --server co_nms-1 --test --trace --verbose --debug debug: Creating default schedules debug: Failed to load library 'ldap' for feature 'ldap' debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/csr_co_nms-2.pem]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet] 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/private_keys/co_nms-2.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/public_keys/co_nms-2.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/var/lib/puppet/ssl/certs/co_nms-2.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state] 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/private]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] 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/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] 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[ssl]/File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/var/lib/puppet/classes.txt]: Autorequiring File[/var/lib/puppet] debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: Finishing transaction -606148958 with 0 changes debug: Loaded state in 0.00 seconds err: Could not create /var/lib/puppet/facts: Parameter source failed: Could not understand source puppet://co_nms-1/facts: the scheme puppet does not accept registry part: co_nms-1 (or bad hostname?) /usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:51:in `fail' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:997:in `uri2obj' /usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:65:in `unsafe_validate' /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:159:in `validate' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:395:in `should=' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:394:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:394:in `should=' /usr/lib/ruby/site_ruby/1.8/puppet/type/file/source.rb:231:in `should=' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:452:in `value=' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:16:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:16:in `set_options' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:13:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:13:in `set_options' /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:296:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/property.rb:236:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:595:in `new' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:595:in `newattr' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:531:in `[]=' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:2345:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:2342:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:2342:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/type/file.rb:460:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1129:in `new' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1129:in `create' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:324:in `download' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:357:in `getfacts' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:24:in `facts' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:137:in `getconfig' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:181:in `benchmark' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:180:in `benchmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:136:in `getconfig' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:245:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:426:in `thinmark' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:425:in `thinmark' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:244:in `run' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize' /usr/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:237:in `run' /usr/sbin/puppetd:417 err: Could not retrieve catalog: Parameter source failed: Could not understand source puppet://co_nms-1/facts: the scheme puppet does not accept registry part: co_nms-1 (or bad hostname?) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
