sanjibdhar222@gmail.com
2009-Dec-10 07:11 UTC
[Puppet Users] In a single system puppet not working.
http://projects.reductivelabs.com/issues/2909 I am getting in console root@tbagchi-desktop:/home/tbagchi# puppetmasterd --debug --no- daemonize --logdest console /usr/local/lib/site_ruby/1.8/facter/util/resolution.rb:46: warning: Insecure world writable dir /usr/bin in PATH, mode 040777 /usr/local/lib/site_ruby/1.8/puppet/defaults.rb:94: warning: Insecure world writable dir /usr/bin in PATH, mode 040777 debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/ dscl does not exist debug: Failed to load library ''ldap'' for feature ''ldap'' debug: Puppet::Type::User::ProviderLdap: feature ldap is missing debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/ var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/ puppet] debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/ssl/private]: 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/certs/tbagchi-desktop.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/public_keys/tbagchi-desktop.pem]: Autorequiring File[/var/lib/puppet/ssl/public_keys] debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring File[/etc/ puppet/manifests] debug: /File[/var/log/puppet/masterhttp.log]: Autorequiring File[/var/ log/puppet] debug: /File[/var/lib/puppet/ssl/private_keys/tbagchi-desktop.pem]: Autorequiring File[/var/lib/puppet/ssl/private_keys] debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/ puppet] debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet] debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/ puppet/ssl] debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet] debug: /File[/var/lib/puppet/bucket]: 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_keys]: Autorequiring File[/ var/lib/puppet/ssl] debug: /File[/etc/puppet/fileserver.conf]: Autorequiring File[/etc/ puppet] debug: /File[/var/run/puppet/puppetmasterd.pid]: Autorequiring File[/ var/run/puppet] debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet] debug: Finishing transaction -606884678 with 0 changes debug: /File[/var/lib/puppet/ssl/ca/private/ca.pass]: Autorequiring File[/var/lib/puppet/ssl/ca/private] debug: /File[/var/lib/puppet/ssl/ca/ca_pub.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/inventory.txt]: Autorequiring File [/var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/signed]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_crl.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_crt.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/requests]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/private]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/ca_key.pem]: Autorequiring File[/ var/lib/puppet/ssl/ca] debug: /File[/var/lib/puppet/ssl/ca/serial]: Autorequiring File[/var/ lib/puppet/ssl/ca] debug: Finishing transaction -611361678 with 0 changes debug: Using cached certificate for ca debug: Using cached certificate for ca debug: Using cached certificate for tbagchi-desktop notice: Starting Puppet server version 0.25.0 err: Removing mount files: /etc/puppet/files does not exist debug: No modules mount given; autocreating with default permissions debug: No path given for plugins mount; creating a special PluginMount debug: Creating interpreter debug: Finishing transaction -612794258 with 0 changes by puppetd : tbagchi@tbagchi-desktop:~$ puppetd --test --debug --server localhost /usr/local/lib/site_ruby/1.8/facter/util/resolution.rb:46: warning: Insecure world writable dir /usr/bin in PATH, mode 040777 /usr/local/lib/site_ruby/1.8/puppet/defaults.rb:94: warning: Insecure world writable dir /usr/bin in PATH, mode 040777 debug: Failed to load library ''ldap'' for feature ''ldap'' debug: /File[/home/tbagchi/.puppet/var/client_yaml]: Autorequiring File [/home/tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet/var/clientbucket]: Autorequiring File[/home/tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet/ssl/certs]: Autorequiring File[/ home/tbagchi/.puppet/ssl] debug: /File[/home/tbagchi/.puppet/var/state]: Autorequiring File[/ home/tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet/ssl/public_keys]: Autorequiring File [/home/tbagchi/.puppet/ssl] debug: /File[/home/tbagchi/.puppet/var]: Autorequiring File[/home/ tbagchi/.puppet] debug: /File[/home/tbagchi/.puppet/var/log]: Autorequiring File[/home/ tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet/var/run]: Autorequiring File[/home/ tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet/ssl/private_keys]: Autorequiring File[/home/tbagchi/.puppet/ssl] debug: /File[/home/tbagchi/.puppet/ssl/certificate_requests]: Autorequiring File[/home/tbagchi/.puppet/ssl] debug: /File[/home/tbagchi/.puppet/var/facts]: Autorequiring File[/ home/tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet/var/state/graphs]: Autorequiring File[/home/tbagchi/.puppet/var/state] debug: /File[/home/tbagchi/.puppet/ssl/private]: Autorequiring File[/ home/tbagchi/.puppet/ssl] debug: /File[/home/tbagchi/.puppet/ssl]: Autorequiring File[/home/ tbagchi/.puppet] debug: /File[/home/tbagchi/.puppet/var/lib]: Autorequiring File[/home/ tbagchi/.puppet/var] debug: /File[/home/tbagchi/.puppet]: Changing ensure debug: /File[/home/tbagchi/.puppet]: 1 change(s) debug: /File[/home/tbagchi/.puppet]/ensure: created debug: /File[/home/tbagchi/.puppet/ssl]: Changing ensure debug: /File[/home/tbagchi/.puppet/ssl]: 1 change(s) debug: /File[/home/tbagchi/.puppet/ssl]/ensure: created debug: /File[/home/tbagchi/.puppet/ssl/private]: Changing ensure debug: /File[/home/tbagchi/.puppet/ssl/private]: 1 change(s) debug: /File[/home/tbagchi/.puppet/ssl/private]/ensure: created debug: /File[/home/tbagchi/.puppet/ssl/certificate_requests]: Changing ensure debug: /File[/home/tbagchi/.puppet/ssl/certificate_requests]: 1 change (s) debug: /File[/home/tbagchi/.puppet/ssl/certificate_requests]/ensure: created debug: /File[/home/tbagchi/.puppet/ssl/private_keys]: Changing ensure debug: /File[/home/tbagchi/.puppet/ssl/private_keys]: 1 change(s) debug: /File[/home/tbagchi/.puppet/ssl/private_keys]/ensure: created debug: /File[/home/tbagchi/.puppet/ssl/public_keys]: Changing ensure debug: /File[/home/tbagchi/.puppet/ssl/public_keys]: 1 change(s) debug: /File[/home/tbagchi/.puppet/ssl/public_keys]/ensure: created debug: /File[/home/tbagchi/.puppet/ssl/certs]: Changing ensure debug: /File[/home/tbagchi/.puppet/ssl/certs]: 1 change(s) debug: /File[/home/tbagchi/.puppet/ssl/certs]/ensure: created debug: /File[/home/tbagchi/.puppet/var]: Changing ensure debug: /File[/home/tbagchi/.puppet/var]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var]/ensure: created debug: /File[/home/tbagchi/.puppet/var/lib]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/lib]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/lib]/ensure: created debug: /File[/home/tbagchi/.puppet/var/facts]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/facts]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/facts]/ensure: created debug: /File[/home/tbagchi/.puppet/var/run]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/run]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/run]/ensure: created debug: /File[/home/tbagchi/.puppet/var/log]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/log]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/log]/ensure: created debug: /File[/home/tbagchi/.puppet/var/state]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/state]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/state]/ensure: created debug: /File[/home/tbagchi/.puppet/var/state/graphs]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/state/graphs]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/state/graphs]/ensure: created debug: /File[/home/tbagchi/.puppet/var/client_yaml]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/client_yaml]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/client_yaml]/ensure: created debug: /File[/home/tbagchi/.puppet/var/clientbucket]: Changing ensure debug: /File[/home/tbagchi/.puppet/var/clientbucket]: 1 change(s) debug: /File[/home/tbagchi/.puppet/var/clientbucket]/ensure: created debug: Finishing transaction -607914878 with 16 changes info: Creating a new SSL key for tbagchi-desktop warning: peer certificate won''t be verified in this SSL session info: Caching certificate for ca warning: peer certificate won''t be verified in this SSL session info: Caching certificate for tbagchi-desktop Could not prepare for execution: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key tbagchi@tbagchi-desktop:~$ -- 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.
Peter Meier
2009-Dec-10 10:44 UTC
Re: [Puppet Users] In a single system puppet not working.
> tbagchi@tbagchi-desktop:~$ puppetd --test --debug --server localhost > [...] > info: Creating a new SSL key for tbagchi-desktop > warning: peer certificate won''t be verified in this SSL session > info: Caching certificate for ca > warning: peer certificate won''t be verified in this SSL session > info: Caching certificate for tbagchi-desktop > Could not prepare for execution: Retrieved certificate does not match > private key; please remove certificate from server and regenerate it > with the current keycan you connect with tbagchi-desktop instead of localhost, which seems to be the hostname aka fqdn of your desktop. Puppet uses plain SSL to authenticate and secure its communication and SSL is strict on hostnames and so on. cheers pete -- 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.