Description of problem: Customer reported this during Satellite 6.5 HTB program, user experience is impacted as we see same kind of warning messages from each rake script. It makes it more difficult to search in the logs when rake script is executed over cron. Version-Release number of selected component (if applicable): Satellite 6.5 HTB rpm -qa | grep ^satellite satellite-common-6.5.0-6.beta.el7sat.noarch satellite-installer-6.5.0.3-1.beta.el7sat.noarch satellite-cli-6.5.0-6.beta.el7sat.noarch satellite-6.5.0-6.beta.el7sat.noarch How reproducible: 100% Steps to Reproduce: Run foreman-rake console or any rake script we ship with satellite. Actual results: # foreman-rake console /usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP /usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/content_facet_host_extensions.rb:7: warning: already initialized constant Katello::Concerns::ContentFacetHostExtensions::ERRATA_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/content_facet_host_extensions.rb:7: warning: previous definition of ERRATA_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/content_facet_host_extensions.rb:14: warning: already initialized constant Katello::Concerns::ContentFacetHostExtensions::TRACE_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/content_facet_host_extensions.rb:14: warning: previous definition of TRACE_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:13: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::SUBSCRIPTION_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:13: warning: previous definition of SUBSCRIPTION_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:21: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::SLA_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:21: warning: previous definition of SLA_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:26: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::USAGE_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:26: warning: previous definition of USAGE_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:31: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::ROLE_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:31: warning: previous definition of ROLE_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:36: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::ADDONS_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:36: warning: previous definition of ADDONS_STATUS_MAP was here /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:41: warning: already initialized constant Katello::Concerns::SubscriptionFacetHostExtensions::PURPOSE_STATUS_MAP /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.20/app/models/katello/concerns/subscription_facet_host_extensions.rb:41: warning: previous definition of PURPOSE_STATUS_MAP was here Loading production environment (Rails 5.2.1) Failed to load console gems, starting anyway irb(main):001:0>
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24605 has been resolved.
This should be linked to upstream issue https://projects.theforeman.org/issues/26194 , 24605 is for a different warning message.
This is dup of https://bugzilla.redhat.com/show_bug.cgi?id=1674496, closing this one. *** This bug has been marked as a duplicate of bug 1674496 ***