]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
11 days agobump version to 7.4-18 stable-7
Thomas Lamprecht [Tue, 16 Apr 2024 11:16:18 +0000 (13:16 +0200)]
bump version to 7.4-18

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 days agoui: add notice for nearing Proxmox VE 7 End-of-Life
Thomas Lamprecht [Tue, 29 May 2018 12:16:32 +0000 (14:16 +0200)]
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>
5 months agopve7to8: check for proper grub meta-package for bootmode
Stoiko Ivanov [Wed, 11 Oct 2023 13:23:42 +0000 (15:23 +0200)]
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>
6 months agobump version to 7.4-17
Thomas Lamprecht [Sat, 30 Sep 2023 07:46:16 +0000 (09:46 +0200)]
bump version to 7.4-17

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agoupdate shipped aplinfo
Thomas Lamprecht [Sat, 30 Sep 2023 08:04:59 +0000 (10:04 +0200)]
update shipped aplinfo

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 months agowebsite: update external links to www.proxmox.com
Christian Ebner [Fri, 11 Aug 2023 10:46:54 +0000 (12:46 +0200)]
website: update external links to www.proxmox.com

During the redesign of www.proxmox.com the menu structure and therefore
some url changed. Update the external link in order to avoid an
unneccessary redirect

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
(cherry picked from commit 347f88fecd938da30fa2cab4724159225cf6f7bb)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agopve7to8: Add check for dkms modules
Christian Ebner [Tue, 1 Aug 2023 08:42:09 +0000 (10:42 +0200)]
pve7to8: Add check for dkms modules

... and warn if at least one is present.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
7 months agoui: vm selector: gracefully handle empty IDs in setValue function
Fiona Ebner [Mon, 25 Sep 2023 11:58:39 +0000 (13:58 +0200)]
ui: vm selector: gracefully handle empty IDs in setValue function

An empty string is passed by the backup job window when using
selection mode 'all', would be converted to [""] and wrongly add an
entry with VMID 0 because the item "" could not be found in the store.

Reported in the community forum:
https://forum.proxmox.com/threads/130164/

Fixes: 7a5ca76a ("fix #4239: ui: show selected but non-existing vmids in backup edit")
Suggested-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
(cherry picked from commit 4a862f4f02c23e0bd7072a16bf6dd0ff02edf0e6)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 months agopve7to8: Fix Fedora 38 systemd unified cgroupv2 check
Christian Ebner [Mon, 28 Aug 2023 07:54:14 +0000 (09:54 +0200)]
pve7to8: Fix Fedora 38 systemd unified cgroupv2 check

For Fedora 38 the systemd shared object files used to check the systemd
version are located at /usr/lib64/systemd or /usr/lib/systemd.
Therefore, include /usr/lib64/systemd in the list of directories to
check.

Further, Fedora 38 adds a fc38 postfix to the filename, so expand the
regex to cover that as well.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
9 months agopve7to8: fix Ceph noout check
Fiona Ebner [Mon, 17 Jul 2023 08:38:19 +0000 (10:38 +0200)]
pve7to8: fix Ceph noout check

Commit 114e5f2c ("pve7to8: sync over from stable-7 branch")
accidentally got rid of the correct value 0 here and also the new TODO
message to improve the situation. But the TODO is actually easy,
because there already is the $upgraded variable. Just rely on that
instead of hard-coding and forgetting about it again.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
9 months agobump version to 7.4-16
Thomas Lamprecht [Mon, 3 Jul 2023 11:12:23 +0000 (13:12 +0200)]
bump version to 7.4-16

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agopve7to8: add checks for mismatched or strange repos
Thomas Lamprecht [Mon, 3 Jul 2023 11:08:45 +0000 (13:08 +0200)]
pve7to8: add checks for mismatched or strange repos

adapted and extended from pmg-api's commit 6ceeea8 [0].

[0]: https://git.proxmox.com/?p=pmg-api.git;a=commit;h=6ceeea877027853d6ae7a44f2d4d732ed6b136b9

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agopve7to8: add "notice" log level
Thomas Lamprecht [Wed, 28 Jun 2023 11:06:40 +0000 (13:06 +0200)]
pve7to8: add "notice" log level

