Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-15157

Implement PVC deletion logic in the Galera operator when nodes are tainted with out-of-service by SNR

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • mariadb-operator
    • PIDONE 18.0.7, PIDONE 18.0.8, Sprint 1
    • 3
    • Moderate

      Goal: 

      Introduce logic in the Galera operator to detect when a pod is scheduled on a node marked as out-of-service via the node.kubernetes.io/out-of-service taint, so that the associated PVC can be deleted to trigger rescheduling of the pod onto a healthy node.
      This is needed to maintain availability during the temporary or permanent unavailability of one or more worker nodes.

      Acceptance Criteria:

      • The operator must inspect the node assigned to each Galera pod
      • Detection of the node.kubernetes.io/out-of-service taint on assigned nodes must be implemented
      • The PVC mounted by the affected pod should be identified using its volumeClaimName
      • The operator must delete the PVC when the associated pod is running on a tainted node
      • Log output must clearly include pod name, PVC name, node name, and taint key
      • Pods running on untainted nodes must remain unaffected
      • Rescheduling should result in automatic recreation of the pod and its PVC on a healthy node

              rhn-support-aromito Antonio Romito
              rhn-support-aromito Antonio Romito
              Damien Ciabrini, Luca Miccini
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: