This function copys the content of a container disk,
with the following parameters
--stats "give some file-transfer stats" for print output
--sparse "handle sparse files efficiently"
--whole-file "copy files whole" to need less ressources
--archive "-rlptgoD" to call this para
--acls "preserve ACLs
so there is also the capability to single mp
---
src/PVE/LXC.pm | 31 ---
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index beec884..d6cea24 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2022,6 +2022,25 @@ sub c
*** BLURB HERE ***
Wolfgang Link (9):
add function rsync_disk
extract umount mountpoint form umount_all
add function umount_raw_file
add mount_raw_file
add function copy disk
add complete_storage this function gets all storages where you can run
CT's
implement auto compl
---
src/PVE/LXC.pm | 22 ++
1 file changed, 22 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index d6cea24..383a6da 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2022,6 +2022,28 @@ sub check_ct_modify_config_perm {
return 1;
}
+sub umount_raw_file {
---
src/PVE/API2/LXC.pm | 87 +
src/PVE/CLI/pct.pm | 2 ++
src/PVE/LXC.pm | 4 +--
3 files changed, 91 insertions(+), 2 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 165e327..dbf4057 100644
--- a/src/PVE/API2/
---
www/manager/Makefile | 1 +
www/manager/lxc/MPMove.js| 118 +++
www/manager/lxc/Resources.js | 30 ++-
3 files changed, 148 insertions(+), 1 deletion(-)
create mode 100644 www/manager/lxc/MPMove.js
diff --git a/www/manager/Makefi
now it is possible to make a snapshot and mount it to backup it.
---
src/PVE/LXC.pm | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index c61df23..9b13af4 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1843,6 +1843,18 @@ s
Not really.
It makes an shnapshot but can't mount the snapshot, but we get no error.
Try to mount a snapshot with this code.
> Dietmar Maurer hat am 18. November 2015 um 17:38
> geschrieben:
>
>
> > now it is possible to make a snapshot and mount it to backup it.
>
> This works for me without
Yes I will do tomorrow.
> Dietmar Maurer hat am 18. November 2015 um 17:57
> geschrieben:
>
>
> > Not really.
> > It makes an shnapshot but can't mount the snapshot, but we get no error.
> > Try to mount a snapshot with this code.
>
> Please can you provide a test case for this claim?
___
Zfs subvol snapshots are always mounted under $path_of_subvol/.zfs/$snapname
---
PVE/Storage/ZFSPoolPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index 0c1d8d9..91cc44f 100644
--- a/PVE/Storage/ZFSPoolPlugi
zfs subvol snapshots are allays mounted on $path_of_subvol/.zfs/$snapname
---
src/PVE/LXC.pm | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index c61df23..aa705c8 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2141,16 +2141,11 @@
zfs subvol snapshots are allays mounted on $path_of_subvol/.zfs/$snapname
---
src/PVE/LXC.pm | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index c61df23..aa705c8 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2141,16 +2141,11 @@
Zfs subvol snapshots are always mounted under $path_of_subvol/.zfs/$snapname
---
PVE/Storage/ZFSPoolPlugin.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm
index 0c1d8d9..dc9ece7 100644
--- a/PVE/Storage/ZFSPoolP
Only the 0001-Change-zfspoolplugin-path-when-snapshot-is-given.patch is changed.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
it is necessary to copy firewall config first in tmp dir to prevent xattr
warnings
---
src/PVE/VZDump/LXC.pm | 4
1 file changed, 4 insertions(+)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 72ad9c0..99a08b2 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
on LXC restore import firewall settings
---
src/PVE/LXC/Create.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 58db2d2..cac7ec2 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -155,6 +155,8 @@ sub restore_and_configure
on LXC restore import firewall settings
---
src/PVE/LXC/Create.pm | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 58db2d2..02f909a 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -10,6 +10,7 @@ use PV
---
src/PVE/Tools.pm | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index 125c307..32d14c4 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tools.pm
@@ -41,6 +41,7 @@ template_replace
safe_print
trim
extract_param
+file_atomic_copy
);
my $pvelogdir
This patch series will include the firewall setting in the vzdump backup.
The firewall settings will always restored from the dumpfile,
if there is a firewall config include the dumpfile.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.
---
PVE/VZDump/QemuServer.pm | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index 66f00b5..68b45f1 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -171,6 +171,7 @@ sub a
---
PVE/QemuServer.pm | 4
1 file changed, 4 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 81a1c84..0c76083 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5300,6 +5300,10 @@ sub restore_vma_archive {
my $fh = IO::File->new($cfgfn, "r") ||
now it is possible to backup the firewall setting with qemu live backup
---
debian/patches/add_firewall_to_vma.patch | 91
debian/patches/series| 1 +
2 files changed, 92 insertions(+)
create mode 100644 debian/patches/add_firewall_to_vma.patc
This patch series will include the firewall setting form KVM in the vzdump
backup.
The firewall settings will always restored from the dumpfile,
if there is a firewall config include the dumpfile.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
ht
it is necessary to copy firewall config first in tmp dir to prevent xattr
warnings
---
src/PVE/VZDump/LXC.pm | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 72ad9c0..e83e922 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.
on LXC restore import firewall settings
---
src/PVE/LXC/Create.pm | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 58db2d2..7706402 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -10,6 +10,7 @@ use PV
This patch series will include the firewall setting in the vzdump backup.
The firewall settings will always restored from the dumpfile,
if there is a firewall config include the dumpfile.
Changes in V2 naming of file_atomic_copy to file_copy
___
pve-d
it is necessary to copy firewall config first in tmp dir to prevent xattr
warnings
---
src/PVE/VZDump/LXC.pm | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 72ad9c0..4618f0b 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.
to have a save copy.
---
src/PVE/Tools.pm | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index 125c307..ba3f137 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tools.pm
@@ -41,6 +41,7 @@ template_replace
safe_print
trim
extract_param
+file_copy
);
now it is possible to backup the firewall setting with qemu live backup
---
debian/patches/add_firewall_to_vma.patch | 91
debian/patches/series| 1 +
2 files changed, 92 insertions(+)
create mode 100644 debian/patches/add_firewall_to_vma.patc
---
PVE/QemuServer.pm | 4
1 file changed, 4 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index e5c8e0d..1c89684 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5303,6 +5303,10 @@ sub restore_vma_archive {
my $fh = IO::File->new($cfgfn, "r") ||
---
PVE/VZDump/QemuServer.pm | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm
index 66f00b5..3da0eba 100644
--- a/PVE/VZDump/QemuServer.pm
+++ b/PVE/VZDump/QemuServer.pm
@@ -171,6 +171,7 @@ sub a
This patch series will include the firewall setting form KVM in the vzdump
backup.
The firewall settings will always restored from the dumpfile,
if there is a firewall config include the dumpfile.
Changes in V2 naming of file_atomic_copy to file_copy
___
now it is possible to backup the firewall setting with qemu live backup
---
debian/patches/add_firewall_to_vma.patch | 90
debian/patches/series| 1 +
2 files changed, 91 insertions(+)
create mode 100644 debian/patches/add_firewall_to_vma.patc
---
debian/patches/add_firewall_to_vma.patch | 93 +---
1 file changed, 73 insertions(+), 20 deletions(-)
diff --git a/debian/patches/add_firewall_to_vma.patch
b/debian/patches/add_firewall_to_vma.patch
index 5df800d..0ab20a0 100644
--- a/debian/patches/add_firewall_t
If map is not set you get a warning of an empty variable without real
information.
And when you try to start the container, it will not start without an
explication.
---
src/PVE/LXC.pm | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 860901f..af3b9b7 10064
If map is not set you get a warning of an empty variable without real
information.
And when you try to start the container, it will not start without an
explication.
---
src/PVE/LXC.pm | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 860901f..af3b9b7 10064
---
src/PVE/LXC.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 33fca55..364c761 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -2363,6 +2363,8 @@ sub create_disks {
$conf->{$ms} = print_ct_mountpoint($mountpoint, $ms eq
'rootfs'
rootfs need no mp because it is always /
---
src/PVE/API2/LXC.pm | 10 +-
src/PVE/CLI/pct.pm| 9 -
src/PVE/LXC.pm| 25 ++---
src/PVE/LXC/Create.pm | 2 +-
4 files changed, 36 insertions(+), 10 deletions(-)
diff --git a/src/PVE/API2/LXC.pm b/src/
This is useful on large zfs pools because they take longer to response.
---
PVE/Storage/ZFSPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/ZFSPlugin.pm b/PVE/Storage/ZFSPlugin.pm
index 5074ba4..d6339ce 100644
--- a/PVE/Storage/ZFSPlugin.pm
+++ b/PVE/Storag
To prevent error at VM starting, when we passthrough a harddrive from host to
vm.
---
PVE/QemuServer.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index d72ed6d..70a03e0 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -1285,6 +1285,7 @@ sub
This function checks if this pid is a current active process.
---
PVE/RPCEnvironment.pm | 10 ++
1 file changed, 10 insertions(+)
diff --git a/PVE/RPCEnvironment.pm b/PVE/RPCEnvironment.pm
index b3a7dc7..337de1a 100644
--- a/PVE/RPCEnvironment.pm
+++ b/PVE/RPCEnvironment.pm
@@ -1038,4 +10
We can raise the timeout because it does not matter if a worker process need
longer.
---
src/PVE/Tools.pm | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index 9f08aa6..c9343e5 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tools.pm
@@
This patch raise the timeout of the worker processed task.
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
---
src/PVE/LXC/Create.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 56ef471..67eb291 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -146,10 +146,12 @@ sub restore_and_configure {
} else {
---
PVE/QemuServer.pm | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index d10e1e5..88e288c 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5476,7 +5476,11 @@ sub restore_vma_archive {
"unable to read qemu-serve
if we do not close it, there is a change that the tunnel stays open and the
next migration will not work.
---
PVE/QemuMigrate.pm | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index 7ae3880..5da62eb 100644
---
---
PVE/QemuServer.pm | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1139438..e97fcd1 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6120,6 +6120,19 @@ sub do_snapshots_with_qemu {
return undef;
}
To prevent that one time Net:SSL and an outer time IO::Socket::SSL is loaded,
ensure that always use the same socket class.
We load the the Net:SSL in AccessControl.pm if we call pveupdate,
but if we call pveam update this module is not loaded an so the default is used
(IO::Socket::SSL).
---
PVE
To prevent that one time Net:SSL and an outer time IO::Socket::SSL is loaded,
ensure that always use the same socket class.
We load the the Net:SSL in AccessControl.pm if we call pveupdate,
but if we call pveam update this module is not loaded an so the default is used
(IO::Socket::SSL).
---
PVE
---
PVE/APLInfo.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/APLInfo.pm b/PVE/APLInfo.pm
index ec49088..f4ad617 100644
--- a/PVE/APLInfo.pm
+++ b/PVE/APLInfo.pm
@@ -265,7 +265,7 @@ sub get_apl_sources {
my $urls = [];
push @$urls, "http://download.proxmox
This patch set up the IO::Socket::SSL that all proxy(transparent, https and
http) and non proxy settings will work.
Now the server will also be verified.
---
PVE/API2/Subscription.pm | 22 +++---
PVE/APLInfo.pm | 35 ---
2 files changed, 3
---
PVE/CLI/Makefile | 2 +-
PVE/CLI/pveam.pm | 88
bin/Makefile | 7 ++---
bin/pveam| 21 ++
4 files changed, 95 insertions(+), 23 deletions(-)
create mode 100644 PVE/CLI/pveam.pm
diff --git a/PVE/CLI/Makefile b/
now it is possible to erase templates with pveam
---
PVE/CLI/pveam.pm | 45 +
1 file changed, 45 insertions(+)
diff --git a/PVE/CLI/pveam.pm b/PVE/CLI/pveam.pm
index b6adfc4..0f907cf 100644
--- a/PVE/CLI/pveam.pm
+++ b/PVE/CLI/pveam.pm
@@ -14,6 +14,7 @@
With this function you can download templates from the repositories.
---
PVE/API2/Nodes.pm | 26 --
PVE/CLI/pveam.pm | 2 ++
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index aa1fa0b..434b936 100644
--- a/PVE/API2/
This function list all the templates off a specified storage.
It also gives the size of the template.
---
PVE/CLI/pveam.pm | 65
1 file changed, 65 insertions(+)
diff --git a/PVE/CLI/pveam.pm b/PVE/CLI/pveam.pm
index e90a7d7..b6adfc4 100644
---
PVE/CLI/Makefile | 2 +-
PVE/CLI/pveam.pm | 88
bin/Makefile | 7 ++---
bin/pveam| 21 ++
4 files changed, 95 insertions(+), 23 deletions(-)
create mode 100644 PVE/CLI/pveam.pm
diff --git a/PVE/CLI/Makefile b/
---
bin/pveupdate | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/pveupdate b/bin/pveupdate
index ee75190..3a00335 100755
--- a/bin/pveupdate
+++ b/bin/pveupdate
@@ -15,7 +15,7 @@ use PVE::RPCEnvironment;
use PVE::API2::Subscription;
use PVE::API2::APT;
-initlog ('pveda
---
PVE/APLInfo.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/APLInfo.pm b/PVE/APLInfo.pm
index a18cc1f..1a50508 100644
--- a/PVE/APLInfo.pm
+++ b/PVE/APLInfo.pm
@@ -246,7 +246,7 @@ sub get_apl_sources {
my $urls = [];
push @$urls, "http://download.proxmox
Http, https proxy are supported on http and https sites.
Now the server will also be verified.
---
PVE/API2/Subscription.pm | 21 -
PVE/APLInfo.pm | 15 +++
2 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/PVE/API2/Subscription.pm b/PVE/API
It is waste of disk space to allocate more then 12GB swap-partition.
---
proxinstall | 1 +
1 file changed, 1 insertion(+)
diff --git a/proxinstall b/proxinstall
index 3469e64..9eb48d1 100755
--- a/proxinstall
+++ b/proxinstall
@@ -865,6 +865,7 @@ sub compute_swapsize {
my $ss = int ($tot
Gives the possibility to install Proxmox VE on nvme SSD.
---
proxinstall | 2 ++
1 file changed, 2 insertions(+)
diff --git a/proxinstall b/proxinstall
index eaa689b..3469e64 100755
--- a/proxinstall
+++ b/proxinstall
@@ -540,6 +540,8 @@ sub get_partition_dev {
return "${dev}p$partnum";
---
www/manager/storage/GlusterFsEdit.js | 8
1 file changed, 8 deletions(-)
diff --git a/www/manager/storage/GlusterFsEdit.js
b/www/manager/storage/GlusterFsEdit.js
index f0d3b4f..fd8f569 100644
--- a/www/manager/storage/GlusterFsEdit.js
+++ b/www/manager/storage/GlusterFsEdit.js
@@ -1
GlusterFS is slower if you use the client and not the QEMU driver.
So to guaranty that GlusterFS perform good allow only KVM/QEMU disk images.
Also remove the vmdk format because it makes no sense. It is much slower then
qcow2.
---
PVE/Storage/GlusterfsPlugin.pm | 4 ++--
1 file changed, 2 insert
Because there are situation where you can slow down the KVM/QEMU disk image.
On 03/01/2016 02:22 PM, Stoyan Marinov wrote:
> May I ask why? What's wrong with keeping your ISO images and/or backups on
> gluster?
>
> On Mar 1, 2016, at 3:20 PM, Wolfgang Link wrote:
>
>&
This is necessary, if the volume group "pve" exists, say from a previous
installation.
But whitout printing the reason no user will understand why this happens.
---
proxinstall | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/proxinstall b/proxinstall
index ec15477..7a67
---
PVE/Storage/GlusterfsPlugin.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/GlusterfsPlugin.pm b/PVE/Storage/GlusterfsPlugin.pm
index 315c5a6..951db50 100644
--- a/PVE/Storage/GlusterfsPlugin.pm
+++ b/PVE/Storage/GlusterfsPlugin.pm
@@ -98,7 +98,7 @@ sub type
---
www/manager/storage/GlusterFsEdit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager/storage/GlusterFsEdit.js
b/www/manager/storage/GlusterFsEdit.js
index f0d3b4f..0b43b94 100644
--- a/www/manager/storage/GlusterFsEdit.js
+++ b/www/manager/storage/GlusterFsEdit.js
@@ -130,6 +1
syscmd use run_command with noout what return the only exitcode.
> Dietmar Maurer hat am 2. März 2016 um 17:11 geschrieben:
>
>
> comments inline:
>
> > diff --git a/proxinstall b/proxinstall
> > index ec15477..7a67623 100755
> > --- a/proxinstall
> > +++ b/proxinstall
> > @@ -834,8 +834,11 @@
This is necessary, if the volume group "pve" exists, say from a previous
installation.
But whitout printing the reason no user will understand why this happens.
---
proxinstall | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/proxinstall b/proxinstall
index ec15477..927
---
PVE/Storage.pm | 20
1 file changed, 20 insertions(+)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 140f8ae..044e866 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -1270,4 +1270,24 @@ sub complete_volume {
return $res;
}
+sub is_image_on_zfs {
+my ($
If a Vm failed to start, check if Vm disk is on ZFS (filesystem) and "No cache"
or "Default" is set as Cache mode.
---
PVE/QemuServer.pm | 11 +++
1 file changed, 11 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 17b43d2..f6cde2c 100644
--- a/PVE/QemuServer.pm
+++
---
PVE/Storage.pm | 20
1 file changed, 20 insertions(+)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 140f8ae..af3facd 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -1270,4 +1270,24 @@ sub complete_volume {
return $res;
}
+sub is_image_on_zfs {
+my ($
If a Vm failed to start, check if Vm disk is on ZFS (filesystem) and "No cache"
or "Default" is set as Cache mode.
---
PVE/QemuServer.pm | 11 +++
1 file changed, 11 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index c0907bc..39ebd07 100644
--- a/PVE/QemuServer.pm
+++
The backported patch ca369d51b3e1649be4a72addd6d6a168cfb3f537 from the
kernel.org repo
has an bug in it.
The fix where made here patch commit d0eb20a863ba7dc1d3f4b841639671f134560be2
---
iSCSI-block-sd-Fix-device-imposed-transfer-length-limits.patch | 2 +-
1 file changed, 1 insertion(+), 1 dele
---
PVE/Storage.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 140f8ae..a248773 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -512,7 +512,7 @@ sub storage_migrate {
my $snap = "zfs snapshot $zfspath\@__migration__";
No the plugin also returns the parent vmid and base volume when a link clone is
used
---
PVE/Storage.pm | 2 +-
PVE/Storage/ZFSPoolPlugin.pm | 17 +++--
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index e7ff5a0..3c233d
Now we check before we migrate, if a storage is a licked clone.
If this is true we check also if it is on a shared storage because outer way it
would not possible to migrate.
---
PVE/QemuMigrate.pm | 27 +++
1 file changed, 27 insertions(+)
diff --git a/PVE/QemuMigrate.pm
I will check, but AFIK we have a check what prevent this.
> Dietmar Maurer hat am 17. März 2016 um 07:10
> geschrieben:
>
>
> applied.
>
> But I wonder how that whole storage_migrate() works with 'cloned' images?
___
pve-devel mailing list
pve-devel@
---
PVE/Storage.pm | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index a248773..e7ff5a0 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -510,18 +510,19 @@ sub storage_migrate {
my $zfspath = "$scfg->{pool}\/$volname";
The new naming is coherent to Dir plugin.
So if we make an licked clone the parent will be coded in the path of the
storage.
---
PVE/Storage/ZFSPoolPlugin.pm | 30 +++---
1 file changed, 19 insertions(+), 11 deletions(-)
diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/St
This patch reconfigured the rsync parameters, so the fs keeps all settings and
works recursive.
---
PVE/Storage.pm | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index e7ff5a0..415301a 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.
acme.sh DNS plugins expect a configuration in which the login information
is stored.
We pass the credentials with the command.
This function supports the expected behavior of the plugins.
Signed-off-by: Wolfgang Link
---
src/proxmox-acme | 19 +++
1 file changed, 19 insertions
And remove the call of standalone plugin directly.
Prepare all necessary data for the plugin.
Signed-off-by: Wolfgang Link
---
PVE/API2/ACME.pm | 35 +++
1 file changed, 27 insertions(+), 8 deletions(-)
diff --git a/PVE/API2/ACME.pm b/PVE/API2/ACME.pm
index
We use these functions to add and remove a txt record via the dnsapi.
Signed-off-by: Wolfgang Link
---
src/proxmox-acme | 68
1 file changed, 68 insertions(+)
diff --git a/src/proxmox-acme b/src/proxmox-acme
index b4e01d8..ff9fec8 100644
--- a
Signed-off-by: Wolfgang Link
---
.gitignore | 5 +
Makefile | 40
debian/changelog | 5 +
debian/compat| 1 +
debian/control | 17 +
debian/copyright | 22
Signed-off-by: Wolfgang Link
---
data/PVE/Cluster.pm | 1 +
data/src/status.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm
index 068d626..56704ec 100644
--- a/data/PVE/Cluster.pm
+++ b/data/PVE/Cluster.pm
@@ -54,6 +54,7 @@ my $observed
Allow additional domains with different sub-plugins,
However, only one domain per additional entry is permitted.
Signed-off-by: Wolfgang Link
---
PVE/NodeConfig.pm | 38 ++
1 file changed, 38 insertions(+)
diff --git a/PVE/NodeConfig.pm b/PVE/NodeConfig.pm
With this configuration it is possible to use many different plugins
with different providers and users.
Signed-off-by: Wolfgang Link
---
PVE/API2/ACMEPlugin.pm | 149 +
PVE/API2/Cluster.pm| 6 ++
PVE/API2/Makefile | 1 +
PVE/CLI/pvenode.pm
Signed-off-by: Wolfgang Link
---
PVE/NodeConfig.pm | 7 ---
1 file changed, 7 deletions(-)
diff --git a/PVE/NodeConfig.pm b/PVE/NodeConfig.pm
index 560da116..6ea2dac1 100644
--- a/PVE/NodeConfig.pm
+++ b/PVE/NodeConfig.pm
@@ -243,13 +243,6 @@ sub parse_acme {
return $res;
}
-sub
Signed-off-by: Wolfgang Link
---
PVE/API2/APT.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/API2/APT.pm b/PVE/API2/APT.pm
index 08345ec9..0bb9cf0f 100644
--- a/PVE/API2/APT.pm
+++ b/PVE/API2/APT.pm
@@ -550,6 +550,7 @@ __PACKAGE__->register_method({
libpve-guest-com
Signed-off-by: Wolfgang Link
---
debian/control | 1 +
src/PVE/ACME.pm| 533 -
src/PVE/ACME/Challenge.pm | 22 --
src/PVE/ACME/StandAlone.pm | 71 -
4 files changed, 1 insertion(+), 626 deletions(-)
delete mode 100644 src/PVE
These functions also extract the data required for the plugin.
Signed-off-by: Wolfgang Link
---
PVE/API2/ACME.pm | 27 +++
1 file changed, 27 insertions(+)
diff --git a/PVE/API2/ACME.pm b/PVE/API2/ACME.pm
index e69a563b..7bb3ab95 100644
--- a/PVE/API2/ACME.pm
+++ b/PVE
Signed-off-by: Wolfgang Link
---
PVE/API2/ACME.pm | 26 ++
PVE/NodeConfig.pm | 44 ++--
2 files changed, 48 insertions(+), 22 deletions(-)
diff --git a/PVE/API2/ACME.pm b/PVE/API2/ACME.pm
index 7bb3ab95..d215739b 100644
--- a/PVE
It is a build dependency as it is needed for the man generator.
Signed-off-by: Wolfgang Link
---
debian/control | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 5df624df..4b0de491 100644
--- a/debian/control
+++ b/debian/control
Signed-off-by: Wolfgang Link
---
src/PVE/ACME/Challenge.pm | 47 +++
1 file changed, 47 insertions(+)
diff --git a/src/PVE/ACME/Challenge.pm b/src/PVE/ACME/Challenge.pm
index 40d32b6..649c228 100644
--- a/src/PVE/ACME/Challenge.pm
+++ b/src/PVE/ACME
.
Signed-off-by: Wolfgang Link
---
src/PVE/ACME/StandAlone.pm | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/PVE/ACME/StandAlone.pm b/src/PVE/ACME/StandAlone.pm
index f48d638..0b4aaae 100644
--- a/src/PVE/ACME/StandAlone.pm
+++ b/src/PVE/ACME/StandAlone.pm
@@ -12,6 +12,27
>From Wolfgang Link # This line is ignored.
From: Wolfgang Link
Reply-To:
Subject: RFC for ACME DNS Challenge V3
In-Reply-To:
The acme_sh project is used as a DNS API plugin system.
So we can reuse the already defiend plugins.
It is used as subplugins.
The acme.sh script is replaced
Signed-off-by: Wolfgang Link
---
src/Makefile | 9 +
src/PVE/ACME.pm| 533 +
src/PVE/ACME/Challenge.pm | 22 ++
src/PVE/ACME/StandAlone.pm | 71 +
4 files changed, 635 insertions(+)
create mode 100644 src/PVE/ACME.pm
create
This can be used at setup time to get feedback on the DNS plugin parameters.
Signed-off-by: Wolfgang Link
---
src/proxmox-acme | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/proxmox-acme b/src/proxmox-acme
index ff9fec8..566588f 100644
--- a/src
This function helps to retrieve all subplugins
that are supported by the plugins.
This will later be used as an enumeration for entering parameters.
Signed-off-by: Wolfgang Link
---
src/PVE/ACME.pm | 21 +
src/PVE/ACME/DNSChallenge.pm | 4
src/PVE/ACME
901 - 1000 of 1022 matches
Mail list logo