can be useful for things that might be OK, so where warn or even fail
would be to drastic, but that should be still checked as they seem
odd.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agopve7to8: move color coding into low-level helper
Thomas Lamprecht [Wed, 28 Jun 2023 11:06:20 +0000 (13:06 +0200)]
pve7to8: move color coding into low-level helper

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-15
Thomas Lamprecht [Wed, 21 Jun 2023 18:04:21 +0000 (20:04 +0200)]
bump version to 7.4-15

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoupdate shipped aplliance info index
Thomas Lamprecht [Wed, 21 Jun 2023 18:05:39 +0000 (20:05 +0200)]
update shipped aplliance info index

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: add check for systemd-boot presence where needed
Stoiko Ivanov [Wed, 21 Jun 2023 17:35:57 +0000 (19:35 +0200)]
pve7to8: add check for systemd-boot presence where needed

since the package won't get installed for systems upgraded from 7 to 8
we warn users who need systemd-boot - to be able to initialize new
ESPs - that they need to install it

The check for package installation is based on existance of the
changelog, since the package information used in pve7to8 comes from
the API-modules, which limit it to the pve-relevant packages.

tested in VMs with uefi and legacy mode, with existing
proxmox-boot-uuids both with and w/o systemd-boot being installed

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
10 months agopve7to8: enable noout before upgrade
Fiona Ebner [Wed, 21 Jun 2023 16:19:47 +0000 (18:19 +0200)]
pve7to8: enable noout before upgrade

Just like 3b776617 ("pve6to7: enable noout before upgrade") last time,
it should be enabled in the stable branch to ensure users see the
warning before upgrade.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
10 months agopve7to8: avoid confusing warning about required setting 'storage' for vzdump
Fiona Ebner [Wed, 21 Jun 2023 15:02:01 +0000 (17:02 +0200)]
pve7to8: avoid confusing warning about required setting 'storage' for vzdump

It's required in the schema for notes-template and protected, but when
parsing vzdump.conf, it shouldn't matter whether the storage parameter
is set or not.

The warning is ugly and users might interpret it as something that
needs to be acted upon for the upgrade:
parse error in '/etc/vzdump.conf' - 'storage': missing property - 'notes-template' requires this property\nmissing property - 'protected' requires this property

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
10 months agopve7to8: remove outdated warning about retention
Fiona Ebner [Wed, 21 Jun 2023 15:02:00 +0000 (17:02 +0200)]
pve7to8: remove outdated warning about retention

It just talks about the default behavior since PVE 7. It's rather
confusing to mention this, because the behavior doesn't change anymore
in PVE 8.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
10 months agopve7to8: content-dirs check: skip paths that cannot be resolved
Friedrich Weber [Thu, 15 Jun 2023 13:22:31 +0000 (15:22 +0200)]
pve7to8: content-dirs check: skip paths that cannot be resolved

The current inequality check for content-dirs does not correctly
handle the case in which `abs_path` returns undef. This can result in
confusing warnings:

  storage [...] uses directory  for multiple content types [...]

Fix this by skipping paths for which `abs_path` returns undef. This
matches the behavior of the actual content-dirs check in PVE 8 [0].

[0]: https://git.proxmox.com/?p=pve-storage.git;a=commit;h=09f1f847a

Fixes: ea0a4f1943ffafe94282afc800d5720db45df198
Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
10 months agobump version to 7.4-14
Thomas Lamprecht [Wed, 14 Jun 2023 08:58:39 +0000 (10:58 +0200)]
bump version to 7.4-14

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: code style cleanups
Thomas Lamprecht [Wed, 14 Jun 2023 08:53:55 +0000 (10:53 +0200)]
pve7to8: code style cleanups

consistently use for instead of foreach (just shorter and avoids that
one thinks foreach does something special) and break a long line
while at it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: add check for dropped Permissions.Modify
Fabian Grünbichler [Tue, 13 Jun 2023 11:50:24 +0000 (13:50 +0200)]
pve7to8: add check for dropped Permissions.Modify

as a warning only - depending on desired privileges, no action might be
necessary.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 months agopve7to8: refactor user.cfg loop
Fabian Grünbichler [Tue, 13 Jun 2023 11:50:23 +0000 (13:50 +0200)]
pve7to8: refactor user.cfg loop

next patch adds acl-related checks

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 months agopve7to8: fix parameter name of systemd unit state helper
Thomas Lamprecht [Mon, 12 Jun 2023 15:11:52 +0000 (17:11 +0200)]
pve7to8: fix parameter name of systemd unit state helper

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: nvidia vGPU: downgrad report for active service to warning
Thomas Lamprecht [Mon, 12 Jun 2023 15:07:00 +0000 (17:07 +0200)]
pve7to8: nvidia vGPU: downgrad report for active service to warning

While it would be a failure now (and I thus have recommended Dominik
to use a fail here), we cannot really predict how this
evolves. If NVIDIA fixes the issue in newer driver/tooling we cannot
detect this and telling users to ignore a failure can lead to them
getting condition on that and start ignoring any failure.

So, let's ignore my initial error-level hunch and use a warning,
which is quite prominent too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: nvidia vGPU: suppress stderr from unit check
Thomas Lamprecht [Mon, 12 Jun 2023 15:05:36 +0000 (17:05 +0200)]
pve7to8: nvidia vGPU: suppress stderr from unit check

Avoid a error message like "Failed to get unit file state for
nvidia-vgpu-mgr.service: No such file or directory" on systems that
don't have that service.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: nvidia vGPU: fix typo and refacotr out common message
Thomas Lamprecht [Mon, 12 Jun 2023 15:04:18 +0000 (17:04 +0200)]
pve7to8: nvidia vGPU: fix typo and refacotr out common message

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: add check for nvidia-vgpu-mgr
Dominik Csapak [Mon, 12 Jun 2023 10:00:53 +0000 (12:00 +0200)]
pve7to8: add check for nvidia-vgpu-mgr

Currently the nvidia vgpu host driver (15.2) does not support kernels >
6.0 and thus will not work with bookworm based releases for now.

Fail when the service is running, and warn if it only exists, but is
disabled/stopped (in case a user installed it sometime but did not need
it and disabled it).

In any case, link to the known issues section in the upgrade guide
(which we can update to contain up-to-date information).

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
10 months agopve7to8: use loop for systemd version extraction
Thomas Lamprecht [Mon, 12 Jun 2023 14:44:39 +0000 (16:44 +0200)]
pve7to8: use loop for systemd version extraction

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: Improve systemd unified cgroupv2 support check
Christian Ebner [Mon, 12 Jun 2023 10:31:13 +0000 (12:31 +0200)]
pve7to8: Improve systemd unified cgroupv2 support check

Checking /lib/systemd if it is present and a directory is not enough, as
the shared object file used to check the version might nevertheless be
located at /usr/lib/systemd, or under /usr/lib/x86_64-linux-gnu/systemd.
So check also the latter paths, if the former returned no match.

Further, Arch Linux appends the minor version and release version to the
filename, so include that in the regex as well.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
10 months agopve7to8: make check for correct running kernel more resilient
Thomas Lamprecht [Mon, 12 Jun 2023 14:28:49 +0000 (16:28 +0200)]
pve7to8: make check for correct running kernel more resilient

users can have the 6.2 kernel already installed, so this check needs
to cope with that.

The last non-bpo version on bullseye releases was 6.2.11-2-pve and
the first release for bookworm was 6.2.16-1-pve, so use a regex that
matches the bookworm one and newer, but fails with any tilde
characters, which must be used for any 6.2 update in bullseye from
now on to ensure correct upgrades.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-13
Thomas Lamprecht [Fri, 9 Jun 2023 09:42:13 +0000 (11:42 +0200)]
bump version to 7.4-13

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoaplinfo: ensure keyring is in binary format
Thomas Lamprecht [Wed, 7 Jun 2023 09:49:33 +0000 (11:49 +0200)]
aplinfo: ensure keyring is in binary format

GnuPG chokes on it otherwise...

Fixes: 00ea2e4b ("aplinfo: use sequioa for key ring generation")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-12
Thomas Lamprecht [Thu, 8 Jun 2023 11:00:27 +0000 (13:00 +0200)]
bump version to 7.4-12

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: check if LXCFS is running with FUSE3 after upgrade
Thomas Lamprecht [Thu, 8 Jun 2023 11:00:08 +0000 (13:00 +0200)]
pve7to8: check if LXCFS is running with FUSE3 after upgrade

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-11
Thomas Lamprecht [Thu, 8 Jun 2023 07:49:05 +0000 (09:49 +0200)]
bump version to 7.4-11

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: check for custom role ID clashes with "PVE" namespace
Thomas Lamprecht [Thu, 8 Jun 2023 07:47:26 +0000 (09:47 +0200)]
pve7to8: check for custom role ID clashes with "PVE" namespace

we'll enforce that in Proxmox VE 8 to avoid some headache on future
ACL expansion.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: fix some typos
Thomas Lamprecht [Thu, 8 Jun 2023 07:42:12 +0000 (09:42 +0200)]
pve7to8: fix some typos

found with using the codespell tool

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-10
Thomas Lamprecht [Thu, 8 Jun 2023 07:08:42 +0000 (09:08 +0200)]
bump version to 7.4-10

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: add context to overly general pass messages
Thomas Lamprecht [Wed, 7 Jun 2023 12:07:21 +0000 (14:07 +0200)]
pve7to8: add context to overly general pass messages

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: content type dir re-use: add pass/fail & small clean-ups
Thomas Lamprecht [Wed, 7 Jun 2023 12:06:26 +0000 (14:06 +0200)]
pve7to8: content type dir re-use: add pass/fail & small clean-ups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: warn if storage uses a directory for multiple content types
Friedrich Weber [Wed, 7 Jun 2023 09:39:13 +0000 (11:39 +0200)]
pve7to8: warn if storage uses a directory for multiple content types

Using a directory for multiple content types will throw an error in
PVE 8 (see 5f4b5bd1 in pve-storage). Hence, detect this in pve7to8 for
active storages and warn if needed.

Signed-off-by: Friedrich Weber <f.weber@proxmox.com>
10 months agobump version to 7.4-9
Thomas Lamprecht [Mon, 5 Jun 2023 17:23:28 +0000 (19:23 +0200)]
bump version to 7.4-9

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: code style fix
Thomas Lamprecht [Mon, 5 Jun 2023 17:21:06 +0000 (19:21 +0200)]
pve7to8: code style fix

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: ceph version check: ignore commit hash
Aaron Lauterer [Fri, 2 Jun 2023 16:04:02 +0000 (18:04 +0200)]
pve7to8: ceph version check: ignore commit hash

The commit hash of the Ceph version might be different between major
releases. For example:
ceph version 17.2.6 (810db68029296377607028a6c6da1ec06f5a2b27) quincy (stable)
ceph version 17.2.6 (995dec2cdae920da21db2d455e55efbc339bde24) quincy (stable)

This can lead to unnecessary warnings of multiple detected versions.
Therefore, extract the version, e.g. 'ceph version 17.2.6', and the
commit hash. Use the simplified version for the version checks and show
an info line when the commit is different instead of a warning.
If the commit hashes are the only difference, we are likely in the
middle of the upgrade.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
10 months agoapi subscription: ensure access to ceph enterprise repo for upgrade
Thomas Lamprecht [Mon, 5 Jun 2023 17:13:17 +0000 (19:13 +0200)]
api subscription: ensure access to ceph enterprise repo for upgrade

For upgrade to Proxmox VE 8, which added this repo. This shouldn't
change anything for current release.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: cope with native version of proxmox-ve package
Thomas Lamprecht [Wed, 31 May 2023 16:19:21 +0000 (18:19 +0200)]
pve7to8: cope with native version of proxmox-ve package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-8
Thomas Lamprecht [Wed, 31 May 2023 15:51:50 +0000 (17:51 +0200)]
bump version to 7.4-8

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: drop outdated apt security repo format change check
Thomas Lamprecht [Wed, 31 May 2023 15:51:09 +0000 (17:51 +0200)]
pve7to8: drop outdated apt security repo format change check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-7
Thomas Lamprecht [Wed, 31 May 2023 14:36:25 +0000 (16:36 +0200)]
bump version to 7.4-7

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: add minimal ceph version check
Thomas Lamprecht [Wed, 31 May 2023 14:29:36 +0000 (16:29 +0200)]
pve7to8: add minimal ceph version check

note that this is only checked in the hyper-converged use-case,
otherwise we don't really care what ceph client version is in use, as
that cannot really break much w.r.t. the upgrade (i.e., packaging
dependencies) itself.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: output failures in bold
Thomas Lamprecht [Wed, 31 May 2023 13:26:21 +0000 (15:26 +0200)]
pve7to8: output failures in bold

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: suggest removing outdated kernel meta packages after upgrade+reboot
Thomas Lamprecht [Wed, 31 May 2023 13:18:33 +0000 (15:18 +0200)]
pve7to8: suggest removing outdated kernel meta packages after upgrade+reboot

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: differ running kernel message depending on being at pre and post upgrade
Thomas Lamprecht [Wed, 31 May 2023 12:37:40 +0000 (14:37 +0200)]
pve7to8: differ running kernel message depending on being at pre and post upgrade

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: improve log message for missing kernel reboot
Thomas Lamprecht [Wed, 31 May 2023 11:26:24 +0000 (13:26 +0200)]
pve7to8: improve log message for missing kernel reboot

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-6
Thomas Lamprecht [Wed, 31 May 2023 09:46:16 +0000 (11:46 +0200)]
bump version to 7.4-6

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoactually ship pve7to8
Thomas Lamprecht [Wed, 31 May 2023 09:46:06 +0000 (11:46 +0200)]
actually ship pve7to8

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agoadd manual page for pve7to8
Thomas Lamprecht [Wed, 31 May 2023 09:58:31 +0000 (11:58 +0200)]
add manual page for pve7to8

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: split CLI tools variable over multiple lines
Thomas Lamprecht [Wed, 31 May 2023 09:45:33 +0000 (11:45 +0200)]
buildsys: split CLI tools variable over multiple lines

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobump version to 7.4-5
Thomas Lamprecht [Wed, 31 May 2023 09:26:30 +0000 (11:26 +0200)]
bump version to 7.4-5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: check for active and known-OK time-daemon unit
Thomas Lamprecht [Wed, 31 May 2023 09:23:24 +0000 (11:23 +0200)]
pve7to8: check for active and known-OK time-daemon unit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: allow to surpress stderr if checking systemd unit state
Thomas Lamprecht [Wed, 31 May 2023 09:22:58 +0000 (11:22 +0200)]
pve7to8: allow to surpress stderr if checking systemd unit state

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve6to7: add hint that there's a newer upgrade possible
Thomas Lamprecht [Wed, 31 May 2023 08:36:29 +0000 (10:36 +0200)]
pve6to7: add hint that there's a newer upgrade possible

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: avoid scary colors for warn and fail if their counters are zero
Thomas Lamprecht [Wed, 31 May 2023 08:23:16 +0000 (10:23 +0200)]
pve7to8: avoid scary colors for warn and fail if their counters are zero

has a greater effect if color coded only on actual issues detected

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: rename check_security_repo to check_apt_repos
Thomas Lamprecht [Wed, 31 May 2023 08:22:44 +0000 (10:22 +0200)]
pve7to8: rename check_security_repo to check_apt_repos

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: update check for free space to >= 5 GB
Thomas Lamprecht [Wed, 31 May 2023 08:19:27 +0000 (10:19 +0200)]
pve7to8: update check for free space to >= 5 GB

