Compare commits

...

6 Commits

Author SHA1 Message Date
Fabian Grünbichler
f98bf8d4bd bump version to 7.4-19
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-09-23 14:24:47 +02:00
Thomas Lamprecht
d77d43d9c0 d/control: bump versioned dependency to libpve-http-server-perl
to ensure that the 'download' schema property is correctly handled.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-09-23 14:19:47 +02:00
Fabian Grünbichler
1258eb90b3 api: annotate download endpoints
both the task and system log API endpoints support downloading the log data.

annotate the API method schema accordingly to allow passing the newly
introduced checks in the API handler that limit download functionality to
annotated endpoints.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-09-23 14:18:30 +02:00
Thomas Lamprecht
b1f94095fc bump version to 7.4-18
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-16 13:16:18 +02:00
Thomas Lamprecht
1f71f637d8 ui: add notice for nearing Proxmox VE 7 End-of-Life
As PVE 7.4 goes out of support in July, add a notice at the top with
a link to the FAQ, where the EOL dates are and also the upgrade
process is described and linked in short.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-16 10:13:40 +02:00
Stoiko Ivanov
afb37f08f6 pve7to8: check for proper grub meta-package for bootmode
This should catch installations from our ISO on non-ZFS in uefi mode,
which won't get the updated grub efi binary installed upon upgrade,
because grub-pc is installed instead of grub-efi-amd64.

Adding this to pve7to8 should make this even more visible, than the
corresponding patch for promxox-kernel-helper (warnings printed during
regular package upgrades might be overlooked more easily than
a yellow line in the major upgrade checkscript)

The if/else order was chosen to limit the nesting level of the long
messages.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2023-11-06 18:12:39 +01:00
6 changed files with 51 additions and 18 deletions

View File

@ -815,6 +815,7 @@ __PACKAGE__->register_method({
check => ['perm', '/nodes/{node}', [ 'Sys.Syslog' ]],
},
protected => 1,
download => 1,
parameters => {
additionalProperties => 0,
properties => {

View File

@ -327,6 +327,7 @@ __PACKAGE__->register_method({
user => 'all',
},
protected => 1,
download => 1,
description => "Read task log.",
proxyto => 'node',
parameters => {

View File

@ -1302,29 +1302,36 @@ sub check_time_sync {
sub check_bootloader {
log_info("Checking bootloader configuration...");
if (!$upgraded) {
log_skip("not yet upgraded, no need to check the presence of systemd-boot");
if (! -d '/sys/firmware/efi') {
log_skip("System booted in legacy-mode - no need for additional packages");
return;
}
if (! -f "/etc/kernel/proxmox-boot-uuids") {
log_skip("proxmox-boot-tool not used for bootloader configuration");
return;
}
if (! -d "/sys/firmware/efi") {
log_skip("System booted in legacy-mode - no need for systemd-boot");
return;
}
if ( -f "/usr/share/doc/systemd-boot/changelog.Debian.gz") {
log_pass("systemd-boot is installed");
} else {
if ( -f "/etc/kernel/proxmox-boot-uuids") {
if (!$upgraded) {
log_skip("not yet upgraded, no need to check the presence of systemd-boot");
return;
}
if ( -f "/usr/share/doc/systemd-boot/changelog.Debian.gz") {
log_pass("bootloader packages installed correctly");
return;
}
log_warn(
"proxmox-boot-tool is used for bootloader configuration in uefi mode"
. "but the separate systemd-boot package, existing in Debian Bookworm is not installed"
. "initializing new ESPs will not work until the package is installed"
. " but the separate systemd-boot package is not installed,"
. " initializing new ESPs will not work until the package is installed"
);
return;
} elsif ( ! -f "/usr/share/doc/grub-efi-amd64/changelog.Debian.gz" ) {
log_warn(
"System booted in uefi mode but grub-efi-amd64 meta-package not installed,"
. " new grub versions will not be installed to /boot/efi!"
. " Install grub-efi-amd64."
);
return;
} else {
log_pass("bootloader packages installed correctly");
}
}

14
debian/changelog vendored
View File

@ -1,3 +1,17 @@
pve-manager (7.4-19) bullseye; urgency=medium
* api: annotate download endpoints
-- Proxmox Support Team <support@proxmox.com> Fri, 20 Sep 2024 13:19:44 +0200
pve-manager (7.4-18) bullseye; urgency=medium
* pve7to8: check for proper grub meta-package for bootmode
* ui: add notice for the nearing Proxmox VE 7 End-of-Life on 2024-07-31
-- Proxmox Support Team <support@proxmox.com> Tue, 16 Apr 2024 13:16:13 +0200
pve-manager (7.4-17) bullseye; urgency=medium
* pve7to8:

2
debian/control vendored
View File

@ -60,7 +60,7 @@ Depends: apt (>= 1.5~),
libpve-cluster-perl (>= 7.2-3),
libpve-common-perl (>= 7.2-7),
libpve-guest-common-perl (>= 4.2-1),
libpve-http-server-perl (>= 4.1-1),
libpve-http-server-perl (>= 4.3~),
libpve-rs-perl (>= 0.7.1),
libpve-storage-perl (>= 7.2-12),
librados2-perl (>= 1.3-1),

View File

@ -342,6 +342,16 @@ Ext.define('PVE.StdWorkspace', {
{
flex: 1,
},
{
xtype: 'proxmoxEOLNotice',
product: 'Proxmox VE',
version: '7',
eolDate: '2024-07-31',
href: 'pve.proxmox.com/wiki/FAQ#faq-support-table',
},
{
flex: 1,
},
{
xtype: 'proxmoxHelpButton',
hidden: false,