Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing module loading during kernel upgrade #1218

Commits on Sep 22, 2024

  1. Fixing module loading during kernel upgrade

    When the node upgrade includes kernel upgrade, NMC Spec will change to
    include new kernel version. In that case NMC controller will try first
    to create unloader worker pod. Since the unloader worker pod uses the
    old configuration (from status), which uses the old image, the modprobe
    in the worker pod will fail, since it won't find kernel module under the
    /opt/lib/modules/<new kernel> path
    This PR fixes the issue by creating unloader pod in case of difference
    in spec and status of NMC only in case kernels are equal. Otherwise, it
    creates loader pod, since it means that node was rebooted, and the
    kernel module is not loaded yet, since the status contains old kernel
    yevgeny-shnaidman committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    657c7f0 View commit details
    Browse the repository at this point in the history