As for persistent storage we normally use GB not GiB nowadays (e.g.,
in the Web UI), as 2^30 is bigger than 10^9, rounding up to 5 GB
should be fine; it's really safer to have a bit more free space as
minimally required in some minimal setups.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: ensure pvescheduler.service is running OK
Thomas Lamprecht [Wed, 31 May 2023 08:19:11 +0000 (10:19 +0200)]
pve7to8: ensure pvescheduler.service is running OK

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: check storage content in storage health section
Thomas Lamprecht [Wed, 31 May 2023 08:18:27 +0000 (10:18 +0200)]
pve7to8: check storage content in storage health section

albeit this is affecting guests too, maybe it would better fit into a
new Virtual Guests section.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopve7to8: initial updates
Thomas Lamprecht [Wed, 31 May 2023 08:17:47 +0000 (10:17 +0200)]
pve7to8: initial updates

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agocopy over pve6to7 for new pve7to8 upgrade checker script
Thomas Lamprecht [Wed, 31 May 2023 08:16:15 +0000 (10:16 +0200)]
copy over pve6to7 for new pve7to8 upgrade checker script

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agobuildsys: split list of CLI sources over multiple lines
Thomas Lamprecht [Wed, 31 May 2023 07:16:55 +0000 (09:16 +0200)]
buildsys: split list of CLI sources over multiple lines

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agorevert expanding repoid to 16 chars
Thomas Lamprecht [Wed, 31 May 2023 07:10:41 +0000 (09:10 +0200)]
revert expanding repoid to 16 chars

