Bug 2211189 - [4.12] initial-job-dataimportcron pod ignores pod placement configuration
Summary: [4.12] initial-job-dataimportcron pod ignores pod placement configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.12.2
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: 4.12.4
Assignee: Arnon Gilboa
QA Contact: Yan Du
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-30 16:24 UTC by Arnon Gilboa
Modified: 2023-06-27 19:10 UTC (History)
2 users (show)

Fixed In Version: v4.12.4-34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2196429
Environment:
Last Closed: 2023-06-27 19:10:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 2734 0 None open [release-v1.55] Propagate CDI workload NodePlacement to DIC CronJob and initial Job 2023-05-30 16:31:36 UTC
Red Hat Issue Tracker CNV-29292 0 None None None 2023-05-30 16:26:55 UTC
Red Hat Product Errata RHEA-2023:3889 0 None None None 2023-06-27 19:10:51 UTC

Description Arnon Gilboa 2023-05-30 16:24:55 UTC
+++ This bug was initially created as a clone of Bug #2196429 +++

Add tolerations in node placement rules as per https://docs.openshift.com/container-platform/4.12/virt/install/virt-specifying-nodes-for-virtualization-components.html.

These rules are not getting propagated to the initial-job-dataimportcron pod. 

When all nodes have taints set, these pod will be stuck in "Pending" status.

  
Version-Release number of selected component (if applicable):

OpenShift Virtualization 4.12.2

How reproducible:

100%

Steps to Reproduce:

1. Add node placement rules on hco object.
2. Check the placement rules are applied to  pod.

Actual results:

kubevirt-job pod ignores node placement configuration

Expected results:

Node placement configuration should be propagated to initial-job-dataimportcron pod.

Additional info:

Comment 1 Yan Du 2023-06-14 05:57:38 UTC
Test on CNV-v4.12.4-50, init jobs only are scheduled to the specific node as the nodePlacement rules.

initial-job-centos-stream9-image-cron-a8fab6a0-d7mq4              0/1     ContainerCreating   0             0s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-centos-stream9-image-cron-a8fab6a0-d7mq4              0/1     ContainerCreating   0             0s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-fedora-image-cron-25182cd8-khpn4                      0/1     Pending             0             0s      <none>         <none>                             <none>           <none>
initial-job-fedora-image-cron-25182cd8-khpn4                      0/1     Pending             0             0s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-fedora-image-cron-25182cd8-khpn4                      0/1     Pending             0             0s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-fedora-image-cron-25182cd8-khpn4                      0/1     ContainerCreating   0             0s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-centos-stream8-image-cron-3044e498-m9b86              0/1     ContainerCreating   0             1s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-centos-7-image-cron-46ba6c07-ftws4                    0/1     ContainerCreating   0             1s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-centos-stream9-image-cron-a8fab6a0-d7mq4              0/1     ContainerCreating   0             1s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-fedora-image-cron-25182cd8-khpn4                      0/1     ContainerCreating   0             1s      <none>         c01-yadu412-9k6l7-worker-0-2nl2j   <none>           <none>
initial-job-centos-7-image-cron-

Comment 7 errata-xmlrpc 2023-06-27 19:10:40 UTC
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 (OpenShift Virtualization 4.12.4 Images), 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/RHEA-2023:3889


Note You need to log in before you can comment on or make changes to this bug.