[pve-devel] [PATCH pve-manager 1/1] report: add packet counter to iptables output

2024-01-03 Thread Hannes Duerr
Signed-off-by: Hannes Duerr --- The additional information can help with debugging firewall rules, as one can see how many times a specified rule got hit PVE/Report.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Report.pm b/PVE/Report.pm index 2024285e..10b28c79 1006

[pve-devel] applied: [PATCH v2 qemu-server] fix #4501: TCP migration: start vm: move port reservation and usage closer together

2024-01-03 Thread Wolfgang Bumiller
applied, thanks ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] applied: [PATCH pve-manager 1/1] report: add packet counter to iptables output

2024-01-03 Thread Wolfgang Bumiller
applied, thanks On Wed, Jan 03, 2024 at 09:53:30AM +0100, Hannes Duerr wrote: > Signed-off-by: Hannes Duerr > --- > > The additional information can help with debugging firewall rules, as > one can see how many times a specified rule got hit > > PVE/Report.pm | 2 +- > 1 file changed, 1 insert

[pve-devel] applied: [PATCH docs] qm-cloud-init: make install inside VM more obvious

2024-01-03 Thread Wolfgang Bumiller
applied, thanks ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] applied: [PATCH common 0/4] fix #5141: fix parsing of explicit vlan devices

2024-01-03 Thread Wolfgang Bumiller
applied series, thanks ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH qemu-server] fix #2258: select correct device when removing drive snapshot via QEMU

2024-01-03 Thread Fiona Ebner
The QMP command needs to be issued for the device where the disk is currently attached, not for the device where the disk was attached at the time the snapshot was taken. Fixes the following scenario with a disk image for which do_snapshots_with_qemu() is true (i.e. qcow2 or RBD+krbd=0): 1. Take s

Re: [pve-devel] [PATCH manager] api: osd: destroy: remove mclock max iops settings

2024-01-03 Thread Aaron Lauterer
ping? On 11/8/23 13:10, Aaron Lauterer wrote: When destroying the OSD, Ceph does not automatically remove these ___ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH pve-network 0/8] SDN Vnet blackbox testing

2024-01-03 Thread Stefan Lendl
Add several tests for Vnets. State setup as well as testing results is done only via the API to test on the API boundaries not not against the internal state. Internal state is mocked to avoid requiring access to system files or pmxcfs. Tests validate the events of a nic joining a Vnet or a nic st

[pve-devel] [PATCH pve-network 1/8] refactor(sdn): extract cfs_read_file(datacenter.cfg)

2024-01-03 Thread Stefan Lendl
to datacenter_config() functions in Zones::Plugin. This allows mocking the datacenter.cfg in tests. Signed-off-by: Stefan Lendl --- src/PVE/Network/SDN/Zones/EvpnPlugin.pm | 3 ++- src/PVE/Network/SDN/Zones/Plugin.pm | 5 + src/PVE/Network/SDN/Zones/SimplePlugin.pm | 2 +- 3 files ch

[pve-devel] [PATCH pve-network 3/8] refactor(dnsmasq): extract ethers_file function

2024-01-03 Thread Stefan Lendl
That generates the ethers path so that it can be mocked. Signed-off-by: Stefan Lendl --- src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm index f9f1c39..5a227ba

[pve-devel] [PATCH pve-network 7/8] refactor(api): extract create_etc_interfaces_sdn_dir

2024-01-03 Thread Stefan Lendl
can be mocked in tests to prevent system fs access in tests Signed-off-by: Stefan Lendl --- src/PVE/API2/Network/SDN/Zones.pm | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PVE/API2/Network/SDN/Zones.pm b/src/PVE/API2/Network/SDN/Zones.pm index b09c9ad..35e2f7f 100

[pve-devel] [PATCH pve-network 6/8] refactor(evpn): extract read_local_frr_config

2024-01-03 Thread Stefan Lendl
to allow mocking local fs access. Signed-off-by: Stefan Lendl --- src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm b/src/PVE/Network/SDN/Controllers/EvpnPlugin.pm index f320

[pve-devel] [PATCH pve-network 8/8] test(vnets): add test_vnets_blackbox

2024-01-03 Thread Stefan Lendl
Add several tests for Vnets. State setup as well as testing results is done only via the API to test on the API boundaries not not against the internal state. Internal state is mocked to avoid requiring access to system files or pmxcfs. Mocking is done by reading and writing to a hash that holds t

[pve-devel] [PATCH pve-network 2/8] refactor(dnsmasq): extract systemctl_service function

2024-01-03 Thread Stefan Lendl
inside Dnsmasq.pm call systemctl services via a sub to allow mocking in tests. Signed-off-by: Stefan Lendl --- src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm b/src/PVE/Network/SDN/Dh

[pve-devel] [PATCH pve-network 4/8] refactor(dnsmasq): extract update_lease function

2024-01-03 Thread Stefan Lendl
that calls the dbus service. can be mocked. Signed-off-by: Stefan Lendl --- src/PVE/Network/SDN/Dhcp/Dnsmasq.pm | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm b/src/PVE/Network/SDN/Dhcp/Dnsmasq.pm index 5a227ba..c

[pve-devel] [PATCH pve-network 5/8] refactor(controllers): extract read_etc_network_interfaces

2024-01-03 Thread Stefan Lendl
to allow mocking local fs access. Signed-off-by: Stefan Lendl --- src/PVE/Network/SDN/Controllers.pm | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/PVE/Network/SDN/Controllers.pm b/src/PVE/Network/SDN/Controllers.pm index 167d3ea..fd7ad54 100644 --- a/

[pve-devel] ceph : build option to double 4k write performance

2024-01-03 Thread DERUMIER, Alexandre
Hi, (Happy New Year!) I just found this ceph merge request https://github.com/ceph/ceph/pull/54891 debian/rules: Fix build_type for massive performance gain debian/rules Viewed @@ -29,6 +29,7 @@ extraopts += -DWITH_PYTHON3=3 extraopts += -DWITH_CEPHFS_JAVA=ON extraopts += -DWITH_CEPHFS_SHELL