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

Host fails with Build status installation error when setup_insights is set to true and insights setup fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 6.17.0, stream
    • Registration
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Rocket
    • Moderate
    • None

      Description of problem:

      Host fails with Build installation error when setup_insights is set to true and insights setup fails

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Register a host to Satellite with setup_insights is set to true

      2. [root@host ~]# set -o pipefail && curl -sS --insecure 'https://satellite.example.com/register?activation_keys=test_ak_el9&location_id=2&operatingsystem_id=1&organization_id=1&update_packages=false' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJpYXQiOjE3Mjk4NTk3MDEsImp0aSI6IjEzODdiNzZlM2ZkMjQ4YjhiNmYxZjM0YjI0OWJhZWVhMTI1M2I0YTllY2ExYWI2MDA0ZjJjYzdjZjI1YzI2NzciLCJleHAiOjE3Mjk4NzQxMDEsInNjb3BlIjoicmVnaXN0cmF0aW9uI2dsb2JhbCByZWdpc3RyYXRpb24jaG9zdCJ9.o4tJs42QFWHpV50E_Imbjo7N4Yh_98QUePAuFxKZsHc' | bash
      #

      #Running registration
      #
      subscription-manager is already installed!
      The system has been registered with ID: 1edebe61-2324-435e-8c31-48ae7c34db58
      The registered system name is: host.example.com

      Running [host.example.com] host initial configuration
      /usr/sbin/restorecon
      #

      #Installing Insights client
      #
      Updating Subscription Management repositories.
      Waiting for process with pid 2718 to finish.
      Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 165 MB/s | 33 MB 00:00
      client_repo_rhel9 79 kB/s | 1.8 kB 00:00
      Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 74 MB/s | 42 MB 00:00
      Package insights-client-3.2.2-2.el9.noarch is already installed.
      Dependencies resolved.
      Nothing to do.
      Complete!
      Unable to fetch egg url https://satellite.example.com:443/redhat_access/r/insights/platform/module-update-router/v1/channel?module=insights-core: 500: Internal Server Error. Defaulting to /release
      Machine-id found, insights-client can not be registered. Please, unregister insights-client first: `insights-client --unregister`
      Host [host.example.com] initial configuration failed
      Successfully updated the system facts.

      3.[root@satellite ~]# hammer host info --id 4 --fields "Status/build status"
      Status:
          Build Status: Installation error

      Actual behavior:
      Host fails with Build installation error when setup_insights is set to true and insights setup fails

      Expected behavior:
      Build status for registered host shouldn't be impacted when setup_insights is set to true and if it fails

      Business Impact / Additional info:

       

              gtalreja@redhat.com Gaurav Talreja
              gtalreja@redhat.com Gaurav Talreja
              Gaurav Talreja
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: