910 Commits

Author SHA1 Message Date
Thomas Lamprecht
8e3d93725c bump version to 7.2-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-07-04 13:32:01 +02:00
Thomas Lamprecht
8f7a609ccf bump version to 7.2-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-21 17:04:49 +02:00
Thomas Lamprecht
ba705571ea bump version to 7.2-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-12 17:36:46 +02:00
Thomas Lamprecht
7390b45c34 d/control: bump versioned dependency for libpve-storage-perl
to ensure we can add and use namespaces for PBS storages

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-12 15:08:03 +02:00
Thomas Lamprecht
01231c34c4 bump version to 7.2-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-04 08:46:56 +02:00
Thomas Lamprecht
4f0fd28759 bump version to 7.2-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-02 17:33:40 +02:00
Thomas Lamprecht
0356688f28 d/copyright: update years
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-29 14:35:45 +02:00
Thomas Lamprecht
bac6d2b6df bump version to 7.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-29 14:29:33 +02:00
Thomas Lamprecht
cb5507a65c bump version to 7.1-13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-28 21:00:48 +02:00
Thomas Lamprecht
89c0452d6e fix replication fail count tests & bump libpve-guest-common-perl b-d
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-27 18:53:27 +02:00
Thomas Lamprecht
dcc7676af7 d/control: bump proxmox-widget-toolkit dependency to 3.4-9
to have the moved markdown notes component available, among other
things

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-26 16:06:04 +02:00
Thomas Lamprecht
6e6a64a47a d/control: drop unused liblocale-po-perl build dependency
Became unused with commit 2bb03197d3f7c33d19f0979eb08e76d5814be162
that moved the locale stuff to its own repo proxmox-i18n

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-04-26 13:34:50 +02:00
Fabian Ebner
7bffbd2241 vzdump: backup limit: only count unprotected backups
since they are the ones relevant for pruning and protected backups
have their own separate limit.

Since get_backup_file_list is only used in places where the
unprotected backups are needed, adapt the helper accordingly.

If there is a storage, use PVE::Storage::volume_list to count the
unprotected backups. This avoids a direct invocation of the
proxmox-backup-client for PBS and the limit check can also work for
external storage plugins which might not be dir-based or name the
backups differently.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-04-06 13:40:05 +02:00
Thomas Lamprecht
c155b2b4ab bump version to 7.1-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-29 17:32:29 +02:00
Fabian Grünbichler
b115cd9bd7 d/control: add missing libproxmox-rs-perl dependency
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-03-28 11:34:05 +02:00
Thomas Lamprecht
9922ee93d3 d/control: bump versioned dependency for pve-common
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-17 14:23:05 +01:00
Thomas Lamprecht
0456ca936f bump version to 7.1-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-03-17 14:09:16 +01:00
Wolfgang Bumiller
9ee9991032 switch to Proxmox::RS::CalendarEvent
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-17 14:02:16 +01:00
Thomas Lamprecht
69cd5c7519 bump version to 7.1-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-18 05:53:00 +01:00
Thomas Lamprecht
92653ca309 bump version to 7.1-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 17:01:39 +01:00
Thomas Lamprecht
6a45a9cd69 d/control: bump pve-common versioned dependencies
to make it easier guaranteeing the more capable calendar event
implementation is active for all parts using it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 16:36:02 +01:00
Thomas Lamprecht
5a20de4964 d/control: bump versioned dependency to pve-rs
for calendar event perlmod

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 15:33:41 +01:00
Thomas Lamprecht
38772ec8fa d/control: bump http-server versioned depenedency
so that the new TLS knobs actually do something

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-01-13 13:43:19 +01:00
Thomas Lamprecht
592df57243 bump version to 7.1-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-07 19:11:37 +01:00
Thomas Lamprecht
1e80487d9e bump version to 7.1-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-24 18:32:55 +01:00
Thomas Lamprecht
f180edaae1 d/control: bump http-server and mini-journalreader dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-24 18:21:35 +01:00
Thomas Lamprecht
a6aa09fdd1 d/changelog: fix typos/grammar
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-23 09:01:15 +01:00
Thomas Lamprecht
8f3b5bbb91 bump version to 7.1-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-22 20:32:25 +01:00
Thomas Lamprecht
0652096e2f bump version to 7.1-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-17 15:37:18 +01:00
Thomas Lamprecht
780fb33927 bump version to 7.1-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-16 14:22:01 +01:00
Thomas Lamprecht
7bb23a7e8c bump version to 7.1-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 17:32:36 +01:00
Thomas Lamprecht
532c6b1d24 bump version to 7.1-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 17:32:21 +01:00
Thomas Lamprecht
1e3033bc8f bump version to 7.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-12 18:49:40 +01:00
Thomas Lamprecht
1ab6a20939 bump version to 7.0-15
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:39:47 +01:00
Thomas Lamprecht
4922508517 d/control: bump versioned dependency on proxmox-widget-toolkit to 3.4-1
to have new TFA related widgets available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:39:47 +01:00
Thomas Lamprecht
f855078bc3 d/control: bump versioned dependency on libpve-access-control-perl
to ensure we're compatible regarding TFA stuff

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:39:47 +01:00
Thomas Lamprecht
4243d7490f d/control: bump versioned dependency on libpve-cluster-api-perl
for new webauthn config

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 18:35:29 +01:00
Wolfgang Bumiller
6b2028cb73 depend on and use libjs-qrcodejs
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 08:37:31 +01:00
Thomas Lamprecht
6385fb8183 replace systemd timer with pvescheduler daemon
The whole thing is already prepared for this, the systemd timer was
just a fixed periodic timer with a frequency of one minute. And we
just introduced it as the assumption was made that less memory usage
would be generated with this approach, AFAIK.

But logging 4+ lines just about that the timer was started, even if
it does nothing, and that 24/7 is not to cheap and a bit annoying.

So in a first step add a simple daemon, which forks of a child for
running jobs once a minute.
This could be made still a bit more intelligent, i.e., look if we
have jobs tor run before forking - as forking is not the cheapest
syscall. Further, we could adapt the sleep interval to the next time
we actually need to run a job (and sending a SIGUSR to the daemon if
a job interval changes such, that this interval got narrower)

We try to sync running on minute-change boundaries at start, this
emulates systemd.timer behaviour, we had until now. Also user can
configure jobs on minute precision, so they probably expect that
those also start really close to a minute change event.
Could be adapted to resync during running, to factor in time drift.
But, as long as enough cpu cycles are available we run in correct
monotonic intervalls, so this isn't a must, IMO.

Another improvement could be locking a bit more fine grained, i.e.
not on a per-all-local-job-runs basis, but per-job (per-guest?)
basis, which would improve temporary starvement  of small
high-periodic jobs through big, less peridoci jobs.
We argued that it's the user fault if such situations arise, but they
can evolve over time without noticing, especially in compolexer
setups.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-10 16:11:00 +01:00
Fabian Grünbichler
35f4efd462 d/control: bump dep on pve-storage
for disk manage with deletion

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-10 14:28:04 +01:00
Thomas Lamprecht
503866f966 d/control: bump versioned dependency for pve-cluster
ensure we got the notes property for the datacenter config and also
the newly registered/watched jobs.cfg for future pveschedule patches.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-09 18:35:14 +01:00
Fabian Grünbichler
823ae6e976 d/control: bump b-d/depends
for replication and protection changes

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-11-09 17:47:26 +01:00
Thomas Lamprecht
539442a3c9 bump version to 7.0-14
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-07 21:23:14 +01:00
Thomas Lamprecht
401a5c1f76 d/control: bump versioned dependency on libpve-storage-perl
to ensure the new selectable `preallocation` property is available.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-21 12:15:16 +02:00
Thomas Lamprecht
9242f96c78 d/control: depend on libproxmox-acme-plugins directly
was provided indirectly through libproxmox-acme-perl but we want to
downgrade it there to a recommends

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-09 14:14:56 +02:00
Dominik Csapak
4e6b6db2c4 d/postinst: use reload-or-restart instead of try-reload-or-try-restart
The only difference is that reload-or-try-restart does not do
anything if the service isn't already running, while
reload-or-restart also starts a stopped service.

We explicitly check if the service is enabled on upgrade before doing
any start/reload-or-restart action anyway. So, it would now start
daemons that were stopped but not disabled, which is not a really
valid state and would have happened on the next reboot anyway.

This starts new daemons (like the pvescheduler) automatically on a
package upgrade

Suggested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-07 10:34:24 +02:00
Thomas Lamprecht
df827e9890 bump version to 7.0-13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 20:25:08 +02:00
Thomas Lamprecht
fde3a291f3 bump version to 7.0-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-05 08:07:48 +02:00
Thomas Lamprecht
1883444486 d/lintian: update overrides
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-04 12:22:02 +02:00
Thomas Lamprecht
9efc89f6b0 d/postinst: fix lintian: command-with-path-in-maintainer-script postinst:76 /usr/bin/pvecm
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-04 12:22:02 +02:00