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

Symlink issue on k8s GPU node with /lib/firmware/nvidia/525.xx #3006

@maltegrosse

Description

@maltegrosse

Actual behavior
After updating and upgrading to the latest nvidia drivers, kaniko runs into issues:
error building image: error building stage: failed to get filesystem from image: error removing lib to make way for new symlink: unlinkat //lib/firmware/nvidia/525.147.05/gsp_ad10x.bin: device or resource busy

  • using --ignore-path=/lib/firmware/nvidia/525.147.05 is not considered, using /lib as ignore path breaks obvious other things during the build process

Expected behavior
A week ago, before the nvidia update, the container build run without issues.

To Reproduce
Steps to reproduce the behavior:

  1. using k8s node with nvidia gpu driver installed
  2. using woodpecker-ci with kaniko plugin

Additional Information

  • Dockerfile
ARG LAB_IMAGE=quay.io/jupyter/scipy-notebook:lab-4.0.12
FROM ${LAB_IMAGE}
RUN pip install ipywebrtc==0.6.0 
  • Build Context
    No addition add/copy commands are used
    By using ignote-path pointing to the exact firmware folder (/lib/firmware/nvidia/525.147.05), kaniko still shows DEBU[0001] Ignore list: .... {/lib/firmware/nvidia/525.147.05/gsp_ad10x.bin false}

  • Kaniko Image (fully qualified with digest)
    gcr.io/kaniko-project/executor:v1.19.2-debug

https://github.com/woodpecker-ci/plugin-kaniko/blob/main/Dockerfile

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions