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

Cannot extract names from response with content-type: [] (accept no content-type on 204 Swift repsonses)

    XMLWordPrintable

Details

    • +
    • Low
    • ShiftStack Sprint 230, ShiftStack Sprint 231, ShiftStack Sprint 232, ShiftStack Sprint 233
    • 4
    • Rejected
    • False
    • Hide
      Some object storage instances respond with "204 No Content" when there is no content to display. Gophercloud, the OpenStack SDK we use in OpenShift, does not handle 204s correctly. With this change, the Installer works around the issue when there are zero items to list.
      Show
      Some object storage instances respond with "204 No Content" when there is no content to display. Gophercloud, the OpenStack SDK we use in OpenShift, does not handle 204s correctly. With this change, the Installer works around the issue when there are zero items to list.
    • Bug Fix

    Description

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

      We're still seeing errors with swift in the 4.8 branch:

      level=error msg=Cannot extract names from response with content-type: []
      

      See for instance this job: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_cloud-provider-openstack/169/pull-ci-openshift-cloud-provider-openstack-release-4.8-e2e-openstack/1616019853557108736

      Attachments

        Issue Links

          Activity

            People

              pprinett@redhat.com Pierre Prinetti
              openshift-crt-jira-prow OpenShift Prow Bot
              Jon Uriarte Jon Uriarte
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: