Hi All,
I again attempted to execute the command puppet agent --test --verbose
--server learn.localdomain, and I continue to get the same error :(

Surprisingly, I found that the certificates are created both in Windows
agent and the Master .
The files created in master under the
folder /etc/puppetlabs/puppet/ssl/certs are  (1) ca.pem and
 (2) learn.localdomain.pem
The files created in Windows agent under the folder
path C:\ProgramData\PuppetLabs\puppet\etc\ssl\certs are (1) ca.pem and
(2) igtggn11002.interglobetechnologies.com.pem

I assume they are certificates that are created after Master and agent have
had a hand shake .

Can you please guide me, what is the next step I should do to resolve the
replace facts ? What should I do ?

Thanks,
Harshita


Thanks and Regards,
Harshita
+91-9711099504


On Fri, Dec 20, 2013 at 3:16 PM, Harshita Sinha <[email protected]> wrote:

> 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
> <http://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
> <http://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/CAP%3D1m3b6g_iOY4nePu2YVbFuXWy8T0stcjzMhfbCXm%2BOQDfLjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to