Issue #7281 has been updated by Nigel Kersten.

Status changed from Needs Decision to Accepted
Target version changed from 1.x to 1.1

Fix pushed, will be available in the impending 1.1 release.
----------------------------------------
Bug #7281: Bug Report: Upper case characters in certificate name cause 
installer to fail 
https://projects.puppetlabs.com/issues/7281

Author: James Turnbull
Status: Accepted
Priority: High
Assignee: Nigel Kersten
Category: installer
Target version: 1.1
Keywords: 
Branch: 
Affected PE version: 


I get some way through the install, accepting defaults and agreeing to install 
everything, then get this:

<pre>
** /opt/puppet/bin/puppet agent --configprint certname --color=false 
/opt/puppet/lib/site_ruby/1.8/puppet/defaults.rb:193:in `handle': Certificate 
names must be lower case; see #1168 (ArgumentError)
</pre>

I think the problem has to do with my hostname; here's the generated Puppet 
configuration:

<pre>
STEP 3: GENERATE PUPPET CONFIGURATION

## Generated file "/etc/puppetlabs/puppet/puppet.conf.tmp" with contents:

[main] 
vardir = /var/opt/lib/pe-puppet 
logdir = /var/log/pe-puppet 
rundir = /var/run/pe-puppet 
modulepath = /etc/puppetlabs/puppet/modules 
user = pe-puppet 
group = pe-puppet 

[master] 
certname = LI-BPWS-004.example.com 
certdnsnames = LI-BPWS-004:LI-BPWS-004.example.com:puppet:puppet.example.com 
reports = http, store 
reportsurl = http://LI-BPWS-004:3000/reports/ 
node_terminus = exec 
external_nodes = /etc/puppetlabs/puppet-dashboard/external_node 
ssl_client_header = SSL_CLIENT_S_DN 
ssl_client_verify_header = SSL_CLIENT_VERIFY 

[agent] 
certname = LI-BPWS-004.example.com 
server = LI-BPWS-004.example.com 
report = true 
classfile = $vardir/classes.txt 
localconfig = $vardir/localconfig 
graph = true 
pluginsync = true
</pre>

So, if the cert name has to be all lower case, how come it didn't just 
lowercase it way back at the beginning?
Sure enough, manually lower-casing the certificate name allowed the 
installation to complete.

Please consider this a feature request/bug report -- if it needs lower case 
later, it should ensure lower case on entry.


-- 
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