Re: [pve-devel] [PATCH xtermjs 1/4] change from submodule to tgz download and update to 3.2.0

2018-04-11 Thread Wolfgang Bumiller
On Tue, Apr 10, 2018 at 02:16:57PM +0200, Dominik Csapak wrote: > since xtermjs does not ship the built version anymore in git > (starting with 3.0.0), we change it so that we have a download > target where we download the tarball from npm > > Signed-off-by: Dominik Csapak

[pve-devel] [PATCH cluster] create known_hosts symlink on join

2018-04-11 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- data/PVE/Cluster.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index fabf5bc..ef7a541 100644 --- a/data/PVE/Cluster.pm +++ b/data/PVE/Cluster.pm @@ -1890,7 +1890,7 @@ sub

[pve-devel] applied: [PATCH cluster] add missing package for 'remote_node_ip'

2018-04-11 Thread Wolfgang Bumiller
applied On Tue, Apr 10, 2018 at 01:46:39PM +0200, Dominik Csapak wrote: > without this, we would get perl errors when joining > > Signed-off-by: Dominik Csapak > --- > data/PVE/CLI/pvecm.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[pve-devel] [RFC manager 3/5] add ACME account API endpoints

2018-04-11 Thread Fabian Grünbichler
for registering, updating, refreshing and deactiving a PVE-managed ACME account, as well as for retrieving the (optional, but required if available) terms of service of the ACME API provider / CA. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile | 1 +

[pve-devel] [RFC common 1/4] acme: add ACME library

2018-04-11 Thread Fabian Grünbichler
this implements those parts of draft-ietf-acme-acme-09 which are needed to use Let's Encrypt's v2 API. (based on an internal implement for the Let's Encrypt v1 API) Co-Authored-By: Wolfgang Bumiller Signed-off-by: Fabian Grünbichler ---

[pve-devel] [RFC common 4/4] add Certificate helper

2018-04-11 Thread Fabian Grünbichler
general purpose certificate related helper functions Signed-off-by: Fabian Grünbichler --- src/Makefile | 1 + src/PVE/Certificate.pm | 120 + test/acme-test.pl | 8 ++-- 3 files changed, 126

[pve-devel] [RFC manager 1/5] add CertHelpers utility

2018-04-11 Thread Fabian Grünbichler
PVE-specific certificate helper functions Signed-off-by: Fabian Grünbichler --- PVE/Makefile | 1 + PVE/CertHelpers.pm | 104 + 2 files changed, 105 insertions(+) create mode 100644 PVE/CertHelpers.pm diff

[pve-devel] [RFC common 2/4] acme: add challenge plugins

2018-04-11 Thread Fabian Grünbichler
Signed-off-by: Fabian Grünbichler --- Note: HTTP:Server::Simple::CGI could be replaced by something else? src/PVE/ACME/Challenge.pm | 22 ++ src/PVE/ACME/StandAlone.pm | 74 ++ 2 files changed, 96 insertions(+)

[pve-devel] [RFC manager 2/5] add node configuration file and API

2018-04-11 Thread Fabian Grünbichler
this currently only contains a description and the node-specific ACME configuration, but I am sure we can find other goodies to put there. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile | 1 + PVE/Makefile | 1 + PVE/API2/NodeConfig.pm |

[pve-devel] [RFC manager 5/5] add certificates API endpoints

2018-04-11 Thread Fabian Grünbichler
to allow retrieval of certificate information, and uploading or removing of custom certificate files. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile| 1 + PVE/API2/Certificates.pm | 202 +++

[pve-devel] [RFC common 3/4] build: install ACME files

2018-04-11 Thread Fabian Grünbichler
Signed-off-by: Fabian Grünbichler --- src/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/src/Makefile b/src/Makefile index e544882..0754666 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,6 +7,9 @@ MAN1DIR=${MANDIR}/man1/

[pve-devel] [RFC cluster/common/manager 0/10] ACME library and certificate management

2018-04-11 Thread Fabian Grünbichler
this patch series is a rough first draft implementing the following features: - Certificate utility module (pve-common) - ACME v9 / Let's Encrypt v2 API client library (pve-common) - PVE specific Certificate helper utility (pve-manager) - new per-node configuration file in

[pve-devel] [RFC manager 4/5] add ACME certificate API endpoints

2018-04-11 Thread Fabian Grünbichler
for creating/ordering a new certificate and renewing respectively revoking an existing one. Signed-off-by: Fabian Grünbichler --- PVE/API2/Makefile | 1 + PVE/API2/ACME.pm | 319 ++ 2 files changed, 320

[pve-devel] [RFC cluster] cluster: add cfs_lock_acme

2018-04-11 Thread Fabian Grünbichler
to lock an ACME account config file Signed-off-by: Fabian Grünbichler --- data/PVE/Cluster.pm | 8 1 file changed, 8 insertions(+) diff --git a/data/PVE/Cluster.pm b/data/PVE/Cluster.pm index fabf5bc..d0bf452 100644 --- a/data/PVE/Cluster.pm +++

[pve-devel] [PATCH cluster] create known_hosts symlink on join

2018-04-11 Thread Wolfgang Bumiller
applied, but it looks like the parameter was supposed to be removed entirely? It's always 1 now, ... On Wed, Apr 11, 2018 at 09:26:38AM +0200, Dominik Csapak wrote: > Signed-off-by: Dominik Csapak > --- > data/PVE/Cluster.pm | 2 +- > 1 file changed, 1 insertion(+), 1

[pve-devel] BUG? New software package available

2018-04-11 Thread Detlef Bracker
Dear, as I have read ZFS in Version 0.7.7 has a big bug - heavy data loosing ZFS / ZoL ! So why you bring now out a new update with this packages: zfs-initramfs: 0.7.6-pve1~bpo9 ==> 0.7.7-pve1~bpo9 zfsutils-linux: 0.7.6-pve1~bpo9 ==> 0.7.7-pve1~bpo9 libzfs2linux: 0.7.6-pve1~bpo9 ==>

Re: [pve-devel] avoiding VMID reuse

2018-04-11 Thread Lauri Tirkkonen
On Tue, Mar 13 2018 11:15:23 +0200, Lauri Tirkkonen wrote: > > Sorry if I misunderstood you but VMIDs are already _guaranteed_ to be > > unique cluster wide, so also unique per node? > > I'll try to clarify: if I create a VM that gets assigned vmid 100, and > use zfs for storage, its first disk

Re: [pve-devel] BUG? New software package available

2018-04-11 Thread Dominik Csapak
On 04/11/2018 03:05 PM, Detlef Bracker wrote: Dear, as I have read ZFS in Version 0.7.7 has a big bug - heavy data loosing ZFS / ZoL ! So why you bring now out a new update with this packages: zfs-initramfs: 0.7.6-pve1~bpo9 ==> 0.7.7-pve1~bpo9 zfsutils-linux: 0.7.6-pve1~bpo9 ==>

Re: [pve-devel] BUG? New software package available

2018-04-11 Thread Detlef Bracker
Dear, in last mail of this thread Fabian write: the bug is only in the kernel module code, so the ZFS user space packages have not been updated (and don't need to be in PVE's case). and before Lindsay write: I notice that zfs 0.7.7 has arrived in the no-sub repo – it has a reasonably serious

[pve-devel] [PATCH v3 storage 0/2] show storage-utilization per pool

2018-04-11 Thread Alwin Antreich
Changes from v2 -> v3: - added comments to the status method for better understanding the calculation - had whitespace issues (again :/) Alwin Antreich (2): Fix #1542: show storage utilization per pool Refactor of method build_cmd and path PVE/CLI/pvesm.pm | 1 + PVE/Storage.pm

[pve-devel] [PATCH v3 storage 2/2] Refactor of method build_cmd and path

2018-04-11 Thread Alwin Antreich
Method build_cmd and path use similar code to generate the ceph command line or qemu config parameters. They now use the private method ceph_connect_option for parameter generation. Signed-off-by: Alwin Antreich --- PVE/Storage/RBDPlugin.pm | 113

[pve-devel] [PATCH v3 storage 1/2] Fix #1542: show storage utilization per pool

2018-04-11 Thread Alwin Antreich
- get the percent_used value for a ceph pool and calculate it where ceph doesn't supply it (pre kraken) - use librados2-perl for pool status - add librados2-perl as build-depends and depends in debian/control Signed-off-by: Alwin Antreich --- PVE/CLI/pvesm.pm