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

Inconsistent impersonation in hypershift dump

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Undefined
    • 4.15.0
    • 4.15.0
    • HyperShift
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: The hypershift dump command fails acquiring the localhost-kubeconfig while impersonation.
      Consequence: Error raises up and the localhost-kubeconfig were not dumped.
      Fix: Changing the client used during the procedure.
      Result: Bug resolved.
      Show
      Cause: The hypershift dump command fails acquiring the localhost-kubeconfig while impersonation. Consequence: Error raises up and the localhost-kubeconfig were not dumped. Fix: Changing the client used during the procedure. Result: Bug resolved.
    • Bug Fix
    • In Progress

    Description

      Description of problem:

      hypershift dump fails to acquire localhost-kubeconfig when impersonating. When attempting to dump guest cluster, it fails to read Secrets from the HCP namespace on the management cluster. As a result, it can't access anything from the guest cluster and fails to dump it successfully.
      
      
      

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

      Hypershift 0.1.11
      Supported OCP version 4.15.0
      

      How reproducible:

      100%
      

      Steps to Reproduce:

      Execute hypershift dump cluster --as backplane-cluster-admin --name ${CLUSTER_NAME} --namespace ocm-${ENVIRONMENT}-${CLUSTER_ID} --dump-guest-cluster  --artifact-dir ${DIR_NAME}
      

      Actual results:

      After a while a failure message will appear showing permission issue when attempting to acquire localhost-kubeconfig
      

      Expected results:

      localhost-kubeconfig should be acquired correctly and dump should be able to dump the guest cluster successfully
      

      Additional info:

      
      

      Attachments

        Activity

          People

            agarcial@redhat.com Alberto Garcia Lamela
            taislam.osd Tafhim Ul Islam
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: