Rob Fay
2008-Apr-02 12:41 UTC
[Puppet Users] puppet client 0.24.4 - ''Could not find user puppet''
Hi all,
Upgrading puppet from 0.23.2 to 0.24.4, I get this error with the client:
err: /Settings[top]/Settings[main]/File[/var/puppet/run]: Failed to retrieve
current state of resource: Could not find user puppet
The only similar things I''ve found mentioned are bugs #990
(doesn''t apply here -
there''s no individual config files involved) and #1062 (which I think
has been fixed,
and I don''t think it''s the same problem anyway -
there''s no mention of yaml here).
I''m probably missing something obvious - any suggestions as to what
I should be
looking for?
O/S is Scientific Linux 3.0.4, Ruby version is 1.8.6. Just let me know if
more
information is required. Output with --trace is below:
# puppetd --test --trace
/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/owner.rb:90:in
`retrieve''
/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/owner.rb:85:in
`collect''
/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file/owner.rb:85:in
`retrieve''
/usr/local/lib/ruby/site_ruby/1.8/puppet/metatype/evaluation.rb:108:in
`currentpropvalues''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util/autoload.rb:77:in
`inject''
/usr/local/lib/ruby/site_ruby/1.8/puppet/metatype/evaluation.rb:106:in
`each''
/usr/local/lib/ruby/site_ruby/1.8/puppet/metatype/evaluation.rb:106:in
`inject''
/usr/local/lib/ruby/site_ruby/1.8/puppet/metatype/evaluation.rb:106:in
`currentpropvalues''
/usr/local/lib/ruby/site_ruby/1.8/puppet/type/file.rb:823:in `retrieve''
/usr/local/lib/ruby/site_ruby/1.8/puppet/metatype/evaluation.rb:28:in
`evaluate''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:58:in `apply''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:238:in
`eval_resource''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
/usr/local/lib/ruby/1.8/benchmark.rb:307:in `realtime''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:237:in
`eval_resource''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:309:in
`evaluate''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
/usr/local/lib/ruby/1.8/benchmark.rb:307:in `realtime''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:308:in
`evaluate''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:302:in
`collect''
/usr/local/lib/ruby/site_ruby/1.8/puppet/transaction.rb:302:in
`evaluate''
/usr/local/lib/ruby/site_ruby/1.8/puppet/node/catalog.rb:118:in `apply''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:675:in `use''
/usr/local/lib/ruby/1.8/sync.rb:229:in `synchronize''
/usr/local/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:655:in `use''
/usr/local/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:206:in
`initialize''
/usr/local/bin/puppetd:322:in `new''
/usr/local/bin/puppetd:322
err: /Settings[top]/Settings[main]/File[/var/puppet/run]: Failed to retrieve
current state of resource: Could not find user puppet
/usr/local/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:677:in `use'':
Could not configure for running; got 1 failure(s) (RuntimeError)
from /usr/local/lib/ruby/site_ruby/1.8/puppet/node/catalog.rb:130:in
`apply''
from /usr/local/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:675:in
`use''
from /usr/local/lib/ruby/1.8/sync.rb:229:in `synchronize''
from /usr/local/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:655:in
`use''
from
/usr/local/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:206:in
`initialize''
from /usr/local/bin/puppetd:322:in `new''
from /usr/local/bin/puppetd:322
Thanks for any help,
--
Robert Fay fay@hep.ph.liv.ac.uk
System Administrator office: 210
High Energy Physics Division tel (int): 43396
Oliver Lodge Laboratory tel (ext): +44 (0)151 794 3396
University of Liverpool http://hep.ph.liv.ac.uk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Luke Kanies
2008-Apr-02 14:39 UTC
[Puppet Users] Re: puppet client 0.24.4 - ''Could not find user puppet''
On Apr 2, 2008, at 7:41 AM, Rob Fay wrote:> Hi all, > > Upgrading puppet from 0.23.2 to 0.24.4, I get this error with the > client: > err: /Settings[top]/Settings[main]/File[/var/puppet/run]: Failed to > retrieve current state of resource: Could not find user puppet > > The only similar things I''ve found mentioned are bugs #990 > (doesn''t apply here - > there''s no individual config files involved) and #1062 (which I > think has been fixed, > and I don''t think it''s the same problem anyway - there''s no mention > of yaml here). > > I''m probably missing something obvious - any suggestions as to > what I should be > looking for?This is apparently my fault; when I switched the rundir back to being set to 1777, so puppetmasterd could use it, I also switched it to being owned by puppet/puppet. This is a bug, sorry. It''s easy to work around: Just create the puppet user and group on your client. I know, annoying. -- It''s very hard to predict things . . . Especially the future. -- Prof. Charles Kelemen, Swarthmore CS Dept. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---