From: Hannes Laimer <h.laimer@proxmox.com>
To: Christian Ebner <c.ebner@proxmox.com>, pbs-devel@lists.proxmox.com
Subject: Re: [PATCH proxmox{,-backup} v4 0/8] fix #6716: Add support for http proxy configuration for S3 endpoints
Date: Tue, 31 Mar 2026 13:18:53 +0200 [thread overview]
Message-ID: <c8abbab6-d451-4e30-9cea-2d8b9eee3200@proxmox.com> (raw)
In-Reply-To: <20260327121319.628881-1-c.ebner@proxmox.com>
Did not notice anything off code-wise, also worked as expected(did test
with tinyproxy), so consider this
Reviewed-by: Hannes Laimer <h.laimer@proxmox.com>
Tested-by: Hannes Laimer <h.laimer@proxmox.com>
On 2026-03-27 13:13, Christian Ebner wrote:
> This patch series exposes the nodes proxy config setting to the S3
> clients for datastores backed by an S3 object store.
>
> To honor crate boundaries, the proxy configuration is refactored to
> be part of pbs-config instead of proxmox-backup. The API types are
> move to pbs-api-types, inlining proxmox_backup::tools::config::from_property_string()
> and NodeConfig::validate() to do so without creating additional unwanted
> dependencies. The schema definition for the proxy is moved to proxmox-http
> instead, already containing the proxy config definition.
>
> Testing was performed by proxying traffic using https://www.mitmproxy.org/
>
> Link to the bugtracker issue:
> https://bugzilla.proxmox.com/show_bug.cgi?id=6716
>
> Changes since version 2 (thanks @Fabian and @Wolfgang for review and suggestions):
> - Dropped unused api-types feature for proxmox-schema in proxmox-http
> - Renamed submodule for pbs-config helper tools to key_value
>
> Changes since version 2 (thanks @Fabian for review and suggestions):
> - reworked completely by moving node config implementation and avoid
> lookup/callback hack.
>
> Changes since version 1:
> - rebased onto current master
>
>
> proxmox:
>
> Christian Ebner (2):
> http: move http proxy schema from PBS to crate's api types
> pbs-api-types: move over NodeConfig and related api type from PBS
>
> Cargo.toml | 1 +
> pbs-api-types/Cargo.toml | 3 +
> pbs-api-types/src/node.rs | 256 ++++++++++++++++++++++++++++++-
> proxmox-http/Cargo.toml | 2 +
> proxmox-http/debian/control | 18 +++
> proxmox-http/src/lib.rs | 8 +-
> proxmox-http/src/proxy_config.rs | 16 ++
> 7 files changed, 300 insertions(+), 4 deletions(-)
>
>
> proxmox-backup:
>
> Christian Ebner (6):
> pbs-config: use http proxy schema moved to proxmox-http crate
> config: inline NodeConfig::validate() to its only call side
> config: use moved NodeConfig definitions in pbs-api-types
> tools: drop unused from_property_string() helper
> config: move node config into pbs-config, including helper tools
> fix #6716: pass node http proxy config to s3 backend
>
> Cargo.toml | 2 +-
> pbs-config/Cargo.toml | 1 +
> .../config.rs => pbs-config/src/key_value.rs | 15 +-
> pbs-config/src/lib.rs | 2 +
> pbs-config/src/node.rs | 55 +++
> pbs-datastore/src/datastore.rs | 4 +-
> src/api2/admin/s3.rs | 2 +-
> src/api2/config/remote.rs | 2 +-
> src/api2/config/s3.rs | 2 +-
> src/api2/node/apt.rs | 2 +-
> src/api2/node/certificates.rs | 4 +-
> src/api2/node/config.rs | 11 +-
> src/api2/node/subscription.rs | 2 +-
> src/api2/types/mod.rs | 11 -
> src/bin/proxmox-backup-proxy.rs | 9 +-
> src/bin/proxmox-daily-update.rs | 2 +-
> src/config/mod.rs | 1 -
> src/config/node.rs | 316 ------------------
> src/tools/mod.rs | 1 -
> 19 files changed, 80 insertions(+), 364 deletions(-)
> rename src/tools/config.rs => pbs-config/src/key_value.rs (94%)
> create mode 100644 pbs-config/src/node.rs
> delete mode 100644 src/config/node.rs
>
>
> Summary over all repositories:
> 26 files changed, 380 insertions(+), 368 deletions(-)
>
next prev parent reply other threads:[~2026-03-31 11:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 12:13 Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox v4 1/8] http: move http proxy schema from PBS to crate's api types Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox v4 2/8] pbs-api-types: move over NodeConfig and related api type from PBS Christian Ebner
2026-03-31 11:17 ` Hannes Laimer
2026-03-27 12:13 ` [PATCH proxmox-backup v4 3/8] pbs-config: use http proxy schema moved to proxmox-http crate Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox-backup v4 4/8] config: inline NodeConfig::validate() to its only call side Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox-backup v4 5/8] config: use moved NodeConfig definitions in pbs-api-types Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox-backup v4 6/8] tools: drop unused from_property_string() helper Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox-backup v4 7/8] config: move node config into pbs-config, including helper tools Christian Ebner
2026-03-27 12:13 ` [PATCH proxmox-backup v4 8/8] fix #6716: pass node http proxy config to s3 backend Christian Ebner
2026-03-31 11:18 ` Hannes Laimer [this message]
2026-03-31 21:30 ` partially-applied: [PATCH proxmox{,-backup} v4 0/8] fix #6716: Add support for http proxy configuration for S3 endpoints Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c8abbab6-d451-4e30-9cea-2d8b9eee3200@proxmox.com \
--to=h.laimer@proxmox.com \
--cc=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.