Bug 2056467
| Summary: | virt-template-validator pods getting scheduled on the same node | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | nijin ashok <nashok> |
| Component: | Virtualization | Assignee: | ffossemo |
| Status: | CLOSED ERRATA | QA Contact: | Akriti Gupta <akrgupta> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.9.2 | CC: | acardace, cnv-qe-bugs, kahara, kbidarka, rh-container |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | hco-bundle-registry-container-v4.11.0-315 kubevirt-ssp-operator-v4.11.0-29 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-14 19:28:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nijin ashok
2022-02-21 10:17:19 UTC
checked with iib:219905
virt-template-validator pods are getting scheduled on different nodes
"name": "virt-template-validator-7c5bd9985c-d2h47"
"nodeName": "virt-akr-411-jpqfs-worker-0-rt6lf"
"name": "virt-template-validator-7c5bd9985c-cv58q"
"nodeName": "virt-akr-411-jpqfs-worker-0-qtqtv"
also podAntiAffinity is configured
"spec": {
"affinity": {
"podAntiAffinity": {
"preferredDuringSchedulingIgnoredDuringExecution": [
{
"podAffinityTerm": {
"labelSelector": {
"matchExpressions": [
{
"key": "kubevirt.io",
"operator": "In",
"values": [
"virt-template-validator"
]
}
]
},
"topologyKey": "kubernetes.io/hostname"
},
"weight": 1
}
]
}
},
(In reply to Akriti Gupta from comment #1) > checked with iib:219905 > > virt-template-validator pods are getting scheduled on different nodes > > "name": "virt-template-validator-7c5bd9985c-d2h47" > "nodeName": "virt-akr-411-jpqfs-worker-0-rt6lf" > > "name": "virt-template-validator-7c5bd9985c-cv58q" > "nodeName": "virt-akr-411-jpqfs-worker-0-qtqtv" > > also podAntiAffinity is configured > [cnv-qe-jenkins@virt-akr-411-jpqfs-executor ~]$ oc get pods virt-template-validator-7c5bd9985c-d2h47 -n openshift-cnv -o json |jq '.spec.affinity' { "podAntiAffinity": { "preferredDuringSchedulingIgnoredDuringExecution": [ { "podAffinityTerm": { "labelSelector": { "matchExpressions": [ { "key": "kubevirt.io", "operator": "In", "values": [ "virt-template-validator" ] } ] }, "topologyKey": "kubernetes.io/hostname" }, "weight": 1 } ] } } PR for testing virt-template-validator pods are getting scheduled on different nodes is raised here https://code.engineering.redhat.com/gerrit/c/cnv-tests/+/409470 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6526 |