Puppet: System Administration Automated

Support

Ticket #1153 (new defect)

Opened 10 months ago

Last modified 9 months ago

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

Reported by: randybias Assigned to: community
Priority: low Milestone: unplanned
Component: executables Version: 0.23.2
Severity: normal Keywords: puppetrun
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Easy

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

Change History

03/23/08 05:47:54 changed by jamtur01

  • stage changed from Unreviewed to Needs more info.

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

04/08/08 18:08:46 changed by luke

  • priority changed from normal to low.
  • complexity changed from Unknown to Easy.
  • stage changed from Needs more info to Accepted.
  • milestone set to unplanned.

04/24/08 07:23:37 changed by luke

  • component changed from client to executables.