This partially reverts commit 0e77456f ("expand repoid to 16 chars
and avoid querying git for it twice") to use 8 characters to avoid
any change for this format in the (soon old) stable release

Keep the rest of the changes though, they do make sense.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: derive upload dist automatically and avoid bogus check
Thomas Lamprecht [Mon, 29 May 2023 16:23:40 +0000 (18:23 +0200)]
buildsys: derive upload dist automatically and avoid bogus check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: adapt extracting release to native versioning
Thomas Lamprecht [Mon, 29 May 2023 16:15:11 +0000 (18:15 +0200)]
buildsys: adapt extracting release to native versioning

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: do not depend on obsolete lsb-base
Thomas Lamprecht [Mon, 29 May 2023 13:49:44 +0000 (15:49 +0200)]
d/control: do not depend on obsolete lsb-base

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: don't depend on libc, just use debhelper ${shlib:Depends}
Thomas Lamprecht [Mon, 29 May 2023 13:49:27 +0000 (15:49 +0200)]
d/control: don't depend on libc, just use debhelper ${shlib:Depends}

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: apt-transport-https as separate package is gone
Thomas Lamprecht [Mon, 29 May 2023 13:44:22 +0000 (15:44 +0200)]
d/control: apt-transport-https as separate package is gone

just keep the versioned apt dependency, that alone ensures it and apt
1.5 got released on 24 Sep 2017, so just keep it for (or to avoid)
the real messed up installations

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/postinst: fix version format for apt auth config migration check
Thomas Lamprecht [Mon, 29 May 2023 13:41:35 +0000 (15:41 +0200)]
d/postinst: fix version format for apt auth config migration check

The mistake wasn't that bad, as we mostly checked for the migration
to often, i.e., for any update to the 7.2-X releases, not just until
7.2-11 was crossed (but with 7.3-X the check worked again as
indented).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: add missing Standards-Version fields
Thomas Lamprecht [Mon, 29 May 2023 13:41:07 +0000 (15:41 +0200)]
d/control: add missing Standards-Version fields

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: avoid versioned build-dependencies with a -1 revision
Thomas Lamprecht [Mon, 29 May 2023 13:40:10 +0000 (15:40 +0200)]
d/control: avoid versioned build-dependencies with a -1 revision

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/changelog: fix typos
Thomas Lamprecht [Mon, 29 May 2023 13:39:24 +0000 (15:39 +0200)]
d/changelog: fix typos

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: add DSC & sbuild convenience target
Thomas Lamprecht [Mon, 29 May 2023 13:33:38 +0000 (15:33 +0200)]
buildsys: add DSC & sbuild convenience target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: make build-dir generation atomic and versioned
Thomas Lamprecht [Mon, 29 May 2023 13:32:58 +0000 (15:32 +0200)]
buildsys: make build-dir generation atomic and versioned

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: use correct DEB_HOST_ARCH
Thomas Lamprecht [Mon, 29 May 2023 13:05:25 +0000 (15:05 +0200)]
buildsys: use correct DEB_HOST_ARCH

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: rework doc-gen cleanup and makefile inclusion
Thomas Lamprecht [Mon, 29 May 2023 12:56:23 +0000 (14:56 +0200)]
buildsys: rework doc-gen cleanup and makefile inclusion

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agoexpand repoid to 16 chars and avoid querying git for it twice
Thomas Lamprecht [Mon, 29 May 2023 12:44:24 +0000 (14:44 +0200)]
expand repoid to 16 chars and avoid querying git for it twice

i.e., just reuse GITVERSION, and FWIW, the current ID length git
auto chooses is 9 chars, suggesting that 8 really was getting to
small. With 16 we got now 64 bits, that's plenty for the next few
years.

Document the format also (roughly) in the API schema

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agomakefile: convert to use simple parenthesis
Thomas Lamprecht [Mon, 29 May 2023 12:11:36 +0000 (14:11 +0200)]
makefile: convert to use simple parenthesis

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agoaplinfo: add bookworm release key to trusted ones
Thomas Lamprecht [Mon, 29 May 2023 12:02:45 +0000 (14:02 +0200)]
aplinfo: add bookworm release key to trusted ones

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agoaplinfo: use sequioa for key ring generation
Thomas Lamprecht [Mon, 29 May 2023 12:01:22 +0000 (14:01 +0200)]
aplinfo: use sequioa for key ring generation

The sq CLI tool's UX is such a fresh breath of air compared to gpg...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobump version to 7.4-4
Thomas Lamprecht [Sun, 28 May 2023 17:58:41 +0000 (19:58 +0200)]
bump version to 7.4-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agomobile ui: statically import widget toolkit
Thomas Lamprecht [Sun, 28 May 2023 17:19:53 +0000 (19:19 +0200)]
mobile ui: statically import widget toolkit

as loading the whole wtk breaks the mobile ui and is
- not always trivial to fix
- a sisyphean task (in the future)
- we don't check this often, so breakage is likely to go unnoticed

I.e., just much simple to freeze this also in time..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agomobile ui: eslint fixes
Thomas Lamprecht [Sun, 28 May 2023 17:03:20 +0000 (19:03 +0200)]
mobile ui: eslint fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agomobile ui: adhere debug flag when loading sencha touch
Thomas Lamprecht [Sun, 28 May 2023 16:42:09 +0000 (18:42 +0200)]
mobile ui: adhere debug flag when loading sencha touch

not that this UI has _that_ much use, but mobile users might be happy
to only load 931 KB and not 3.6 MB (3.85 times as many)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agomobile ui: implement dummy message box and scrip loader
Thomas Lamprecht [Sun, 28 May 2023 16:37:37 +0000 (18:37 +0200)]
mobile ui: implement dummy message box and scrip loader

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agowww: merge remaining touch files into mobile
Thomas Lamprecht [Sun, 28 May 2023 16:36:03 +0000 (18:36 +0200)]
www: merge remaining touch files into mobile

only the index and (empty) css files left-over, so just merge this to
where it belongs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agodrop local hosted sencha-touch source, depend on libjs-sencha-touch
Thomas Lamprecht [Sun, 28 May 2023 16:22:56 +0000 (18:22 +0200)]
drop local hosted sencha-touch source, depend on libjs-sencha-touch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agopveproxy: sort base dir mappings
Thomas Lamprecht [Sun, 28 May 2023 15:09:28 +0000 (17:09 +0200)]
pveproxy: sort base dir mappings

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agopvereport: add missing newline for style
Thomas Lamprecht [Fri, 26 May 2023 09:01:14 +0000 (11:01 +0200)]
pvereport: add missing newline for style

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>