[pve-devel] [PATCH pve-network] fix #4425: vxlan|evpn: add vxlan-port option

2023-04-11 Thread Alexandre Derumier
Some users requested it as their physical network equipments don't use standard vxlan port Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/EvpnPlugin.pm | 4 ++ PVE/Network/SDN/Zones/VxlanPlugin.pm | 9 .../evpn/vxlanport/expected_controller_config | 41

[pve-devel] [PATCH v3 manager 2/3] fix #2515: ui: ceph pool create: use configured defaults for size and min_size

2023-04-11 Thread Aaron Lauterer
Instead of hard coded defaults for the size and min_size parameter, check if we have defaults configured in the ceph.conf or config db and use those. There are clusters where different defaults are needed. For example if the cluster spans two rooms and needs to survive the loss of one. A

[pve-devel] [PATCH v3 manager 1/3] api: ceph: add endpoint to fetch config keys

2023-04-11 Thread Aaron Lauterer
This new endpoint allows to get the values of config keys that are either set in the config db or the ceph.conf file. Values that are set in the ceph.conf file have priority over values set in the conifg db via 'ceph config set'. Expects the --config-keys parameter as a semicolon separated list

[pve-devel] [PATCH v3 manager 0/3]fix 2515 use size defaults

2023-04-11 Thread Aaron Lauterer
The main goal of this series is to improve the handling of configured default size & min_size values when creating a new Ceph Pool in the GUI. A new Ceph API endpoint, 'cfg/value', is added. It allows us to fetch values for config keys that are set either in the config DB of Ceph or in the

[pve-devel] [PATCH v3 manager 3/3] ui: ceph pool edit: rework with controller and formulas

2023-04-11 Thread Aaron Lauterer
instead of relying purely on listeners that then manually change other components, we can use binds, formulas and a basic controller. This makes it quite a bit easier to let multiple components react to changes. A cbind is used for the size component to set the initial start value. Other

[pve-devel] [PATCH pve-container] fix #4457: use bridge mtu if no mtu is defined

2023-04-11 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- src/PVE/LXC.pm | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index c4d53e8..0ccbb33 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -731,14 +731,14 @@ sub update_lxc_config { $raw

[pve-devel] applied: [PATCH http-server] multipart upload: properly parse file parts without Content-Type

2023-04-11 Thread Thomas Lamprecht
Am 11/04/2023 um 14:19 schrieb Friedrich Weber: > As reported in the forum, multipart requests are parsed incorrectly if > the file part header contains *only* Content-Disposition, but no other > fields (in particular, no Content-Type). As a result, uploaded files > are mangled: In most cases, an

[pve-devel] [PATCH http-server] multipart upload: properly parse file parts without Content-Type

2023-04-11 Thread Friedrich Weber
As reported in the forum, multipart requests are parsed incorrectly if the file part header contains *only* Content-Disposition, but no other fields (in particular, no Content-Type). As a result, uploaded files are mangled: In most cases, an additional carriage return and line feed (\r\n) is

[pve-devel] [PATCH pve-network] fix #4657 : evpn: fix exit-node with multiple vrf

2023-04-11 Thread Alexandre Derumier
Currently, if a node is primary exit-node for 1 vrf, and secondary exit-node for another vrf, the deny route-map is filtering routes imports for both vrf. This patch add filtering only for vrf where the node is secondary. Signed-off-by: Alexandre Derumier ---

Re: [pve-devel] [RFC manager] pveceph: add osd details command

2023-04-11 Thread Aaron Lauterer
ping? patch still applies On 12/19/22 15:46, Aaron Lauterer wrote: To provide similar output on the CLI as is possible in the GUI/API regaring OSD details. By default (output-format=text) a more concise output is shown. Using json or yaml as output format will print all the available data.

[pve-devel] [PATCH v2 docs] pvesm: mark ZFS level as both

2023-04-11 Thread Aaron Lauterer
ZFS can do both, and we do use both, block and file level functionality. Signed-off-by: Aaron Lauterer --- changes since v1: rephrased the footnote for ZFS pvesm.adoc | 39 +-- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/pvesm.adoc

[pve-devel] [PATCH docs] pmxcfs: update size limit to 128 MiB

2023-04-11 Thread Aaron Lauterer
Signed-off-by: Aaron Lauterer --- I also did a reformat of that paragraph. pmxcfs.adoc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pmxcfs.adoc b/pmxcfs.adoc index ea15559..85e61d8 100644 --- a/pmxcfs.adoc +++ b/pmxcfs.adoc @@ -29,10 +29,10 @@ system for storing