Issue #10289 has been updated by Nick Lewis.
There is no simple code change I can see to fix this. Any fix requires an architectural change either to Puppet (decouple these saves from one another) or to the broader system around it (stick a queue on it). Given that we already intend to make the former change in the future, I'm reluctant to accept the latter. I'm concerned about the complexity it introduces moving forward. ---------------------------------------- Bug #10289: Catalog compile fails when master can't write to fact_terminus https://projects.puppetlabs.com/issues/10289 Author: James Turnbull Status: Needs Decision Priority: High Assignee: Nick Lewis Category: plumbing Target version: Affected Puppet version: 2.6.9 Keywords: Branch: Workflow us: 1. Client connects 1. Client sends facts 1. Master tries to send facts to fact_terminus = rest 1. Terminus endpoint is unavailable and returns connection refused. 1. Master generates failure and halts catalog compile 1. Client fails. The master log shows: <pre> Oct 26 10:26:26 master-hostname puppet-master[13843]: Starting Puppet master version 2.6.9 (Puppet Enterprise 1.2.1) Oct 26 10:26:37 master-hostname puppet-master[13843]: Connection refused - connect(2) </pre> The client shows: <pre> Starting Puppet client version 2.6.9 (Puppet Enterprise 1.2.1) Oct 26 10:26:37 dashboard-hostname puppet-agent[27689]: [ID 702911 daemon.error] Could not retrieve catalog from remote server: Error 400 on SERVER: Connection refused - connect(2) Oct 26 10:26:38 dashboard-hostname puppet-agent[27689]: [ID 702911 daemon.notice] Using cached catalog Oct 26 10:28:05 dashboard-hostname puppet-agent[27689]: [ID 702911 daemon.notice] Finished catalog run in 81.45 seconds Oct 26 10:28:08 dashboard-hostname puppet-agent[27689]: [ID 702911 daemon.error] Could not send report: Connection refused - connect(2) </pre> The [master] config for our Puppet Master is: <pre> [master] certname = master-fqdn ca = false dns_alt_names = master-fqdn,master-alias,master-alias-fqdn node_terminus = ldap ldapserver = ldap-fqdn ldapuser = ldap-user ldappassword = ldap-password ldapbase = ldap-base ldapssl = true ldapport = 636 ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY facts_terminus = rest inventory_port = 8140 inventory_server = dashboard-alias </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.
