Uploaded image for project: 'OpenStack as Infra'
  1. OpenStack as Infra
  2. OSASINFRA-3577

CI - Update ipi-conf-inframachineset monitor conditionals

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • 3
    • False
    • None
    • False
    • 3

      The current monitor conditional waits 10 minutes to move infra pods from workers to all the new infra nodes. There is a case where the pods are already moved to infra nodes but not replicated in all of them; however, they are already moved and should pass the conditional. So, instead of validating the following,

        if [[ -z "$(echo "${MONITORING_NODES[@]}" "${INFRA_NODE_NAMES[@]}" | tr ' ' '\n' | sort | uniq -u)" ]]; then

      I'm proposing this:

       if [[ ! "${MONITORING_NODES[*]}" =~ "worker" ]]; then

      Where I'm assuring, there are no infra pods for workers. 

      Besides, the monitor for pods to settle doesn't need to consider installer pods. 

              rh-ee-mcarpio Miguel Carpio
              rh-ee-mcarpio Miguel Carpio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: