Issue #19165 has been reported by Steve Foster.
----------------------------------------
Bug #19165: puppet agent: Error: Could not create resources for managing
Puppet's files and directories in sections [:main, :agent, :ssl]: undefined
method `exists?' for #<Puppet::Type::Group:0x7f54222f3208>
https://projects.puppetlabs.com/issues/19165
Author: Steve Foster
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 3.1.0
Keywords:
Branch:
Previously working system now fails to run puppet agent with the following
error:
[root@ 1.8]# puppet agent -t
Error: Could not create resources for managing Puppet's files and
directories in sections [:main, :agent, :ssl]: undefined method `exists?' for
#<Puppet::Type::Group:0x7f82af1e00d0>
Error: Could not prepare for execution: Could not create resources for
managing Puppet's files and directories in sections [:main, :agent, :ssl]:
undefined method `exists?' for #<Puppet::Type::Group:0x7f82af1e00d0>
undefined method `exists?' for #<Puppet::Type::Group:0x7f82af1e00d0>
Running with --trace shows the following:
[root@isssun10 ~]#puppet agent -t --trace
Error: Could not create resources for managing Puppet's files and
directories in sections [:main, :agent, :ssl]: undefined method `exists?' for
#<Puppet::Type::Group:0x7f54222f3208>
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:725:in
`service_group_available?'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:54:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:54:in
`safe_to_use_settings_value?'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:45:in `value'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:102:in `group'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:157:in
`to_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:847:in `to_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:844:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:844:in `to_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:906:in `use'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:900:in `use'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:450:in `setup'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:362:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:456:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:362:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:504:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:362:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:132:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:86:in `execute'
/usr/bin/puppet:4
Error: Could not prepare for execution: Could not create resources for
managing Puppet's files and directories in sections [:main, :agent, :ssl]:
undefined method `exists?' for #<Puppet::Type::Group:0x7f54222f3208>
undefined method `exists?' for #<Puppet::Type::Group:0x7f54222f3208>
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:725:in
`service_group_available?'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:54:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:54:in
`safe_to_use_settings_value?'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:45:in `value'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:102:in `group'
/usr/lib/ruby/site_ruby/1.8/puppet/settings/file_setting.rb:157:in
`to_resource'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:847:in `to_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:844:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:844:in `to_catalog'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:906:in `use'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:900:in `use'
/usr/lib/ruby/site_ruby/1.8/puppet/application/agent.rb:450:in `setup'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:362:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:456:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:362:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:504:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:362:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:132:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:86:in `execute'
/usr/bin/puppet:4
I have also re-installed puppet, facter and hiera. this hasn't resolved the
issue
--
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://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.