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

After scaled up machines from 8 to 16 and then removed the old 8 nodes due to which the egressip did not switch to the newly scaled machines.

XMLWordPrintable

    • Important
    • No
    • SDN Sprint 250
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      18-March Customer support case is closed. The workaround is in the bug description. QE's reproducer was not quite the same, since the k8s.ovn.org/egress-assignable label never appeared on the nodes, where-as for the customer they did. Without an exact re-producer and a customer this bug should be closed.
      Show
      18-March Customer support case is closed. The workaround is in the bug description. QE's reproducer was not quite the same, since the k8s.ovn.org/egress-assignable label never appeared on the nodes, where-as for the customer they did. Without an exact re-producer and a customer this bug should be closed.
    • Workaround is to delete the k8s.ovn.org/egress-assignable labels on the new nodes;QE-test; can close

      Description of problem:

      When Customer have scaled machines from 8 to 16 and then removed the old 8 nodes due to which the egressip did not switch to the newly scaled machines. 
      
      Basically the issue occurs when they make new machines and get rid of the original ones. 
      
      They just delete the label - "(k8s.ovn.org/egress-assignable: "")" that the machineset has already put on the new nodes, it remakes them, the egressip starts working. 
      
      Problem occurs on multiple separate OpenShift clusters so this isnt a cluster specific thing. 
      
      The steps to reproduce - 
      
      oc project openshift-machine-api
      oc edit machinesets.machine.openshift.io MACHINESET NAME <-- change replicas from 8 to 16 and altered numCPUs count up to 16 and saved
      watched new machines appear, when all there
      oc get egressips <-- ips on machines
      oc annotate machine/NODE  -n openshift-machine-api machine.openshift.io/cluster-api-delete-machine="true" <-- for the original 8 nodes
      oc edit machinesets.machine.openshift.io MACHINESET NAME <-- change replicas from 16 to 8
      watched machines deleting. 
      oc get egressips <-- NO ips were on any machines
      oc edit node NODENAME <-- went to the  label    k8s.ovn.org/egress-assignable: "" and removed it then saved. NOTE this label was put on by the machineset. 
      oc get egressips  <-- all IPs appeared on the node just edited
      oc edit node NODENAME <-- went to the  label    k8s.ovn.org/egress-assignable: "" and removed it then saved for other new 7 nodes.

            bpickard@redhat.com Ben Pickard
            rhn-support-ankhande Anjali Khandelwal
            Jean Chen Jean Chen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: