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

Error 500 returned when token expired while provisioning a Content Host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 6.6.0
    • Provisioning
    • Moderate

      Description of problem:
      ----------------------

      When a Content View fails to provision, it throws "500 Internal Server Error" message. However, the customer feels that the error code that should be thrown when the token expires is 4.1

      Version-Release number of selected component (if applicable):
      ------------------------------------------------------------

      Red Hat Satellite 6.6

      Steps to Reproduce:
      ------------------

      Following are the steps shared by the customer to reproduce the issue -

      1. Create a host.

      2. Trigger the build.

      3. Let token expire.

      4. Boot the node.

      5. Check error message. It will be 500.

      Actual results:
      --------------

      The screenshot (error500.png) shows - "500 Internal Server Error" message.

      Expected results:
      ----------------

      The customer thinks that it should be error message with the error code of 401 (Comment-9 and Case Description).

      Additional info:
      ---------------

      I had informed him that the error code 401 is for "incorrect user authentication" and error code 500 is for "Internal Server Error", and had shared the following link with him (Comment-4) -

      https://access.redhat.com/documentation/en-us/red_hat_satellite/6.6/html-single/api_guide/index#appe-Response_Codes

      Also attaching the screenshots provided by the customer to the ticket.

            sat-lstejska Leos Stejskal (Inactive)
            satellite-jira-automation@redhat.com Satellite Jira-Automation
            Shweta Singh Shweta Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: