Issue #13953 has been updated by Daniel Pittman. Status changed from Unreviewed to Closed
When you use an ENC, it needs to supply data in response to all node requests. Everything else seems to be in order, so I expect that you don't have the node "client60" defined in Dashboard. (Puppet is obviously making the request with the correct node identifier, since that error report uses the certname we were looking up.) ---------------------------------------- Feature #13953: Can "certname" work fine on Windows platform? https://projects.puppetlabs.com/issues/13953#change-61087 Author: 俊锋 张 Status: Closed Priority: High Assignee: Category: Target version: Affected Puppet version: 2.7.12 Keywords: certname Windows Branch: 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: <pre> 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 </pre> --------------- puppet.conf on Puppet Master is: <pre> 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 </pre> --------------- site.pp on Puppet Master: <pre> myserver:/etc/puppet # cat manifests/site.pp node default { file { "abc": path=>'c:\test.txt', content=>'just a test file', } } myserver:/etc/puppet # </pre> ------------------ puppet.conf on Puppet agent is: <pre> [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 </pre> Puppet agent information: <pre> 主机名: Z16714400 OS 名称: Microsoft Windows XP Professional OS 版本: 5.1.2600 Service Pack 3 Build 2600 </pre> -- 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.
