Comment 0 for bug 1843713

Revision history for this message
Brent Rowsell (brent-rowsell) wrote :

Script affine-tasks.sh is erroneously waiting if openstack is not deployed,

 Wait until K8s pods have recovered and nova-compute is running
    t0=${SECONDS}
    until is_k8s_platform_steady_state_ready; do
        dt=$(( ${SECONDS} - ${t0} ))
        if [ ${dt} -ge ${PRINT_INTERVAL_SECONDS} ]; then
            t0=${SECONDS}
            LOG "Recovery wait, elapsed ${SECONDS} seconds." \
                "Reason: ${NOT_READY_REASON}"
        fi
        sleep ${CHECK_INTERVAL_SECONDS}
    done

This delays re-affining on platform tasks non openstack deployments.