Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-41600

[release-4.12] Console plugin requests show error message with 304 status and "request method or response status code does not allow body"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.15
    • Management Console
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the proxy service for the web console plugin handled non-200 response codes as error responses. In turn caused browser caching issues. With this release, the proxy service is fixed so that it does not handle these responses as errors. (link:https://issues.redhat.com/browse/OCPBUGS-41600[*OCPBUGS-41600*])
      Show
      * Previously, the proxy service for the web console plugin handled non-200 response codes as error responses. In turn caused browser caching issues. With this release, the proxy service is fixed so that it does not handle these responses as errors. (link: https://issues.redhat.com/browse/OCPBUGS-41600 [* OCPBUGS-41600 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-25427. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-24667. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-19875. The following is the description of the original issue:

      This issue has been updated to capture a larger ongoing issue around console 304 status responses for plugins. This has been observed for ODF, ACM, MCE, monitoring, and other plugins going back to 4.12. Related links:

      Original report from this bug:

      Description of problem:

      find error logs under console pod logs

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

      % oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.15.0-0.nightly-2023-09-27-073353   True        False         37m     Cluster version is 4.15.0-0.nightly-2023-09-27-073353

      How reproducible:

      100% on ipv6 clusters

      Steps to Reproduce:

      1.% oc -n openshift-console logs console-6fbf69cc49-7jq5b
      ...
      E0928 00:35:24.098808       1 handlers.go:172] GET request for "monitoring-plugin" plugin failed with 304 status code
      E0928 00:35:24.098822       1 utils.go:43] Failed sending HTTP response body: http: request method or response status code does not allow body
      E0928 00:35:39.611569       1 handlers.go:172] GET request for "monitoring-plugin" plugin failed with 304 status code
      E0928 00:35:39.611583       1 utils.go:43] Failed sending HTTP response body: http: request method or response status code does not allow body
      E0928 00:35:54.442150       1 handlers.go:172] GET request for "monitoring-plugin" plugin failed with 304 status code
      E0928 00:35:54.442167       1 utils.go:43] Failed sending HTTP response body: http: request method or response status code does not allow body

      Actual results:

      GET request for "monitoring-plugin" plugin failed with 304 status code

      Expected results:

      no monitoring-plugin related error logs

              jhadvig@redhat.com Jakub Hadvig
              openshift-crt-jira-prow OpenShift Prow Bot
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: