Skip to content

Potential ordering issue with pinning the proxmox kernel #275

@btravouillon

Description

@btravouillon

With 1.9.0 (and #267), the pinning of the kernel is executed after the tasks Run apt-get dist-upgrade on repository changes and Perform system upgrades. This may lead to unexpected behaviour.

For example, I just ran the 1.9.0 on a node with -e pve_run_system_upgrades=true, after removing pve_default_kernel_version from my inventory. This removed /etc/apt/preferences.d/proxmox-default-kernel as expected, but the kernel was not upgraded. I had to run the playbook twice to upgrade the kernel.

In the case of a repo change or required system upgrades, I also believe this could install the latest kernel first, then pin the proxmox-default-kernel to a previous pve_default_kernel_version.

I'm not sure if this is on purpose or not, otherwise I would have opened an MR to fix this already.

Info

Running up-to-date Proxmox VE 8.2.7 community.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions