On 30.06.20 10:24, Fabian Ebner wrote:
> dumpdir will be overwritten if a storage is specified
>
> Signed-off-by: Fabian Ebner
> ---
> PVE/VZDump.pm | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>
applied, thanks!
___
pve-devel
On 30.06.20 10:24, Fabian Ebner wrote:
> Signed-off-by: Fabian Ebner
> ---
> PVE/VZDump.pm | 19 +--
> 1 file changed, 9 insertions(+), 10 deletions(-)
>
>
applied, thanks!
___
pve-devel mailing list
pve-devel@pve.proxmox.com
dumpdir will be overwritten if a storage is specified
Signed-off-by: Fabian Ebner
---
PVE/VZDump.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index dceeb9ca..ce8796d9 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -449,7 +449,9 @@
Signed-off-by: Fabian Ebner
---
PVE/Storage/PBSPlugin.pm | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/PVE/Storage/PBSPlugin.pm b/PVE/Storage/PBSPlugin.pm
index fba4b2b..f029e55 100644
--- a/PVE/Storage/PBSPlugin.pm
+++ b/PVE/Storage/PBSPlugin.pm
@@ -88,6
Signed-off-by: Fabian Ebner
---
PVE/Storage/CIFSPlugin.pm | 1 +
PVE/Storage/CephFSPlugin.pm| 1 +
PVE/Storage/DirPlugin.pm | 5 ++--
PVE/Storage/GlusterfsPlugin.pm | 5 ++--
PVE/Storage/NFSPlugin.pm | 5 ++--
PVE/Storage/PBSPlugin.pm | 1 +
PVE/Storage/Plugin.pm
Only expect the logfilename if the archive has a standard name.
This also gives a mechanism to get an untainted filename.
archive_info can take either a volume ID or a path as it's
currently implemented. This is useful for vzdump when there
is no storage (i.e. for 'vzdump --dumpdir'). Add a test
Patch #12 is the 'real' change needed for the manager to get
'prune-backups' working. Patch #13 gets rid of 'maxfiles' internally,
re-using 'prune-backups' instead.
Most other new patches/changes are in preparation for those two,
to make it possible to translate maxfiles to keep-last and not have
Signed-off-by: Fabian Ebner
---
Changes in v3:
* die if unlink of archive fails
* check whether log file exists before trying to unlink it
* warn if unlink of log file fails
PVE/Storage.pm | 17 +
1 file changed, 17 insertions(+)
diff --git a/PVE/Storage.pm
On 30.06.20 10:24, Fabian Ebner wrote:
> No functional change is intended.
> The preference order is: option, then storage config, then vzdump defaults.
>
> Signed-off-by: Fabian Ebner
> ---
>
> IMHO the old method was very confusing.
>
> PVE/VZDump.pm | 11 ---
> 1 file changed, 4
On 30.06.20 10:24, Fabian Ebner wrote:
> Signed-off-by: Fabian Ebner
> ---
> PVE/API2/Storage/Status.pm | 65 +++---
> 1 file changed, 32 insertions(+), 33 deletions(-)
>
>
applied, thanks!
___
pve-devel mailing list
For the use case with '--dumpdir', it's not possible to call prune_backups
directly, so a little bit of special handling is required there.
Signed-off-by: Fabian Ebner
---
Note that $opts->{'prune-backups'} is always defined after new().
PVE/VZDump.pm | 39
Signed-off-by: Fabian Ebner
---
PVE/API2/Storage/Makefile| 2 +-
PVE/API2/Storage/PruneBackups.pm | 153 +++
PVE/API2/Storage/Status.pm | 7 ++
PVE/CLI/pvesm.pm | 27 ++
4 files changed, 188 insertions(+), 1 deletion(-)
create
Signed-off-by: Fabian Ebner
---
PVE/VZDump.pm | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index ce8796d9..9bdb5ab0 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -84,19 +84,18 @@ sub storage_info {
Signed-off-by: Fabian Ebner
---
PVE/API2/Storage/Status.pm | 65 +++---
1 file changed, 32 insertions(+), 33 deletions(-)
diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm
index 14f5930..d9d9b36 100644
--- a/PVE/API2/Storage/Status.pm
+++
and make the two options mutally exclusive.
Defines the backup limit for prune-backups as the sum of all
keep-values.
There is no perfect way to determine whether a
new backup would trigger a removal with prune later:
1. we would need a way to include the not yet existing backup
in a 'prune
No functional change is intended.
The preference order is: option, then storage config, then vzdump defaults.
Signed-off-by: Fabian Ebner
---
IMHO the old method was very confusing.
PVE/VZDump.pm | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/PVE/VZDump.pm
Implement it for generic storages supporting backups
(i.e. directory-based storages) and add a wrapper for PBS.
Signed-off-by: Fabian Ebner
---
Changes in v3:
* When checking if all keep-options are 0, improve readability
by using hash values directly
* For creation times in
to avoid some code duplication.
Signed-off-by: Fabian Ebner
---
PVE/VZDump.pm | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index b1107eac..e8669665 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -631,10 +631,15 @@
On 07.05.20 14:28, Tim Marx wrote:
> Signed-off-by: Tim Marx
> ---
>
> Notes:
> changed since v1:
> * store user info as product independent object
>
> Utils.js | 23 ---
> 1 file changed, 20 insertions(+), 3 deletions(-)
>
>
Had to resolve the merge conflict due
Prints QEMU errors that occur *after* the "-daemonize" fork to the
systemd journal, instead of pushing them into /dev/null like before.
Signed-off-by: Stefan Reiter
---
Useful for debugging rust panics for example. I'm sure there's other ways to go
about this (log files? pass the journal fd
On 17.06.20 15:32, Oguz Bektas wrote:
> /usr/share/zoneinfo/zone.tab has the valid list of time zones.
>
> Signed-off-by: Oguz Bektas
> ---
>
> v1->v2:
> * don't use array for verifying format
>
> src/PVE/JSONSchema.pm | 19 +++
> 1 file changed, 19 insertions(+)
>
> diff
Signed-off-by: Alexandre Derumier
---
PVE/Network/SDN/Controllers/EvpnPlugin.pm | 4 ++--
PVE/Network/SDN/Zones/EvpnPlugin.pm | 2 +-
PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm
do a simple check to see if our $opt is already in the delete section.
Signed-off-by: Oguz Bektas
---
src/PVE/LXC/Config.pm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 0a28380..237e2e5 100644
--- a/src/PVE/LXC/Config.pm
+++
hi,
is anyone reviewing this patch?
On Wed, Jun 17, 2020 at 03:32:28PM +0200, Oguz Bektas wrote:
> this patch series implements the 'timezone' option for containers.
>
> more detailed info is in the commit messages.
>
> v1->v2:
>
> * don't use an array of valid timezones in format
On 07.05.20 14:28, Tim Marx wrote:
> Signed-off-by: Tim Marx
> ---
>
> Notes:
> changed since v1:
> * store token including the product prefix
> * add token id to username to make it more obvious that it's note the
> actual user
>
> www/manager6/Workspace.js | 5 ++
>
comments inline
> On 06/30/2020 2:06 PM Stefan Reiter wrote:
>
>
> Prints QEMU errors that occur *after* the "-daemonize" fork to the
> systemd journal, instead of pushing them into /dev/null like before.
>
> Signed-off-by: Stefan Reiter
> ---
>
> Useful for debugging rust panics for
26 matches
Mail list logo