[pve-devel] [PATCH container] setup: fedora: fix wrong systemd-networkd preset

2023-06-23 Thread Stoiko Ivanov
The refactoring of the systemd-preset handling inadvertendly changed the preset for Fedora >= 37 to disabled Reported in our community forum: https://forum.proxmox.com/threads/.129395/ Tested with a Fedora 38 container on PVE 8.0 Fixes: e11806e0de064e6570d40e7c04bc4656687b2c62 Signed-off-by: Sto

[pve-devel] [PATCH docs] faq: fix typo in release names

2023-06-23 Thread Stoiko Ivanov
Reported-by: Daniela Häsler Signed-off-by: Stoiko Ivanov --- pve-faq.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-faq.adoc b/pve-faq.adoc index ce22ad5..a0b838d 100644 --- a/pve-faq.adoc +++ b/pve-faq.adoc @@ -89,7 +89,7 @@ recommended. [width="100%",cols="5*d",o

Re: [pve-devel] [PATCH stable-7 manager] pve7to8: Add check for dkms modules

2023-06-23 Thread Thomas Lamprecht
Am 23/06/2023 um 15:28 schrieb Christian Ebner: > ... and warn if at least one is present. > > Signed-off-by: Christian Ebner > --- > PVE/CLI/pve7to8.pm | 35 +++ > 1 file changed, 35 insertions(+) > > diff --git a/PVE/CLI/pve7to8.pm b/PVE/CLI/pve7to8.pm > index

[pve-devel] Is Proxmox VE vulnerable to ransomware like VMware vSphere?

2023-06-23 Thread Turritopsis Dohrnii Teo En Ming via pve-devel
--- Begin Message --- Subject: Is Proxmox VE vulnerable to ransomware like VMware vSphere? Good day from Singapore, Recently, VMware vSphere has come under the spotlight because tens of thousands of VMware vSphere installations are vulnerable to ransomware. Ransomware gangs are actively targeting

[pve-devel] [PATCH stable-7 manager] pve7to8: Add check for dkms modules

2023-06-23 Thread Christian Ebner
... and warn if at least one is present. Signed-off-by: Christian Ebner --- PVE/CLI/pve7to8.pm | 35 +++ 1 file changed, 35 insertions(+) diff --git a/PVE/CLI/pve7to8.pm b/PVE/CLI/pve7to8.pm index da1e15bc..ecfb4011 100644 --- a/PVE/CLI/pve7to8.pm +++ b/PVE/CLI/p

[pve-devel] [PATCH pve-network 1/2] sdn: config generation : check if interfaces.d/sdn is sourced

2023-06-23 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- src/PVE/Network/SDN.pm | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN.pm b/src/PVE/Network/SDN.pm index 1ad85e5..7ff550b 100644 --- a/src/PVE/Network/SDN.pm +++ b/src/PVE/Network/SDN.pm @@ -13,7 +13,7 @@ us

[pve-devel] [PATCH pve-network 2/2] zones: status: display specific message if vnet is not generated.

2023-06-23 Thread Alexandre Derumier
also cleanup duplicate code in plugins Signed-off-by: Alexandre Derumier --- src/PVE/Network/SDN/Zones/Plugin.pm | 18 +- src/PVE/Network/SDN/Zones/QinQPlugin.pm | 8 +--- src/PVE/Network/SDN/Zones/SimplePlugin.pm | 17 - src/PVE/Network/SDN/Zones/Vla

[pve-devel] [PATCH pve-network 0/2] add warning if sdn config in not include in /etc/network/interfaces

2023-06-23 Thread Alexandre Derumier
- add a check at config generation - display specific message on status if vnet is not generated Alexandre Derumier (2): sdn: config generation : check if interfaces.d/sdn is sourced zones: status: display specific message if vnet is not generated. src/PVE/Network/SDN.pm

Re: [pve-devel] [PATCH container] fix #4765: lxc: report cpu usage correctly

2023-06-23 Thread Fiona Ebner
Am 20.06.23 um 17:46 schrieb Maximiliano Sandoval: > When running `pct status VMID` the variable Issue is only present with --verbose. > $last_proc_vmid_stat->{$vmid} is not set and pct reports no cpu usage. > > We address this by computing the used cpu time over the total uptime of > the contai

[pve-devel] [PATCH guest-common] replication: avoid passing removed storages to target

2023-06-23 Thread Fiona Ebner
After removing a storage, replication states can still contain references to it, even if no volume references it anymore. If a storage does not exist in the storage configuration, the replication target runs into an error when preparing the job locally. This error prevents both running and removin

[pve-devel] [PATCH v2 pve-manager 1/1] ui: ceph status: add pg warning state

2023-06-23 Thread Alexandre Derumier
Like ceph mgr dashboard, we need a warning state. - set degraded as warning instead working - set undersized as warning instead error - rename error as critical - add "working" (info-blue) color for working state - use warning (orange) color for warning state Signed-off-by: Alexandre Derumier --

[pve-devel] [PATCH-SERIE proxmox-widget-toolkit/pve-manager] ceph ui: add pg warning state

2023-06-23 Thread Alexandre Derumier
This patch serie improve ceph dashboard adding a new pg warning state. Currently undersized pg displayed as error state, and degraded as working state. working is now displayed with blue color, and warning with orange color changelog v2: - fix Aaron comments proxmox-widget-toolkit: Alexandre D

[pve-devel] [PATCH proxmox-widget-toolkit 1/1] css: add .working color #3892d4

2023-06-23 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- src/css/ext6-pmx.css | 4 1 file changed, 4 insertions(+) diff --git a/src/css/ext6-pmx.css b/src/css/ext6-pmx.css index 2ffd2a8..9344595 100644 --- a/src/css/ext6-pmx.css +++ b/src/css/ext6-pmx.css @@ -113,6 +113,10 @@ color: #3892d4; } +.worki

[pve-devel] [PATCH ifupdown2 2/2] patch: ethtool: add rx-vlan-filter support

2023-06-23 Thread Alexandre Derumier
to fix nic like mellanox && vlan-aware-bridge upstream pull request: https://github.com/CumulusNetworks/ifupdown2/pull/266 Signed-off-by: Alexandre Derumier --- debian/patches/series | 1 + ...01-addons-ethtool-add-rx-vlan-filter.patch | 43 +++ ifupdown

[pve-devel] [PATCH pve-common 1/1] network_interfaces: disable rx-vlan-filter for physical interfaces ports of a vlan-aware bridge

2023-06-23 Thread Alexandre Derumier
some nic like mellanox connectx or intel i40e don't work well vlan-aware bridge because they are limited in number of vlan filtering in hardware Signed-off-by: Alexandre Derumier --- src/PVE/INotify.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm

[pve-devel] [PATCH ifupdown2 1/2] add ethtool as depend

2023-06-23 Thread Alexandre Derumier
some users need to disable some buggy features for their nic, install ethtool by default Signed-off-by: Alexandre Derumier --- debian/control | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 4eea122..29eef2e 100644 --- a/debian/control

[pve-devel] [PATCH-SERIE ifupdown2/common] disable rx-vlan-filter on iface in vlan-aware-bridge

2023-06-23 Thread Alexandre Derumier
Hi, Some nics like mellanox connect-x or intel i40e don't work with vlan-aware-bridge when too many vlans are defined. Depend of the model, connectx-3 is limited to 64 vlans, connect-x4 to 128vlans https://forum.proxmox.com/threads/proxmox-7-and-mellanox-connectx4-and-vlan-aware-bridge.104926/#p

Re: [pve-devel] applied-series: [PATCH widget-toolkit/http-server/apiclient 0/4] Set SameSite=Strict on Auth Cookies

2023-06-23 Thread Max Carrara
On 6/6/23 17:17, Thomas Lamprecht wrote: > Am 15/03/2023 um 17:26 schrieb Max Carrara: >> This series sets the `SameSite` attribute of authentication cookies >> to `Strict` as per RFC 6265[1]. This prevents browsers from nagging; >> for example, FireFox 102.8.0esr would complain in the following ma

[pve-devel] [PATCH manager v3 1/1] try using 'pve-eslint' if it exists

2023-06-23 Thread Dominik Csapak
but fallback to 'eslint' otherwise Suggested-by: Thomas Lamprecht Signed-off-by: Dominik Csapak --- defines.mk| 2 ++ www/manager6/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/defines.mk b/defines.mk index 3a5792ad..811f3483 100644 --- a/defines.

[pve-devel] [PATCH widget-toolkit v3 1/1] try using 'pve-eslint' if it exists

2023-06-23 Thread Dominik Csapak
but fallback to 'eslint' otherwise Suggested-by: Thomas Lamprecht Signed-off-by: Dominik Csapak --- src/Makefile | 6 +++--- src/defines.mk | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 7cff5dd..2fca191 100644 --- a/src/Makefile +++ b/

[pve-devel] [PATCH eslint v3 1/1] change binary name from 'eslint' to 'pve-eslint'

2023-06-23 Thread Dominik Csapak
so that we don't conflict with 'eslint' package in debian, which ships the same binary Signed-off-by: Dominik Csapak --- debian/links | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/links b/debian/links index 99342ed..0a1546f 100644 --- a/debian/links +++ b/debian/link

[pve-devel] [PATCH proxmox-backup v3 1/1] try using 'pve-eslint' if it exists

2023-06-23 Thread Dominik Csapak
but fallback to 'eslint' otherwise Suggested-by: Thomas Lamprecht Signed-off-by: Dominik Csapak --- defines.mk | 1 + www/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defines.mk b/defines.mk index cd5b52a2..c113d4e1 100644 --- a/defines.mk +++ b/defines.mk

[pve-devel] [PATCH eslint/manager/wt/pmg-gui/proxmox-backup v3] change eslint

2023-06-23 Thread Dominik Csapak
from 'eslint' to 'pve-eslint' to avoid a conflict with debians 'eslint' package which ships the same binary to avoid breakage, pull out the eslint binary into a make variable and use pve-eslint if it exists, and eslint otherwise changes from v2: * use $(shell command) instead of $(wildcard), than

[pve-devel] [PATCH pmg-gui v3 1/1] try using 'pve-eslint' if it exists

2023-06-23 Thread Dominik Csapak
but fallback to 'eslint' otherwise introduce the defines.mk for this Suggested-by: Thomas Lamprecht Signed-off-by: Dominik Csapak --- defines.mk | 1 + js/Makefile| 6 -- js/mobile/Makefile | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 define

Re: [pve-devel] health check uri for proxmox web front end?

2023-06-23 Thread Thomas Lamprecht
Hi, Am 23/06/2023 um 00:33 schrieb Wolf Noble: > Im aware of the existing api face, however what exists now requires > authentication, and seems a little heavy for my intended use: > > (hey, you alive? yes? cool! i’ll check again in a couple seconds) > > Ideally, there’d be a super lightweigh