Issue #3025 has been updated by John Axel Eriksson.

Strace from running puppetd --test attached. Here it tries to install package 
sqlite3 through apt and then hangs.

Since I'm running ruby 1.8.7 I dont think I should be affected by #3013 but I'm 
no expert...
----------------------------------------
Bug #3025: apt and aptitude providers dont work on Debian Lenny / puppet 0.25.2 
from gems
http://projects.reductivelabs.com/issues/3025

Author: John Axel Eriksson
Status: Needs more information
Priority: High
Assigned to: Markus Roberts
Category: Debian
Target version: 0.25.3
Affected version: 0.25.2
Keywords: Debian package provider apt aptitude install dpkg
Branch: 


This is such a serious problem and a weird one that I've been unsure if its 
something to do with the system install - but
it seems not.

When installing puppet 0.25.2 from gems and setting it up, everything seems to 
work properly like installing other gems through
puppet, creating files etc so it really seems to work as it should.
However, when installing packages through the apt or aptitude provider it hangs 
on install. I set up a testing environment and tried
first package nginx - it hangs. Then I tried package sqlite3 and it hangs - 
both the apt AND aptitude providers. What happens when
I do a puppetd --debug --trace --verbose --test is that it gets to:
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o 
DPkg::Options::=--force-confold install sqlite3'

then NOTHING happens, it just sits there until it times out. Every time. Same 
with aptitude provider - but gems provider doesnt have
any problems.

This is on puppet 0.25.2 from ruby gems. If I go back to 0.25.1 from apt 
repositories there is no problem.

Of course I've tried running the specific commands like '/usr/bin/apt-get -q -y 
-o DPkg::Options::=--force-confold install sqlite3'
straight from the commandline and it installs properly without problems.

What I've noticed also is that it seems that the software gets at least 
partially installed (nginx) and completely installed (sqlite3) but its
as if puppet never gets a return value and seems to think the command is still 
running.

When running top I've seen, after a while, this:

 8890 root      20   0 61212  44m  20m S    0 17.5   0:01.24 apt-get            
                                                                 
 8898 root      20   0     0    0    0 Z    0  0.0   0:05.12 dpkg <defunct>

So it would seem that puppet 0.25.2 has some serious problems on Debian Lenny 
if I'm not mistaken. By the way, the server is also running 0.25.2
from gems.

Attaching the log output if thats interesting (removed domain names).


-- 
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