Well I've tried again!

This time /etc/hosts on the client looks like:

[root@pc ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.4        pc.jabber.com   pc
10.0.0.6        ps.jabber.com   puppet

when I resign the client after removing the certificate, I get this:

[root@ps manifests]# /opt/puppet/sbin/puppetca --sign pc.jabber.com
notice: Signed certificate request for pc.jabber.com
notice: Removing file Puppet::SSL::CertificateRequest pc.jabber.com at
'/etc/puppetlabs/puppet/ssl/ca/requests/pc.jabber.com.pem'


[root@pc ~]# puppet agent --test
warning: peer certificate won't be verified in this SSL session
info: Caching certificate for pc.jabber.com
err: Could not retrieve catalog from remote server: hostname was not
match with the server certificate
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: hostname was not match with the server certificate


The weird thing is that on the server I have 2 separate key instances:


[root@ps manifests]# /opt/puppet/sbin/puppetca --list
  pc.jabber.com      (CC:D2:90:11:6A:1D:49:EB:E5:3C:1F:C0:4E:89:EA:D5)
  puppet-test-client (5C:C4:3F:94:02:C3:D0:BD:F1:EB:F2:BB:A2:37:FD:3A)

for one system.


DNS from client side:


[root@pc ~]# nslookup ps.jabber.com
Server:         10.0.0.1
Address:        10.0.0.1#53

Name:   ps.jabber.com
Address: 10.0.0.6


So all in all same issue and am lost?


Regards,


Kaya


On Tue, Apr 10, 2012 at 3:00 PM, Peter Berghold <salty.cowd...@gmail.com> wrote:
>
>
> On Tue, Apr 10, 2012 at 9:17 AM, Kaya Saman <kayasa...@gmail.com> wrote:
>>
>> T
>> [root@ps ~]# /opt/puppet/bin/puppet agent --test
>> info: Retrieving plugin
>> err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional
>> resources using 'eval_generate: getaddrinfo: Name or service not known
>> err: /File[/var/opt/lib/pe-puppet/lib]: Could not evaluate:
>> getaddrinfo: Name or service not known Could not retrieve file
>> metadata for puppet://learn.localdomain/plugins: getaddrinfo: Name or
>> service not known
>
>
> in the words of Jamie Hienaman (sp?) from Myth Busters... Now there's your
> problem!
>
> The client you are running the test on doesn't know what host to talk to.
> In other words the host "puppet" is unknown to the client.  Try adding the
> IP address of the host running your puppet master to your /etc/hosts file.
>
> Example:
>
> 10.1.2.3       puppet
>
>
>
>
> --
> Peter L. Berghold
> Owner, Shark River Technical Solutions LLC
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to