Hi, I'm following through the puppet labs "Learning Puppet" material. I get the below error message when I run the puppet agent on my machine.
*[root@agent1 ~]#* puppet agent --test info: Retrieving plugin info: Loading facts in /opt/puppet/share/puppet/modules/concat/lib/facter/concat_basedir.rb info: Loading facts in /opt/puppet/share/puppet/modules/auth_conf/lib/facter/custom_auth_conf.rb info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/pe_version.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb info: Caching catalog for agent1.localdomain info: Applying configuration version '1382185616' notice: The OS on which this puppet script is executing is CentOS notice: /Stage[main]/Apache/Notify[notify-os]/message: defined 'message' as 'The OS on which this puppet script is executing is CentOS' notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: The certificate retrieved from the master does not match the agent's private key. notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: Certificate fingerprint: EB:FB:D2:53:F4:92:85:84:2E:9D:12:71:4D:F8:D5:DD notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate. notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: On the master: notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: puppet cert clean agent1.localdomain notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: On the agent: notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: rm -f /etc/puppetlabs/puppet/ssl/certs/agent1.localdomain.pem notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: puppet agent -t err: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-client-cert]/returns: change from notrun to 0 failed: puppet cert --generate pe-internal-peadmin-mcollective-client returned 23 instead of one of [0] at /opt/puppet/share/puppet/modules/pe_mcollective/manifests/posix.pp:98 notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: The certificate retrieved from the master does not match the agent's private key. notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: Certificate fingerprint: EB:FB:D2:53:F4:92:85:84:2E:9D:12:71:4D:F8:D5:DD notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate. notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: On the master: notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: puppet cert clean agent1.localdomain notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: On the agent: notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: rm -f /etc/puppetlabs/puppet/ssl/certs/agent1.localdomain.pem notice: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: puppet agent -t err: /Stage[main]/Pe_mcollective::Posix/Exec[puppet-dashboard-client-cert]/returns: change from notrun to 0 failed: puppet cert --generate pe-internal-puppet-console-mcollective-client returned 23 instead of one of [0] at /opt/puppet/share/puppet/modules/pe_mcollective/manifests/posix.pp:104 notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: The certificate retrieved from the master does not match the agent's private key. notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: Certificate fingerprint: EB:FB:D2:53:F4:92:85:84:2E:9D:12:71:4D:F8:D5:DD notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate. notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: On the master: notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: puppet cert clean agent1.localdomain notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: On the agent: notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: rm -f /etc/puppetlabs/puppet/ssl/certs/agent1.localdomain.pem notice: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: puppet agent -t err: /Stage[main]/Pe_mcollective::Posix/Exec[mcollective-server-cert]/returns: change from notrun to 0 failed: puppet cert --generate pe-internal-mcollective-servers returned 23 instead of one of [0] at /opt/puppet/share/puppet/modules/pe_mcollective/manifests/posix.pp:92 notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: The certificate retrieved from the master does not match the agent's private key. notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: Certificate fingerprint: EB:FB:D2:53:F4:92:85:84:2E:9D:12:71:4D:F8:D5:DD notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate. notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: On the master: notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: puppet cert clean agent1.localdomain notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: On the agent: notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: rm -f /etc/puppetlabs/puppet/ssl/certs/agent1.localdomain.pem notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: puppet agent -t err: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert]/returns: change from notrun to 0 failed: bash -c 'puppet cert --generate pe-internal-broker --dns_alt_names 'stomp,learn.localdomain,agent1.localdomain' && test -f /etc/puppetlabs/puppet/ssl/ca/signed/pe-internal-broker.pem' returned 23 instead of one of [0] at /opt/puppet/share/puppet/modules/pe_mcollective/manifests/posix.pp:114 notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert_bundle]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert_bundle]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/activemq/broker.pem]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/activemq/broker.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert_pkcs12]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert_pkcs12]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/activemq/broker.p12]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/activemq/broker.p12]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert_keystore]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/Exec[broker_cert_keystore]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/activemq/broker.ks]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/activemq/broker.ks]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/Service[pe-activemq]: Dependency Exec[broker_cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/Service[pe-activemq]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/opt/puppet/share/puppet-dashboard/.mcollective.d/puppet-dashboard-public.pem]: Dependency Exec[puppet-dashboard-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/opt/puppet/share/puppet-dashboard/.mcollective.d/puppet-dashboard-public.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/opt/puppet/share/puppet-dashboard/.mcollective.d/puppet-dashboard-cert.pem]: Dependency Exec[puppet-dashboard-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/opt/puppet/share/puppet-dashboard/.mcollective.d/puppet-dashboard-cert.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/opt/puppet/share/puppet-dashboard/.mcollective.d/puppet-dashboard-private.pem]: Dependency Exec[puppet-dashboard-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/opt/puppet/share/puppet-dashboard/.mcollective.d/puppet-dashboard-private.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/var/lib/peadmin/.mcollective.d/peadmin-public.pem]: Dependency Exec[mcollective-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/var/lib/peadmin/.mcollective.d/peadmin-public.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/var/lib/peadmin/.mcollective.d/peadmin-private.pem]: Dependency Exec[mcollective-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/var/lib/peadmin/.mcollective.d/peadmin-private.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[/var/lib/peadmin/.mcollective.d/peadmin-cert.pem]: Dependency Exec[mcollective-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[/var/lib/peadmin/.mcollective.d/peadmin-cert.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[mcollective-private.pem]: Dependency Exec[mcollective-server-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[mcollective-private.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[mcollective-public.pem]: Dependency Exec[mcollective-server-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[mcollective-public.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[mcollective-cert.pem]: Dependency Exec[mcollective-server-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[mcollective-cert.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[peadmin-public.pem]: Dependency Exec[mcollective-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[peadmin-public.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/File[puppet-dashboard-public.pem]: Dependency Exec[puppet-dashboard-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/File[puppet-dashboard-public.pem]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective::Posix/Service[mcollective]: Dependency Exec[mcollective-client-cert] has failures: true notice: /Stage[main]/Pe_mcollective::Posix/Service[mcollective]: Dependency Exec[puppet-dashboard-client-cert] has failures: true notice: /Stage[main]/Pe_mcollective::Posix/Service[mcollective]: Dependency Exec[mcollective-server-cert] has failures: true warning: /Stage[main]/Pe_mcollective::Posix/Service[mcollective]: Skipping because of failed dependencies notice: /Stage[main]/Pe_mcollective/Anchor[pe_mcollective::end]: Dependency Exec[puppet-dashboard-client-cert] has failures: true notice: /Stage[main]/Pe_mcollective/Anchor[pe_mcollective::end]: Dependency Exec[mcollective-server-cert] has failures: true notice: /Stage[main]/Pe_mcollective/Anchor[pe_mcollective::end]: Dependency Exec[broker_cert] has failures: true notice: /Stage[main]/Pe_mcollective/Anchor[pe_mcollective::end]: Dependency Exec[mcollective-client-cert] has failures: true warning: /Stage[main]/Pe_mcollective/Anchor[pe_mcollective::end]: Skipping because of failed dependencies err: /Stage[main]/Request_manager/Service[pe-httpd]/ensure: change from stopped to running failed: Could not start Service[pe-httpd]: Execution of '/sbin/service pe-httpd start' returned 1: at /opt/puppet/share/puppet/modules/request_manager/manifests/init.pp:23 notice: Finished catalog run in 8.18 seconds *[root@agent1 ~]#* puppet --version 2.7.19 (Puppet Enterprise 2.7.0) You good help will be truly appreciated. Thanks, Karthik -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
