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

CCM uses MC's KAS instead of HC's KAS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.14.z
    • 4.15.0
    • HyperShift
    • No
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-23921. The following is the description of the original issue:

      Description of problem:

          The way CCM is deployed, it gets the kubeconfig configuration from the environment it runs on, which is the Management cluster. Thus, it communicates with the Kubernetes Api Server (KAS) of the Management Cluster (MC) instead of the KAS of the Hosted Cluster it is part of.

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

          4.15.0

      How reproducible:

          100%

      Steps to Reproduce:

          1. Deploy a hosted cluster
          2. oc debug to the node running the HC CCM
          3. crictl ps -a to list all the containers
          4. crictl inspect X  # Where X is the container id of the CCM container
          5. nsenter -n -t pid_of_ccm_container
          6. tcpdump
          

      Actual results:

          Communication goes to MC KAS

      Expected results:

          Communication goes to HC KAS

      Additional info:

          

              pstefans@redhat.com Patryk Stefanski
              openshift-crt-jira-prow OpenShift Prow Bot
              Jie Zhao Jie Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: