Issue #2997 has been updated by Mark Plaksin.

With that patch against 0.25.x (commit 
7e2e12be7827c2adb64a192b5b7176c7c541af44) I get this backtrace when it tries to 
check that the package is installed:

/home/happy/puppet.git/lib/puppet/provider/package/hpux.rb:24:in `install'
/home/happy/puppet.git/lib/puppet/type/package.rb:52:in `set_present'
/home/happy/puppet.git/lib/puppet/property.rb:109:in `send'
/home/happy/puppet.git/lib/puppet/property.rb:109:in `call_valuemethod'
/home/happy/puppet.git/lib/puppet/property.rb:298:in `set'
/home/happy/puppet.git/lib/puppet/property.rb:363:in `sync'
/home/happy/puppet.git/lib/puppet/transaction/change.rb:54:in `go'
/home/happy/puppet.git/lib/puppet/transaction/change.rb:72:in `forward'
/home/happy/puppet.git/lib/puppet/transaction.rb:120:in `apply_changes'
/home/happy/puppet.git/lib/puppet/transaction.rb:113:in `collect'
/home/happy/puppet.git/lib/puppet/transaction.rb:113:in `apply_changes'
/home/happy/puppet.git/lib/puppet/transaction.rb:85:in `apply'
/home/happy/puppet.git/lib/puppet/transaction.rb:251:in 
`eval_children_and_apply_resource'
/home/happy/puppet.git/lib/puppet/util.rb:395:in `thinmark'
/opt/TWWfsw/ruby18/lib/ruby/benchmark.rb:308:in `realtime'
/home/happy/puppet.git/lib/puppet/util.rb:394:in `thinmark'
/home/happy/puppet.git/lib/puppet/transaction.rb:250:in 
`eval_children_and_apply_resource'
/home/happy/puppet.git/lib/puppet/transaction.rb:207:in `eval_resource'
/home/happy/puppet.git/lib/puppet/transaction.rb:296:in `evaluate'
/home/happy/puppet.git/lib/puppet/util.rb:395:in `thinmark'
/opt/TWWfsw/ruby18/lib/ruby/benchmark.rb:308:in `realtime'
/home/happy/puppet.git/lib/puppet/util.rb:394:in `thinmark'
/home/happy/puppet.git/lib/puppet/transaction.rb:295:in `evaluate'
/home/happy/puppet.git/lib/puppet/transaction.rb:289:in `collect'
/home/happy/puppet.git/lib/puppet/transaction.rb:289:in `evaluate'
/home/happy/puppet.git/lib/puppet/resource/catalog.rb:142:in `apply'
/home/happy/puppet.git/lib/puppet/configurer.rb:153:in `run'
/home/happy/puppet.git/lib/puppet/util.rb:178:in `benchmark'
/opt/TWWfsw/ruby18/lib/ruby/benchmark.rb:308:in `realtime'
/home/happy/puppet.git/lib/puppet/util.rb:177:in `benchmark'
/home/happy/puppet.git/lib/puppet/configurer.rb:152:in `run'
/home/happy/puppet.git/lib/puppet/agent.rb:53:in `run'
/home/happy/puppet.git/lib/puppet/agent/locker.rb:21:in `lock'
/home/happy/puppet.git/lib/puppet/agent.rb:53:in `run'
/opt/TWWfsw/ruby18/lib/ruby/sync.rb:230:in `synchronize'
/home/happy/puppet.git/lib/puppet/agent.rb:53:in `run'
/home/happy/puppet.git/lib/puppet/agent.rb:130:in `with_client'
/home/happy/puppet.git/lib/puppet/agent.rb:51:in `run'
/home/happy/puppet.git/lib/puppet/application/puppetd.rb:103:in `onetime'
/home/happy/puppet.git/lib/puppet/application.rb:226:in `send'
/home/happy/puppet.git/lib/puppet/application.rb:226:in `run_command'
/home/happy/puppet.git/lib/puppet/application.rb:217:in `run'
/home/happy/puppet.git/lib/puppet/application.rb:306:in `exit_on_fail'
/home/happy/puppet.git/lib/puppet/application.rb:217:in `run'
sbin/puppetd:159
/home/happy/puppet.git/lib/puppet/provider/package/hpux.rb:24:in `install'
/home/happy/puppet.git/lib/puppet/type/package.rb:52:in `set_present'
/home/happy/puppet.git/lib/puppet/property.rb:109:in `send'
/home/happy/puppet.git/lib/puppet/property.rb:109:in `call_valuemethod'
/home/happy/puppet.git/lib/puppet/property.rb:298:in `set'
/home/happy/puppet.git/lib/puppet/property.rb:363:in `sync'
/home/happy/puppet.git/lib/puppet/transaction/change.rb:54:in `go'
/home/happy/puppet.git/lib/puppet/transaction/change.rb:72:in `forward'
/home/happy/puppet.git/lib/puppet/transaction.rb:120:in `apply_changes'
/home/happy/puppet.git/lib/puppet/transaction.rb:113:in `collect'
/home/happy/puppet.git/lib/puppet/transaction.rb:113:in `apply_changes'
/home/happy/puppet.git/lib/puppet/transaction.rb:85:in `apply'
/home/happy/puppet.git/lib/puppet/transaction.rb:251:in 
`eval_children_and_apply_resource'
/home/happy/puppet.git/lib/puppet/util.rb:395:in `thinmark'
/opt/TWWfsw/ruby18/lib/ruby/benchmark.rb:308:in `realtime'
/home/happy/puppet.git/lib/puppet/util.rb:394:in `thinmark'
/home/happy/puppet.git/lib/puppet/transaction.rb:250:in 
`eval_children_and_apply_resource'
/home/happy/puppet.git/lib/puppet/transaction.rb:207:in `eval_resource'
/home/happy/puppet.git/lib/puppet/transaction.rb:296:in `evaluate'
/home/happy/puppet.git/lib/puppet/util.rb:395:in `thinmark'
/opt/TWWfsw/ruby18/lib/ruby/benchmark.rb:308:in `realtime'
/home/happy/puppet.git/lib/puppet/util.rb:394:in `thinmark'
/home/happy/puppet.git/lib/puppet/transaction.rb:295:in `evaluate'
/home/happy/puppet.git/lib/puppet/transaction.rb:289:in `collect'
/home/happy/puppet.git/lib/puppet/transaction.rb:289:in `evaluate'
/home/happy/puppet.git/lib/puppet/resource/catalog.rb:142:in `apply'
/home/happy/puppet.git/lib/puppet/configurer.rb:153:in `run'
/home/happy/puppet.git/lib/puppet/util.rb:178:in `benchmark'
/opt/TWWfsw/ruby18/lib/ruby/benchmark.rb:308:in `realtime'
/home/happy/puppet.git/lib/puppet/util.rb:177:in `benchmark'
/home/happy/puppet.git/lib/puppet/configurer.rb:152:in `run'
/home/happy/puppet.git/lib/puppet/agent.rb:53:in `run'
/home/happy/puppet.git/lib/puppet/agent/locker.rb:21:in `lock'
/home/happy/puppet.git/lib/puppet/agent.rb:53:in `run'
/opt/TWWfsw/ruby18/lib/ruby/sync.rb:230:in `synchronize'
/home/happy/puppet.git/lib/puppet/agent.rb:53:in `run'
/home/happy/puppet.git/lib/puppet/agent.rb:130:in `with_client'
/home/happy/puppet.git/lib/puppet/agent.rb:51:in `run'
/home/happy/puppet.git/lib/puppet/application/puppetd.rb:103:in `onetime'
/home/happy/puppet.git/lib/puppet/application.rb:226:in `send'
/home/happy/puppet.git/lib/puppet/application.rb:226:in `run_command'
/home/happy/puppet.git/lib/puppet/application.rb:217:in `run'
/home/happy/puppet.git/lib/puppet/application.rb:306:in `exit_on_fail'
/home/happy/puppet.git/lib/puppet/application.rb:217:in `run'
sbin/puppetd:159
err: //tww/Package[TWWpkgutils15]/ensure: change from absent to present failed: 
Could not set present on ensure: source must be provided to install HP-UX 
packages at /usr/src/git/bor/puppet/modules/tww/manifests/init.pp:20

----------------------------------------
Bug #2997: Puppet hangs on executable under HP-UX
http://projects.reductivelabs.com/issues/2997

Author: Markus Roberts
Status: Closed
Priority: Normal
Assigned to: Markus Roberts
Category: HP-UX
Target version: 0.25.2
Affected version: 0.25.2rc2
Keywords: 
Branch: 


On HP-UX (both versions) puppetd waits a *long* time for this command to 
complete:
/usr/sbin/swlist TWWpkgut15.TWWpkgut15-RUN

I'm not sure whether it ever exits. I've waited 20 minutes so far. When I
run that command as root on the command-line it takes less than a second.
That command is checking to see whether a package is installed. We don't
see the hang with Puppet version 0.24.7. 


-- 
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://reductivelabs.com/redmine/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.


Reply via email to