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

CIRO unable to detect swift when it speaks HTTP2

XMLWordPrintable

    • -
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem: As discovered in https://issues.redhat.com/browse/OCPBUGS-2795, gophercloud fails to list swift containers when the endpoint speaks HTTP2. This means that CIRO will provision a 100GB cinder volume even though swift is available to the tenant.

      We're for example seeing this behavior in our CI on vexxhost.

      The gophercloud commit that fixed this issue is https://github.com/gophercloud/gophercloud/commit/b7d5b2cdd7ffc13e79d924f61571b0e5f74ec91c, specifically the `|| ct == ""` part on line 75 of openstack/objectstorage/v1/containers/results.go. This commit made it in gophercloud v0.18.0.

      CIRO still depends on gophercloud v0.17.0. We should bump gophercloud to fix the bug.

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

      All versions. Fix should go to 4.8 - 4.12.
      

      How reproducible:

      Always, when swift speaks HTTP2.
      

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      
      

      Expected results:

      
      

      Additional info:

      
      

            maandre@redhat.com Martin André
            maandre@redhat.com Martin André
            xiujuan wang xiujuan wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: