To align, just change the sysinv method to match the handling of SRIOVDP_LABEL = 'sriovdp=enabled' in constants.py and kubernetes.py .
Change the code to this: KUBE_IGNORE_ISOL_CPU_LABEL = 'kube-ignore-isol-cpus=enabled' . . # determine whether to reserve isolated CPUs reserve_isolcpus = True labels = self.dbapi.label_get_by_host(host.uuid) for l in labels: if (constants.KUBE_IGNORE_ISOL_CPU_LABEL == str(l.label_key) + '=' + str(l.label_value)): reserve_isolcpus = False break
To align, just change the sysinv method to match the handling of SRIOVDP_LABEL = 'sriovdp=enabled' in constants.py and kubernetes.py .
Change the code to this: ISOL_CPU_ LABEL = 'kube-ignore- isol-cpus= enabled'
reserve_ isolcpus = True label_get_ by_host( host.uuid) KUBE_IGNORE_ ISOL_CPU_ LABEL ==
str( l.label_ key) + '=' + str(l.label_ value)) :
reserve_ isolcpus = False
break
KUBE_IGNORE_
. .
# determine whether to reserve isolated CPUs
labels = self.dbapi.
for l in labels:
if (constants.