Skip to content

Bug fix for leaked LCOW resources; expand logs#2655

Open
helsaawy wants to merge 1 commit intomicrosoft:mainfrom
helsaawy:cleanup-fix
Open

Bug fix for leaked LCOW resources; expand logs#2655
helsaawy wants to merge 1 commit intomicrosoft:mainfrom
helsaawy:cleanup-fix

Conversation

@helsaawy
Copy link
Copy Markdown
Contributor

Incorrect resource closures did not cause errors in non-virtual pod scenarios since the uVM was closed after sandbox exit, so leaked resources where released then.

Fix bug where LCOW adapter removal incorrectly used the endpoint ID as the namespace ID.
Don't attempt to remove virtual pod endpoints before host removes adapters from host.
Unmount and delete virtual pod directories and mounts.

Add more logs to networking and resource code paths to help debug leaked vPCI endpoint devices and other issues.

Incorrect resource closures did not cause errors in non-virtual pod
scenarios since the uVM was closed after sandbox exit, so leaked
resources where released then.

Fix bug where LCOW adapter removal incorrectly used the endpoint
ID as the namespace ID.
Don't attempt to remove virtual pod endpoints before host removes
adapters from host.
Unmount and delete virtual pod directories and mounts.

Add more logs to networking and resource code paths to help debug leaked
vPCI endpoint devices.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy helsaawy requested a review from a team as a code owner March 31, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant