Issue #6112 has been updated by Mark Phillips.
Hmm, I've just got this on PE 1.2.4 too:
<pre>
root@mgrl002:/etc/puppetlabs/puppet# facter puppetversion
2.6.9 (Puppet Enterprise 1.2.4)
root@mgrl002:/etc/puppetlabs/puppet# puppet cert --generate dashboard
notice: dashboard has a waiting certificate request
notice: Signed certificate request for dashboard
notice: Removing file Puppet::SSL::CertificateRequest dashboard at
'/var/opt/lib/pe-puppet/ssl/ca/requests/dashboard.pem'
notice: Removing file Puppet::SSL::CertificateRequest dashboard at
'/var/opt/lib/pe-puppet/ssl/certificate_requests/dashboard.pem'
err: Could not call generate: Could not find certificate request for dashboard
root@mgrl002:/etc/puppetlabs/puppet# puppet cert -l --all
+ dashboard (23:DF:3C:DA:D7:0A:5F:5C:C3:80:85:21:78:D3:F0:9F)
+ mgrl002 (5A:72:71:61:B1:3B:BA:45:83:E7:DE:4D:F7:DD:81:8B)
root@mgrl002:/etc/puppetlabs/puppet# puppet cert --print dashboard
Certificate:
Data:
[snip]
</pre>
----------------------------------------
Bug #6112: Puppet cert generate error message when it succeeds
https://projects.puppetlabs.com/issues/6112
Author: Jeff McCune
Status: Needs More Information
Priority: Normal
Assignee:
Category: logging
Target version: 2.7.x
Affected Puppet version: development
Keywords: error cert generate
Branch:
## Overview ##
Running puppet cert in 2.6.next f135a64 performs the desired certificate
generation, but displays a nasty error message int he process.
## Steps to reproduce ##
$ puppet cert --confdir ~/.puppet/conf_enc --generate foo.bar.baz
--certdnsnames foo:foo.bar.baz:puppet
notice: foo.bar.baz has a waiting certificate request
notice: Signed certificate request for foo.bar.baz
notice: Removing file Puppet::SSL::CertificateRequest foo.bar.baz at
'/Users/jeff/.puppet/var/ssl/ca/requests/foo.bar.baz.pem'
notice: Removing file Puppet::SSL::CertificateRequest foo.bar.baz at
'/Users/jeff/.puppet/var/ssl/certificate_requests/foo.bar.baz.pem'
err: Could not call generate: Could not find certificate request for
foo.bar.baz
$ echo $?
0
$ puppet cert --print foo.bar.baz
(Works as expected, certificate was generated and signed)
## Expected Behavior ##
The error shouldn't be displayed.
--
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.