virtualization icon indicating copy to clipboard operation
virtualization copied to clipboard

fix(images): make importers work in tainted cluster

Open diafour opened this issue 1 month ago • 0 comments

Description

  • Add toleration to run importers on nodes belong to NodeGroup/system.
  • Add toleration to CDI config for DV workload Pods (importers, uploaders, preps, etc.).
  • vd contoller: move InUse handler before Lifecycle handler. Lifecycle handler can see "attached to" vm in status and copy tolerations from it.

Why do we need it, and what problem does it solve?

It is not possible to create images and disks with datasource in cluster where all nodes have taints.

What is the expected result?

FOCUS=VirtualImageCreation task e2e:run runs on tainted cluster

Ran 1 of 183 Specs in 434.664 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 182 Skipped
PASS

Checklist

  • [ ] The code is covered by unit tests.
  • [ ] e2e tests passed.
  • [ ] Documentation updated according to the changes.
  • [x] Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: images
type: fix
summary: Make images importers work in tainted cluster

diafour avatar Nov 25 '25 17:11 diafour