Issue #13953 has been reported by 俊锋 张.
----------------------------------------
Feature #13953: Can "certname" work fine on Windows platform?
https://projects.puppetlabs.com/issues/13953
Author: 俊锋 张
Status: Unreviewed
Priority: High
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.12
Keywords: certname Windows
Branch:
Dears,
I install Puppet 2.7.12 on SUSE11 as a puppet master and Windows XP as a
puppet agent. The hostname of WIN is "Z16714400", but I want to user another
name "client60" to communicate with the master, so I set certname in
puppet.conf. It works well in the certification when I run "puppet agent"
command in the first time. But it will not success again after the
certification.The error messages is like:
debug: Finishing transaction 35622924
debug: Using cached certificate for ca
debug: Using cached certificate for client60
notice: Ignoring --listen on onetime run
debug: Finishing transaction 26587692
debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using
pson
debug: Using cached certificate for ca
debug: Using cached certificate for client60
debug: Using cached certificate_revocation_list for ca
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could
not find node 'client60'; cannot compile
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
debug: Value of 'preferred_serialization_format' (pson) is invalid for report,
using default (marshal)
debug: report supports formats: b64_zlib_yaml marshal raw yaml; using marshal
==========================================================================================
puppet.conf on Puppet Master is:
myserver:/etc/puppet # cat puppet.conf
[master]
certname = myserver
reports = store, http
reporturl = http://localhost:3000/reports/upload
node_terminus = exec
external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000
/opt/puppet-dashboard/bin/external_node
[main]
bindaddress = 0.0.0.0
#pluginsync = true
[agent]
server = myserver
report = true
listen = true
=======================================================================
site.pp on Puppet Master:
myserver:/etc/puppet # cat manifests/site.pp
node default
{
file
{
"abc":
path=>'c:\test.txt',
content=>'just a test file',
}
}
myserver:/etc/puppet #
========================================================================
puppet.conf on Puppet agent is:
[master]
#certname = myserver
#reports = store, http
#reporturl = http://localhost:3000/reports/upload
node_terminus = exec
#external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000
/opt/puppet-dashboard/bin/external_node
[main]
bindaddress = 0.0.0.0
#pluginsync = true
[agent]
server = myserver
certname = client60
#report = true
listen = true
======================================================
Puppet agent information:
主机名: Z16714400
OS 名称: Microsoft Windows XP Professional
OS 版本: 5.1.2600 Service Pack 3 Build 2600
--
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.