The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #1153

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

Added by Randy Bias over 6 years ago. Updated almost 3 years ago.

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

0%

Category:executables
Target version:-
Affected Puppet version:0.24.8 Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

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 puppetrunner.run
Triggering mdb3-nat
debug: Calling puppetrunner.run
/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

History

#1 Updated by James Turnbull over 6 years ago

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

#2 Updated by Redmine Admin about 6 years ago

  • Status changed from 1 to Accepted

#3 Updated by James Turnbull about 5 years ago

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

#4 Updated by James Turnbull almost 3 years ago

  • Target version deleted (4)

Also available in: Atom PDF