feat: declare that upgrading everything must be a full upgrade on Proxmox VE #10

Merged
christianmanivong merged 1 commits from feat/full-upgrade into master 2026-10-06 10:27:22 +00:00
Owner

Adds FULL_UPGRADE = True to ProxmoxDriver.

A plain apt-get upgrade holds back what needs new or removed packages, and it can leave a node half updated. Proxmox documents apt full-upgrade. netOrk reads the attribute when it upgrades a host and runs apt-get dist-upgrade instead (MVP 5, step N4). It defaults to a plain upgrade for drivers that do not declare it.

Tests: pytest tests/ passes, 289 tests including the new test_full_upgrade.py.

Adds `FULL_UPGRADE = True` to `ProxmoxDriver`. A plain `apt-get upgrade` holds back what needs new or removed packages, and it can leave a node half updated. Proxmox documents `apt full-upgrade`. netOrk reads the attribute when it upgrades a host and runs `apt-get dist-upgrade` instead (MVP 5, step N4). It defaults to a plain upgrade for drivers that do not declare it. Tests: `pytest tests/` passes, 289 tests including the new `test_full_upgrade.py`.
christianmanivong added 1 commit 2026-10-06 10:27:11 +00:00
A plain apt-get upgrade holds back what needs new or removed packages and
can leave a node half updated; Proxmox documents apt full-upgrade. netOrk
reads FULL_UPGRADE when it upgrades the host (MVP 5).
christianmanivong merged commit 6c9a6e7017 into master 2026-10-06 10:27:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-proxmox#10