Hi All,
Following the instructions on 
http://www.copperykeenclaws.com/setting-up-puppet-on-windows/#comment-1201 I 
was able to connect Windows Agent to Puppet Master.

Since my VM got disconnected, I thought of again connecting again and  I 
cleared all the certificates from Windows-Agent as well as Unix-Master.
I cleared ca.pem file from the Agent, and ca.pem and learn.localdomain.pem 
from the master.

After deleting all the certificates, I attempted to execute the command
puppet agent --test --verbose --server learn.localdomain .

I got response as 
*Info: Caching certificate for ca*
*Info: Caching certificate for igtggn11002.interglobetechnologies.com*
*Info: Retrieving plugin*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/concat_ba**sedir.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/custom_au**th_conf.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/facter_do**t_d.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/ip6tables**_version.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/iptables_*
*persistent_version.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/iptables_**version.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/pe_versio**n.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/postgres_*
*default_version.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/puppetdb_**server_status.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/puppet_va**rdir.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/root_home**.rb*
*Info: Loading facts in 
C:/ProgramData/PuppetLabs/puppet/var/lib/facter/windows.r**b*
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Faile
*d to submit 'replace facts' command for 
igtggn11002.interglobetechnologies.com t*
*o PuppetDB at learn.localdomain:8081: SSL_connect SYSCALL returned=5 
errno=0 sta*
te=SSLv3 read finished A
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Why is it not attempting to create the new certificate ? Why is it caching 
for ca, when I already deleted ca.pem ?

RESTART PUPPET AGENT
I refered the link 
https://ask.puppetlabs.com/question/3853/error-400-on-server-failed-to-submit-replace-facts-command-connection-refused/
 and 
tried to restart my agent but I get an error as
*C:\Program Files (x86)\Puppet Labs\Puppet Enterprise\bin>service pe-puppet 
resta**rt*
*'service' is not recognized as an internal or external command,*
*operable program or batch file.*



Thanks,
Harshita

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/336e952c-7bbd-4f4a-b6dd-ddf16b394a0b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to