Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Deleting Devices can Lead to Stalled Pods #155

@michaelasp

Description

@michaelasp

While working on creating a cleanup function to make e2e tests atomic I ran into a bug with device deletion.

Deleting a device fails other tests with a interesting error message using the device name of a previous test

Warning  FailedPrepareDynamicResources  16s (x3 over 2m50s)  kubelet            Failed to prepare dynamic resources: NodePrepareResources failed for claim default/dummy-interface-static-ip-route: claim c21de403-2648-4e2d-837b-68ca1a64ff6c contain errors: fail to get network interface mlx5_6

When there is a newly available interface available for allocation named dummy0. Not sure if this is an issue with DRA or DraNet. The issue seems to be around not removing a device if it was deleted and assigned to a pod. We might have some dangling references to deleted interfaces that we need to reconcile.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions