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

Hypershift: error: unable to upgrade connection: Unauthorized as system:admin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.13
    • HyperShift
    • Important
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Unable to access hosted cluster using generated kubeconfig

      error: unable to upgrade connection: Unauthorized
      

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

      4.13.0-0.nightly-2022-11-19-182111
      

      How reproducible:

      Once

      Steps to Reproduce:

      1. hypershift create kubeconfig --name=hypershift-ci-4968 > new.kubeconfig
      2. oc rsh -n openshift-ovn-kubernetes ovnkube-node-2qmtt
      3. oc whoami
      

      Actual results:

      error: unable to upgrade connection: Unauthorized
      
      oc whoami
      
      system:admin
       

      Expected results:

      system:admin is authorized on the hosted cluster

      Additional info:

       

            cewong@redhat.com Cesar Wong
            rbrattai@redhat.com Ross Brattain
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: