The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #1153

puppetrun fails exit code 3 if running in foreground for a sufficiently long period of time

Added by Randy Bias about 8 years ago. Updated over 4 years ago.

Status:AcceptedStart date:
Priority:LowDue date:
Assignee:-% Done:


Target version:-
Affected Puppet version:0.24.8 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


Use case:

puppetmasterd on nodeA, puppetd on nodeB

run puppetrun with —foreground for tag that applies a config in 10 seconds using exact same setup, for a tag that applies a config in 100 seconds you get an error

puppetrun --debug --foreground --host mdb3-nat
Failed to load ruby LDAP library. LDAP functionality will not be available
debug: Parsing /etc/puppet/puppet.conf
debug: Puppet::Network::Client::Runner: defining
Triggering mdb3-nat
debug: Calling
/usr/lib/ruby/1.8/timeout.rb:54:in @rbuf_fill': execution expired (Timeout::Error)
    from /usr/lib/ruby/1.8/timeout.rb:56:in @timeout'
    from /usr/lib/ruby/1.8/timeout.rb:76:in @timeout'
    from /usr/lib/ruby/1.8/net/protocol.rb:132:in @rbuf_fill'
    from /usr/lib/ruby/1.8/net/protocol.rb:116:in @readuntil'
    from /usr/lib/ruby/1.8/net/protocol.rb:126:in @readline'
    from /usr/lib/ruby/1.8/net/http.rb:2017:in @read_status_line'
    from /usr/lib/ruby/1.8/net/http.rb:2006:in @read_new'
    from /usr/lib/ruby/1.8/net/http.rb:1047:in @request'
     ... 9 levels...
    from /usr/lib/ruby/site_ruby/1.8/puppet/network/client/proxy.rb:15:in @run'
    from /usr/bin/puppetrun:354
    from /usr/bin/puppetrun:339:in @fork'
    from /usr/bin/puppetrun:339


#1 Updated by James Turnbull about 8 years ago

Can you please run this with —trace and post the results please – thanks.

#2 Updated by Redmine Admin almost 8 years ago

  • Status changed from 1 to Accepted

#3 Updated by James Turnbull almost 7 years ago

  • Assignee deleted (Puppet Community)
  • Affected Puppet version set to 0.24.8

#4 Updated by James Turnbull over 4 years ago

  • Target version deleted (4)

Also available in: Atom PDF