[pve-devel] applied: [PATCH pve-network 0/2] prepare for merging other network code

2019-06-11 Thread Thomas Lamprecht
Hi, On 6/12/19 1:02 AM, Alexandre DERUMIER wrote: > can you already apply this patch series ? (it don't touch > pve-manager/pve-common) > yes, sure, looks good and applied, thanks! ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] [PATCH pve-network 0/2] prepare for merging other network code

2019-06-11 Thread Alexandre DERUMIER
Hi, can you already apply this patch series ? (it don't touch pve-manager/pve-common) Thanks Alexandre - Mail original - De: "aderumier" À: "pve-devel" Cc: "aderumier" Envoyé: Vendredi 7 Juin 2019 06:52:11 Objet: [PATCH pve-network 0/2] prepare for merging other network code -

[pve-devel] [PATCH cluster v2 2/8] add new corosync-link format

2019-06-11 Thread Thomas Lamprecht
use a format string this time, so we can drop the parameter count a bit. With address as default_key we can still use it conveniently from CLI. There will be the link priority flag added in a future patch. Signed-off-by: Thomas Lamprecht --- changes v1 (RFC) -> v2: * drop bindnet property

[pve-devel] [PATCH cluster v2 4/8] corosync: allow to set link priorities

2019-06-11 Thread Thomas Lamprecht
For now in passive mode, a link with a higher value has a lower priority. If the current active link fails the one with the next higher priority will take over. Use 255 as maximum, as internally kronosnet uses an uin8_t variable for this, and while there can be "only" 8 links currently it may be

[pve-devel] [PATCH cluster v2 0/8] initial API adaption to corosync 3/kronosnet

2019-06-11 Thread Thomas Lamprecht
v2 with a few more patches and some changes regarding Fabian's feedback (thanks) from the initial RFC version[0]. Last two patches, both new, aren't really tested by me to much, just FYI, the others seen mostly reasonable adaptions and got smoke-tested for them, as I looked more close last time

[pve-devel] [PATCH cluster v2 3/8] cluster create: use new corosync-link format for totem interfaces

2019-06-11 Thread Thomas Lamprecht
Preparation for enhanced compatibility with new corosync 3/knet transport. Pretty straight forward switch from ringX_addr to links, *but*, for configuration backward compatibility corosync still uses "ringX_addr" as "link address", this will surely add confusion"link address", this will surely add

[pve-devel] [PATCH cluster v2 1/8] corosync config: support 'linknumber' property

2019-06-11 Thread Thomas Lamprecht
Corosync has moved its rings a layer up, i.e., abstracted away from the network layer below. That what early were called rings are now links, knet can have up to 8 all others 1, for now. Let our parser understand this change in the totem section of the config, but keep backwards compatibility and

[pve-devel] [PATCH cluster v2 5/8] node join: use new corosync link parameters

2019-06-11 Thread Thomas Lamprecht
Similar to the change to cluster creation use now also the corosync-link definition for the rest of the cluster join/add calls. As link0, former ring0, is not special anymore allow that it's not passed and only default back to nodename if it's configured in the totem section of the configuration.

[pve-devel] [PATCH cluster v2 6/8] remove now unused old corosync ringX_addr formats

2019-06-11 Thread Thomas Lamprecht
no users of this anymore, so drop it. Signed-off-by: Thomas Lamprecht --- NO changes v1 (RFC) -> v2 data/PVE/API2/ClusterConfig.pm | 16 1 file changed, 16 deletions(-) diff --git a/data/PVE/API2/ClusterConfig.pm b/data/PVE/API2/ClusterConfig.pm index 9c91880..dabdeb4 100644

[pve-devel] [PATCH cluster v2 8/8] api: join/add: generalize and allow all knet links

2019-06-11 Thread Thomas Lamprecht
allows to join clusters with more than the two links/rings we and corosync supported earlier, further it reduced the special treatment of link0 a lot. Signed-off-by: Thomas Lamprecht --- new in v2 data/PVE/API2/ClusterConfig.pm | 37 -- data/PVE/Cluster.pm

[pve-devel] [PATCH cluster v2 7/8] allow to create a cluster with all possible knet links

2019-06-11 Thread Thomas Lamprecht
This adds basic infrastructure for link[0..7] parameters and allows to use it for the create cluster call. Try to be as link independent as possible, i.e., no real link0 special handling, it'll only get set if there's no single link passed. Signed-off-by: Thomas Lamprecht --- new in v2

[pve-devel] applied: [PATCH v2 manager] change error message related to maxbackups

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 5:55 PM, Oguz Bektas wrote: > make the message a bit more informative (with help from thomas), namely > mentioning the ability to change/increase the limit. > > Signed-off-by: Oguz Bektas > --- > > v1 -> v2: > * change wording with suggestion from thomas > > PVE/VZDump.pm | 4 +++-

[pve-devel] applied: [PATCH v5 manager] fix #2190: Base64 encode SMBIOS value strings in order to allow more characters

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 3:31 PM, Christian Ebner wrote: > On some occasions e.g. license checking, the manufacturer string in the > SMBIOS settings edit has to allow characters such as whitespaces. > https://forum.proxmox.com/threads/proxmox-and-windows-rok-license-for-dell.53236/ > In principle SMBIOS allows

[pve-devel] applied: [PATCH v4 qemu 1/2] fix #2190: Base64 encode SMBIOS value strings in order to allow more characters

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 12:13 PM, Christian Ebner wrote: > On some occasions e.g. license checking, the manufacturer string in the > SMBIOS settings edit has to allow characters such as whitespaces. > https://forum.proxmox.com/threads/proxmox-and-windows-rok-license-for-dell.53236/ > In principle SMBIOS allows

[pve-devel] [PATCH v2 manager] change error message related to maxbackups

2019-06-11 Thread Oguz Bektas
make the message a bit more informative (with help from thomas), namely mentioning the ability to change/increase the limit. Signed-off-by: Oguz Bektas --- v1 -> v2: * change wording with suggestion from thomas PVE/VZDump.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [pve-devel] [PATCH manager] change error message related to maxbackups

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 5:41 PM, Oguz Bektas wrote: > On Tue, Jun 11, 2019 at 05:34:16PM +0200, Thomas Lamprecht wrote: >> not really true. >> There's a _storage_ (not drive) wide possible maxfiles limit which can >> get overwritten through the CLI or API with the --maxfile parameter of >> vzdump, so the

Re: [pve-devel] [PATCH manager] change error message related to maxbackups

2019-06-11 Thread Oguz Bektas
hi On Tue, Jun 11, 2019 at 05:34:16PM +0200, Thomas Lamprecht wrote: > On 6/11/19 5:18 PM, Oguz Bektas wrote: > > make the message to be a little more informative, namely mentioning the > > ability to change this option. > > > > Signed-off-by: Oguz Bektas > > --- > > PVE/VZDump.pm | 3 ++- > >

Re: [pve-devel] [PATCH manager] change error message related to maxbackups

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 5:18 PM, Oguz Bektas wrote: > make the message to be a little more informative, namely mentioning the > ability to change this option. > > Signed-off-by: Oguz Bektas > --- > PVE/VZDump.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/PVE/VZDump.pm

[pve-devel] [PATCH manager] change error message related to maxbackups

2019-06-11 Thread Oguz Bektas
make the message to be a little more informative, namely mentioning the ability to change this option. Signed-off-by: Oguz Bektas --- PVE/VZDump.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index 0a35eea7..0f8572fc 100644 ---

Re: [pve-devel] [PATCH v3 widget-toolkit] add network selector widget

2019-06-11 Thread Dominik Csapak
high level looks ok, some comments inline On 6/11/19 2:04 PM, Tim Marx wrote: Signed-off-by: Tim Marx --- Makefile| 1 + form/NetworkSelector.js | 121 2 files changed, 122 insertions(+) create mode 100644

Re: [pve-devel] [PATCH storage] cephfs: Exclude _netdev when mounting with fuse

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 2:28 PM, Alwin Antreich wrote: > Note: fuse3 (3.4.1) in buster supports _netdev > It got "supported" (read, ignored) by FUSE's default mount helper since quite a bit longer: https://github.com/libfuse/libfuse/commit/b32c79b97079d2de63213bbeb12d3bf57e7e6643 (included since 2.5.0,

[pve-devel] applied: [PATCH docs] move hookscript to its own section

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 2:22 PM, Dominik Csapak wrote: > it does not make sense to have it in the pci passthrough chapter > (it was there by accident) > > Signed-off-by: Dominik Csapak > --- > qm.adoc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > applied, thanks!

[pve-devel] applied: [PATCH manager] gui: ceph: fix double slash

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 2:15 PM, Tim Marx wrote: > Signed-off-by: Tim Marx > --- > www/manager6/ceph/Status.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/www/manager6/ceph/Status.js b/www/manager6/ceph/Status.js > index 9364de14..48967279 100644 > ---

[pve-devel] applied: [PATCH manager] gui: cephinstaller: fix create mon url

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 2:47 PM, Tim Marx wrote: > Signed-off-by: Tim Marx > --- > www/manager6/ceph/CephInstallWizard.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/www/manager6/ceph/CephInstallWizard.js > b/www/manager6/ceph/CephInstallWizard.js > index 65d71006..5013066c

[pve-devel] [PATCH manager] gui: cephinstaller: fix create mon url

2019-06-11 Thread Tim Marx
Signed-off-by: Tim Marx --- www/manager6/ceph/CephInstallWizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/ceph/CephInstallWizard.js b/www/manager6/ceph/CephInstallWizard.js index 65d71006..5013066c 100644 --- a/www/manager6/ceph/CephInstallWizard.js +++

[pve-devel] [PATCH storage] cephfs: Exclude _netdev when mounting with fuse

2019-06-11 Thread Alwin Antreich
fuse 2.9.x does not support the _netdev option and a cephfs storage mount fails. This patch ignores the _netdev option if 'fuse 1' is set on the cephfs storage. Signed-off-by: Alwin Antreich --- Note: fuse3 (3.4.1) in buster supports _netdev PVE/Storage/CephFSPlugin.pm | 2 +- 1 file changed,

[pve-devel] [PATCH docs] move hookscript to its own section

2019-06-11 Thread Dominik Csapak
it does not make sense to have it in the pci passthrough chapter (it was there by accident) Signed-off-by: Dominik Csapak --- qm.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qm.adoc b/qm.adoc index 2a26673..81fd39e 100644 --- a/qm.adoc +++ b/qm.adoc @@ -1081,7

[pve-devel] [PATCH manager] gui: ceph: fix double slash

2019-06-11 Thread Tim Marx
Signed-off-by: Tim Marx --- www/manager6/ceph/Status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/ceph/Status.js b/www/manager6/ceph/Status.js index 9364de14..48967279 100644 --- a/www/manager6/ceph/Status.js +++ b/www/manager6/ceph/Status.js @@ -306,7

[pve-devel] [PATCH docs] adapt pveceph documentation for nautilus

2019-06-11 Thread Dominik Csapak
replace ceph-disk with ceph-volume add note about db/wal size and note about filestore Signed-off-by: Dominik Csapak --- pveceph.adoc | 72 +--- 1 file changed, 25 insertions(+), 47 deletions(-) diff --git a/pveceph.adoc b/pveceph.adoc

Re: [pve-devel] [RFC cluster 5/6] node join: use new corosync link parameters

2019-06-11 Thread Thomas Lamprecht
On 5/29/19 10:50 AM, Fabian Grünbichler wrote: > I wonder whether we should support clusters without link0 as well? might > happen easily: > > cluster only has link0 configured > network topology change, add new link1 > deconfigure link0 > > cluster joining no longer possible without specifying

[pve-devel] [PATCH v3 widget-toolkit] add network selector widget

2019-06-11 Thread Tim Marx
Signed-off-by: Tim Marx --- Makefile| 1 + form/NetworkSelector.js | 121 2 files changed, 122 insertions(+) create mode 100644 form/NetworkSelector.js diff --git a/Makefile b/Makefile index b9dc8b9..d12a4da 100644 ---

[pve-devel] [PATCH v3 manager] ui: cephwizard: add networkselector widget

2019-06-11 Thread Tim Marx
Signed-off-by: Tim Marx --- www/manager6/ceph/CephInstallWizard.js | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/www/manager6/ceph/CephInstallWizard.js b/www/manager6/ceph/CephInstallWizard.js index 65d71006..bb7868f2 100644 ---

[pve-devel] applied: [PATCH i18n] Add a "make stats" target

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 1:43 PM, Rhonda D'Vine wrote: > It is useful to have a way to see the translation statistics. The > output could potentially get used to have an overview page about the > translations and invite people to help out through that. > > Signed-off-by: Rhonda D'Vine > --- > Makefile | 3

[pve-devel] [PATCH i18n] Add a "make stats" target

2019-06-11 Thread Rhonda D'Vine
It is useful to have a way to see the translation statistics. The output could potentially get used to have an overview page about the translations and invite people to help out through that. Signed-off-by: Rhonda D'Vine --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git

[pve-devel] [PATCH manager] ceph: pool destroy: give correct parameter for nautilus

2019-06-11 Thread Dominik Csapak
this parameter changed sometime between luminous and nautilus note that with this change, it is not possible to delete pools in luminous anymore Signed-off-by: Dominik Csapak --- PVE/Ceph/Tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Ceph/Tools.pm

[pve-devel] applied: [PATCH manager 1/3] ceph: a little luminous backwards compatibility

2019-06-11 Thread Thomas Lamprecht
applied all three patches, thanks! ___ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH v4 manager 2/2] fix #2190: Base64 encode SMBIOS value strings in order to allow more characters

2019-06-11 Thread Christian Ebner
On some occasions e.g. license checking, the manufacturer string in the SMBIOS settings edit has to allow characters such as whitespaces. https://forum.proxmox.com/threads/proxmox-and-windows-rok-license-for-dell.53236/ In principle SMBIOS allows to pass any zero terminated string to the

[pve-devel] [PATCH v4 qemu 1/2] fix #2190: Base64 encode SMBIOS value strings in order to allow more characters

2019-06-11 Thread Christian Ebner
On some occasions e.g. license checking, the manufacturer string in the SMBIOS settings edit has to allow characters such as whitespaces. https://forum.proxmox.com/threads/proxmox-and-windows-rok-license-for-dell.53236/ In principle SMBIOS allows to pass any zero terminated string to the

[pve-devel] [PATCH v4 0/2] fix #2190: Base64 encode SMBIOS value strings in order to allow more characters

2019-06-11 Thread Christian Ebner
On some occasions e.g. license checking, the manufacturer string in the SMBIOS settings edit has to allow characters such as whitespaces. https://forum.proxmox.com/threads/proxmox-and-windows-rok-license-for-dell.53236/ In principle SMBIOS allows to pass any zero terminated string to the

Re: [pve-devel] applied: [PATCH pve-network 0/2] improvments

2019-06-11 Thread Alexandre DERUMIER
>>We could either: >>* see if we keep INotify in pve-common, if we really need we could overwrite, >>or extend it with a INotify "sub-class" in pve-network, did not really >>looked into it, so not sure how reasonable and feasible that is.. >>* move INotify and keep a copy of it for the PMG

[pve-devel] [PATCH manager 1/3] ceph: a little luminous backwards compatibility

2019-06-11 Thread Dominik Csapak
ceph luminous does not use the 'name' property in the metadata everywhere, so fall back to 'id' this makes the ceph dashboard usable while having still luminous (relevant for upgrading) Signed-off-by: Dominik Csapak --- PVE/API2/Cluster.pm | 2 +- PVE/Ceph/Services.pm | 3 ++- 2 files

[pve-devel] [PATCH manager 2/3] ceph: osd create: add encrypted as parameter

2019-06-11 Thread Dominik Csapak
uses cpeh-volumes --dmcrypt parameter to encrypt the osd Signed-off-by: Dominik Csapak --- PVE/API2/Ceph/OSD.pm | 7 +++ 1 file changed, 7 insertions(+) diff --git a/PVE/API2/Ceph/OSD.pm b/PVE/API2/Ceph/OSD.pm index b9b0c6cf..42dee361 100644 --- a/PVE/API2/Ceph/OSD.pm +++

[pve-devel] [PATCH manager 3/3] gui: ceph: add encryption checkbox to osd create

2019-06-11 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- www/manager6/ceph/OSD.js | 7 +++ 1 file changed, 7 insertions(+) diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js index cadc2b0e..db2e1bd9 100644 --- a/www/manager6/ceph/OSD.js +++ b/www/manager6/ceph/OSD.js @@ -73,6 +73,13 @@

Re: [pve-devel] applied: [PATCH pve-network 0/2] improvments

2019-06-11 Thread Thomas Lamprecht
On 6/11/19 9:46 AM, Alexandre DERUMIER wrote: >>> I have send patches, but I don't have look at PMG currently. (I never have >>> used it to be honest) >>> (I have only move the network configuration part, and was only used in >>> Network API) > I have looked in PMG, > > seem that it shouldn't

Re: [pve-devel] applied: [PATCH pve-network 0/2] improvments

2019-06-11 Thread Alexandre DERUMIER
>>I have send patches, but I don't have look at PMG currently. (I never have >>used it to be honest) >>(I have only move the network configuration part, and was only used in >>Network API) I have looked in PMG, seem that it shouldn't break it (maybe simply need to add a depend on pve-network)