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

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

    XMLWordPrintable

Details

    • +
    • Low
    • ShiftStack Sprint 230
    • 1
    • 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

      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
              maandre@redhat.com Martin André
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: