Issue #13340 has been updated by Banio Carpenter.

The issue is not that the puppetmaster server isn't set.  Here is my 
puppet.conf:

# cat /etc/puppet/puppet.conf 
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=/lib/facter
pluginsync=true
templatedir=/templates
[agent]
server=puppetmaster.int.mydomain.com


And for good measure, here is the server print out:

# puppet agent --configprint server
puppetmaster.int.mydomain.com


Here are the perms:

# ls -ld /var /var/lib /var/lib/puppet /var/lib/puppet/ssl
drwxr-xr-x 13 root   root   4096 2012-02-24 21:07 /var
drwxr-xr-x 25 root   root   4096 2012-03-06 18:34 /var/lib
drwxr-x---  9 puppet puppet 4096 2012-03-28 16:44 /var/lib/puppet
drwxrwx--x  7 puppet root   4096 2012-03-28 16:44 /var/lib/puppet/ssl


here are the getent:

# getent passwd root
root:x:0:0:root:/root:/bin/bash

# getent group 0
root:x:0:


So root does exist and the group 0 does exist.  All the necessary directories 
appear to have the needed permissions for traversal and creation by the puppet 
user.
----------------------------------------
Bug #13340: Puppet agent doesn't properly get certificate ubuntu client  centos 
puppetmaster 
https://projects.puppetlabs.com/issues/13340#change-58721

Author: Banio Carpenter
Status: Needs More Information
Priority: Urgent
Assignee: Banio Carpenter
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I have a CentOS 5.8 puppetmaster running:
puppet: 2.7.12
ruby: 1.8.5
facter: 1.6.6
kernel: 2.6.18-274.18.1.el5xen

And a Ubuntu 10.04.4 client running:
puppet: 2.7.12
ruby: 1.8.7
facter: 1.6.6
kernel: 2.6.32-343-ec2

When I try to connect for the first time.  (I have this server in autosign and 
sites). This is what I get:

Mar 22 21:14:10 ip-10-140-2-112 puppet-agent[629]: Reopening log files
Mar 22 21:14:10 ip-10-140-2-112 puppet-agent[629]: Could not request 
certificate: getaddrinfo: Name or service not known
Mar 22 21:14:23 ip-10-140-2-112 puppet-agent[710]: Reopening log files
Mar 22 21:14:26 ip-10-140-2-112 puppet-agent[710]: Could not request 
certificate: Could not write /var/lib/puppet/ssl/private_keys/myserver.com.pem 
to privatekeydir: Invalid group: 0

The directory /var/lib/puppet/ssl is owned by puppet, so perms are good.  I 
have tried this with more than one client.  I tried delete everything in 
/var/lib/puppet/ssl and get the same result.

>From a Centos client running 2.7.12 it works fine.

Let me know if you need any more info.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to