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

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

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      The console plugin proxy service was treating any response code other than a 200 as an error. This caused 304 responses to be treated as errors and caused browser caching issues. This console plugin proxy no longer treats 304 responses as errors and cached responses no longer flood the console logs with errors.
      Show
      The console plugin proxy service was treating any response code other than a 200 as an error. This caused 304 responses to be treated as errors and caused browser caching issues. This console plugin proxy no longer treats 304 responses as errors and cached responses no longer flood the console logs with errors.
    • Bug Fix
    • In Progress

      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

              rh-ee-jonjacks Jon Jackson
              openshift-crt-jira-prow OpenShift Prow Bot
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: