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

hcp clusters cannot reach each other

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

        When two hcp clusters are hosted on the same cluster, one hcp cluster cannot reach to api address of the other hcp cluster.
      
      From one hcp cluster
      
      # nc -zv 52.118.43.174 6443
      Ncat: Version 7.92 ( https://nmap.org/ncat )
      Ncat: TIMEOUT.
      
      where https://52.118.43.174:6443 is the other hcp cluster's api address.
      
      This works when the other hcp cluster is on a different host.

       

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

      OCP version 4.18.0-ec.3 on the hosting cluster and hostedclusters
      OpenShift Virtualization 4.18.0-225
      MetalLB operator 4.18.0-202411221408
      Multicluster engine for Kubernetes 2.8.0-201 
      Openshift Data Foundation 4.18.0

       

       

      How reproducible:

          3/3

      Steps to Reproduce:

          1. Create two KubeVirt HCP clusters (example names hcp418-p1hub and hcp418-p1c1).
          2. From one node of the hcp cluster hcp418-p1hub, try to access the cluster api endpoint of the other hcp cluster hcp418-p1c1.
      
        From one node of the cluster hcp418-p1hub
        # nc -zv 52.118.43.174 6443
         Ncat: Version 7.92 ( https://nmap.org/ncat )
         Ncat: TIMEOUT.
      
      where https://52.118.43.174:6443 is the other hcp cluster's (hcp418-p1c1) api address.

      Actual results:

          Connection timeout

      Expected results:

          Should be able to establish connection between the two hcp clusters

      Additional info:

          The requirement is to use one hcp cluster as an ACM hub and import the host and the other hcp clusters in the ACM hub. In the hcp cluster used for ACM hub , the import of the other hcp cluster is failing with error 
      
      message: 'Try to import managed cluster, retry times: 1/2, error: [Get "https://52.118.43.174:6443/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/klusterlets.operator.open-cluster-management.io": dial tcp 52.118.43.174:6443: i/o timeout
      
      The host does not have ACM but MCE only.
      Logs will be updated shortly

              phoracek@redhat.com Petr Horacek
              jijoy@redhat.com Jilju Joy
              None
              None
              Liangquan Li Liangquan Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: