Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-26818

Clean up 'warning' messages from 'foreman-maintain service status'

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • 6.15.z
    • Satellite Maintain
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      Problem Statement
      'foreman-maintain service status' will generate below warnings when the satellite has no issues:
      ~~~
      Jul 26 14:06:04 satellite.redhat.com dynflow-sidekiq@orchestrator[470963]: /usr/share/gems/gems/foreman_discovery-23.0.1/lib/foreman_discovery/engine.rb:302: warning: already initialized constant ForemanDiscovery::Engine::MANAGER
      Jul 26 14:06:04 satellite.redhat.com dynflow-sidekiq@orchestrator[470963]: /usr/share/gems/gems/foreman_discovery-23.0.1/lib/foreman_discovery/engine.rb:271: warning: previous definition of MANAGER was here
      Jul 26 14:06:09 satellite.redhat.com dynflow-sidekiq@orchestrator[470963]: /usr/share/gems/gems/foreman_theme_satellite-13.2.3/app/models/concerns/distributor_version.rb:5: warning: already initialized constant Katello::Glue::Provider::DISTRIBUTOR_VERSION
      Jul 26 14:06:09satellite.redhat.com dynflow-sidekiq@orchestrator[470963]: /usr/share/gems/gems/katello-4.11.0.12/app/models/katello/glue/provider.rb:3: warning: previous definition of DISTRIBUTOR_VERSION was here
      ~~~

      User Experience & Workflow
      nuisance

      Requirements
      'foreman-maintain service status' will not throw 'warning' messages if it is not an issue

      Business Impact

      N/A

              Unassigned Unassigned
              rhn-support-tharring Takae Harrington
              Takae Harrington
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: