The production.log is filled with huge traceback errors after executing "satellite-maintain plugin purge-puppet" in Red Hat Satellite 6.11
Issue
-
The
satellite-maintain plugin purge-puppetcommand was successfully executed but foreman logs are completely filled with error tracebacks as mentioned below:2022-11-16T21:00:25 [I|app|] Backtrace for 'unknown class ForemanPuppet::Puppetclass, ignoring' error (NameError): uninitialized constant ForemanPuppet | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.17/lib/foreman_hooks/as_dependencies_hook.rb:4:in `load_missing_constant' | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/inflector/methods.rb:282:in `const_get' | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/inflector/methods.rb:282:in `block in constantize' | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/inflector/methods.rb:280:in `each' | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/inflector/methods.rb:280:in `inject' | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/inflector/methods.rb:280:in `constantize' | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/core_ext/string/inflections.rb:68:in `constantize' | /usr/share/foreman/app/models/filter.rb:85:in `get_resource_class' | /usr/share/foreman/app/models/filter.rb:117:in `resource_class' | /usr/share/foreman/app/models/filter.rb:124:in `granular? ... -
The size of
/var/log/foreman/production.lograpidly increases due to the repeated logging of those huge error tracebacks.
Environment
- Red Hat Satellite 6.11+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.