2019-09-12 15:51:09 |
Ghada Khalil |
description |
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. |
Brief Description
-----------------
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.
Severity
--------
Major - affects
Steps to Reproduce
------------------
Install system with k8s only (no openstack). Check the platform thread affinity
Expected Behavior
------------------
The platform threads are affined to the platform cores as expected
Actual Behavior
----------------
The platform threads are not affined for a while.
Reproducibility
---------------
Reproducible
System Configuration
--------------------
Any system
Branch/Pull Time/Commit
-----------------------
master as of 2019-09-11
Last Pass
---------
Unknown
Timestamp/Logs
--------------
Not required. Issue is easily reproducible.
Test Activity
-------------
Other - regular lab usage |
|