When you do puppet agent -t check out your puppetserver.log. Post the 
output from puppetserver.log file .

Thanks
Jim

On Tuesday, July 12, 2016 at 8:06:39 AM UTC+10, Joaquin Henriquez wrote:
>
> Hi List
>
> Puppet agent (after puupet agent -t) is not sending th CSR to the Puppet 
> master:
>
> Agent:
> /etc/hosts
> 172.16.173.31   spark-slave1 puppetmaster01 puppetmaster01.lebara.com 
> testbedocg
> 172.16.173.24   spark-slave2 preproi2000 preproi2000.lebara.com
>
>
> hadoop@preproi2000:~/.puppetlabs/etc/puppet> more puppet.conf 
> [main]
> certname = preproi2000.lebara.com
> server = puppetmaster01
> environment = production
> runinterval = 1h
> strict_variables = true
>
> [agent]
> server = puppetmaster01
>
> hadoop@preproi2000:~/.puppetlabs/etc/puppet/ssl/certificate_requests> ls
> preproi2000.lebara.com.pem
>
> Any agent requet doesn't show the fingerprint (3rd line)
> hadoop@preproi2000:~/.puppetlabs/etc/puppet> puppet agent --no-daemonize 
> --server puppetmaster01.lebara.com --onetime --verbose
> Info: Creating a new SSL key for preproi2000.lebara.com
> Info: Caching certificate for ca
> Info: Caching certificate_request for preproi2000.lebara.com
> Info: Caching certificate for ca  <-- here no fingerprint
> Exiting; no certificate found and waitforcert is disabled
>
> Master:
> /etc/hosts
> 172.16.173.31   spark-slave1 puppetmaster01 puppetdb 
> puppetmaster01.lebara.com testbedocg
> 172.16.173.24   spark-slave2 preproi2000 preproi2000.lebara.com
>
> hadoop@testbedocg:~/.puppetlabs/etc/puppet> more puppet.conf 
> [main]
> certname = testbedocg
> server = puppetmaster01
> environment = production
> runinterval = 1h
> strict_variables = true
>
> [master]
> dns_alt_names = puppet,puppetmaster01,puppetmaster01.lebara.com,testbedocg
> reports = puppetdb
> storeconfigs_backend = puppetdb
> storeconfigs = true
> environment_timeout = unlimited
>
> hadoop@testbedocg:~/.puppetlabs/etc/puppet/ssl/certificate_requests> ls
> hadoop@testbedocg:~/.puppetlabs/etc/puppet/ssl/certificate_requests> 
>
> It seems as the CSR is send only to the local agent machine not to the 
> Master puppet server.
> Why is this happending?
>
> BR
>
> Joaquin
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5ef4ed54-fa84-4941-8b86-84e0ae3932c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to