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

egressip cannot be assigned on hypershift hosted cluster node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 4.12.z
    • None
    • SDN Sprint 234
    • 1
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

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

      Description of problem:

      egressip cannot be assigned on hypershift hosted cluster node

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

      4.13.0-0.nightly-2023-03-09-162945

      How reproducible:

      100%

      Steps to Reproduce:

      1. setup hypershift env
      
      
      2. lable egress ip node on hosted cluster
      % oc get node
      NAME                                         STATUS   ROLES    AGE     VERSION
      ip-10-0-129-175.us-east-2.compute.internal   Ready    worker   3h20m   v1.26.2+bc894ae
      ip-10-0-129-244.us-east-2.compute.internal   Ready    worker   3h20m   v1.26.2+bc894ae
      ip-10-0-141-41.us-east-2.compute.internal    Ready    worker   3h20m   v1.26.2+bc894ae
      ip-10-0-142-54.us-east-2.compute.internal    Ready    worker   3h20m   v1.26.2+bc894ae
      
      % oc label node/ip-10-0-129-175.us-east-2.compute.internal k8s.ovn.org/egress-assignable=""
      node/ip-10-0-129-175.us-east-2.compute.internal labeled
      % oc label node/ip-10-0-129-244.us-east-2.compute.internal k8s.ovn.org/egress-assignable=""
      node/ip-10-0-129-244.us-east-2.compute.internal labeled
      % oc label node/ip-10-0-141-41.us-east-2.compute.internal k8s.ovn.org/egress-assignable=""
      node/ip-10-0-141-41.us-east-2.compute.internal labeled
      % oc label node/ip-10-0-142-54.us-east-2.compute.internal  k8s.ovn.org/egress-assignable=""
      node/ip-10-0-142-54.us-east-2.compute.internal labeled
      
      
      3. create egressip
      % cat egressip.yaml 
      apiVersion: k8s.ovn.org/v1
      kind: EgressIP
      metadata:
        name: egressip-1
      spec:
        egressIPs: [ "10.0.129.180" ]
        namespaceSelector:
          matchLabels:
            env: ovn-tests
      % oc apply -f egressip.yaml 
      egressip.k8s.ovn.org/egressip-1 created
      
      
      4. check egressip assignment
                   

      Actual results:

      egressip cannot assigned to node
      % oc get egressip NAME         EGRESSIPS      ASSIGNED NODE   ASSIGNED EGRESSIPS egressip-1   10.0.129.180 

      Expected results:

      egressip can be assigned to one of the hosted cluster node

      Additional info:

       

      Attachments

        Issue Links

          Activity

            People

              pdiak@redhat.com Patryk Diak
              openshift-crt-jira-prow OpenShift Prow Bot
              Jean Chen Jean Chen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: