changelog for updates not always supplied

Kodey

Member
Oct 26, 2021
107
4
23
When deciding to apply an update it's very helpful to see the changelog, especially when a reboot or restarting a service is involved.
Often, particularly with pve kernel changes, a changelog isn't available and specific changes are difficult and time consuming to locate.
This kind of process is normally well suited for automation during the release process.

Can these changelogs be supplied?
Is there any specific difficulties involved in supplying these for Proxmox?
 

Attachments

  • pve-update-info-404.png
    pve-update-info-404.png
    50.3 KB · Views: 23
Hi,

what repositories are you using? Changelogs are supplied with new releases, and you should also be able to view them using apt changelog foo. Otherwise, you can access them through the git repositories themselves, usually located at debian/changelog in the tree. Here's the kernel [1] as an example.

[1] https://git.proxmox.com/?p=pve-kernel.git;a=blob;f=debian/changelog
 
what repositories are you using?
no-subscription repos:
pve-repos.png
Changelogs are supplied with new releases, and you should also be able to view them using apt changelog foo.
Actually not:
Code:
# apt changelog zfs-initramfs
E: Failed to fetch changelog:/zfs-linux.changelog  Changelog unavailable for zfs-linux=2.1.7-pve1
# apt changelog spl
E: Failed to fetch changelog:/zfs-linux.changelog  Changelog unavailable for zfs-linux=2.1.7-pve1
# apt changelog pve-kernel-5.15
E: Failed to fetch changelog:/pve-kernel-5.15.changelog  Changelog unavailable for pve-kernel-5.15=7.3-1
# apt changelog pve-firmware
E: Failed to fetch changelog:/pve-firmware.changelog  Changelog unavailable for pve-firmware=3.6-2

Otherwise, you can access them through the git repositories themselves, usually located at debian/changelog in the tree.
I'm interested in Proxmox pve update changes so I know what systems are affected, particularly if they require a reboot. How do I find those?
eg: pve-firmware-3.6-1 pve-firmware-3.6-2
 
After looking into this a bit deeper: due to way that our repositories are structured right now, you can only get changelogs for package versions that are currently installed. apt tries to look for the changelog for the newest version that it knows of, which might not always be the one installed. In this case, you get the error that you have been encountering.

As for the GUI: this should work in any case, since it can download the changelog directly from the server. What seems to be happening is that the API for fetching the changelogs is struggling when both the PBS and the PVE repositories are configured, I've filed a corresponding bug report [1]. Something that seemingly fixed the issue while I was doing some testing is to configure the PVE repositories *before* the PBS repositories (so, changing their order in the config file).

[1] https://bugzilla.proxmox.com/show_bug.cgi?id=4481
 
  • Like
Reactions: janssensm
The patch didn't work for me.
I tried adding pbs to my $data array, but that didn't help

Disabling the pbs source fixes it, but I don't know if pbs updates will be missed so I had to re-enable it.
/etc/apt/sources.list.d$ mv pbs-no-subscription.list pbs-no-subscription.list.disabled
 
How exactly did you apply the patch? Works on my end, did you run systemctl restart pveproxy.service pvedaemon.service afterwards?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!