Bug #4336

puppet requires puppet group on client

Added by andrew grim almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:07/22/2010
Priority:High Due date:
Assignee:- % Done:

0%

Category:installation
Target version:2.6.1
Affected Puppet version:2.6.0 Branch:http://github.com/jes5199/puppet/tree/bug/2.6.x/4336
Keywords:
Votes: 0

Description

I use the puppet gem on my clients, and I don’t use a puppet user/group on those machines. After upgrading to 2.6 puppet no longer works and complains about needing a puppet group. I think a good solution would either be to have the puppet executable create the user (less ideal), add documentation for upgrading the gem about the need to add users (even less ideal), or just not requiring the user/group (yay!).

My hunch is that this story is related, sorry if this is just a total dup – http://projects.puppetlabs.com/issues/4284

Here’s some output:

[root@andrew102 ~]# puppetd -tv --trace --debug
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs]
debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/private_keys/andrew102.kongregate.com.pem]: Autorequiring File[/etc/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/public_keys/andrew102.kongregate.com.pem]: Autorequiring File[/etc/puppet/ssl/public_keys]
debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/certs/andrew102.kongregate.com.pem]: Autorequiring File[/etc/puppet/ssl/certs]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/parameter.rb:171:in `fail'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/type/file/group.rb:54:in `insync?'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/type/file/group.rb:50:in `each'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/type/file/group.rb:50:in `insync?'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:148:in `param_is_insync?'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:56:in `changes_to_perform'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:53:in `reject'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:53:in `changes_to_perform'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:87:in `evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:49:in `apply'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:114:in `eval_children_and_apply_resource'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:92:in `eval_resource'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:143:in `evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util.rb:414:in `thinmark'
/usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util.rb:413:in `thinmark'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:142:in `evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:135:in `each'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:135:in `evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/resource/catalog.rb:144:in `apply'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:632:in `use'
/usr/local/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:615:in `use'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application/agent.rb:220:in `setup'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in `run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:398:in `exit_on_fail'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in `run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/bin/puppetd:4
/usr/local/bin/puppetd:19:in `load'
/usr/local/bin/puppetd:19
err: /File[/var/lib/puppet/reports]: Could not evaluate: Could not find group puppet
debug: Finishing transaction 23763987549540
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:636:in `use'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/resource/catalog.rb:157:in `apply'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:632:in `use'
/usr/local/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:615:in `use'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application/agent.rb:220:in `setup'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in `run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:398:in `exit_on_fail'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in `run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/bin/puppetd:4
/usr/local/bin/puppetd:19:in `load'
/usr/local/bin/puppetd:19
Could not prepare for execution: Got 1 failure(s) while initializing: Could not evaluate: Could not find group puppet

Related issues

related to Puppet - Bug #4501: puppet 2.6 standalone does not create YAML logfiles anymore Closed 08/09/2010
related to Puppet - Bug #4867: Puppet raises error when trying to set owner to non-exist... Investigating 09/28/2010

History

Updated by James Turnbull almost 2 years ago

  • Category set to installation
  • Status changed from Unreviewed to Accepted
  • Target version set to 2.6.1

Updated by Jesse Wolfe almost 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to http://github.com/jes5199/puppet/tree/bug/2.6.x/4336

Updated by Markus Roberts almost 2 years ago

commit:e32320ee2c65275e3c695c555f506a499209efa1 [#4336] “reportdir” was in the wrong section

Updated by Markus Roberts almost 2 years ago

  • Status changed from In Topic Branch Pending Review to Closed

Also available in: Atom PDF