Puppet: System Administration Automated

Support

Ticket #831 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

intermittent "Could not find X with names..."

Reported by: porridge Assigned to: community
Priority: normal Milestone:
Component: library Version: 0.23.2
Severity: normal Keywords: node name find config
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

Recently we noticed we are getting the errors like this somewhat too often:

Sep 21 14:53:07 solgen02 puppetd[23258]: [ID 702911 daemon.error] Could not retrieve configuration: Could not find solgen02.gudev.gnl with names solgen02.gudev.gnl, solgen02

Our setup is: puppetds getting config from a mongrel puppetmasterd server, which gets them from its local SVN checkout, which in turn is updated every 15 minutes or so by its local puppetd.

I had a look at the nodesearch() method in puppet/parser/interpreter.rb and it looks like some kind of a race condition between clients retrieving their config and the puppet master recompiling the config?

Change History

10/04/07 21:28:01 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

You are exactly right, that is the race condition. This bug is already fixed in the source.

The only reasonable workaround in the current release is to use an external node source.

10/08/07 13:18:23 changed by vitaliel

Can you explain how was it fixed? You can add a link to changeset to help other people to fix it, for example debian package from upstream has this bug.