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

4.17 oc exec doesn't work through a proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.17.z
    • oc
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • oc exec, attach and port-forward commands get an error if they are used through a proxy. The reason of this failure is there was a bug in kubectl to not handle the proxy errors in these commands. This is fixed by getting the required patches into the oc.
    • Bug Fix
    • In Progress

      Description of problem:

      Running `oc exec` through a proxy doesn't work    

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

      4.17.1    

      How reproducible:

      100%

      Additional info:

      Looks to have been fixed upstream in https://github.com/kubernetes/kubernetes/pull/126253 which made it into 1.30.4 and should already be in 1.31.1 as used in 4.18.
      
      Likely just needs to bump oc to that version or later.    

            aguclu@redhat.com Arda Guclu
            rhn-support-sdodson Scott Dodson
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: