all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: partially-applied: [pbs-devel] [PATCH proxmox{, -backup} 0/6] fix #6716: Add support for http proxy configuration for S3 endpoints
Date: Wed, 11 Mar 2026 16:01:52 +0100	[thread overview]
Message-ID: <1773241094.bt60hlplv2.astroid@yuna.none> (raw)
In-Reply-To: <20260122151125.832787-1-c.ebner@proxmox.com>

On January 22, 2026 4:11 pm, 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 not read when
> instantiating the s3-client via the datastore backend directly,
> but rather by passing in a callback function on datastore
> instantiation, allowing to gather the current node proxy whenever a
> new s3 client connection is being created.
> 
> To achieve this, the first patches of the series refactor the code
> so the callback can be passed by wrapping into a convenience helper.
> 
> 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
> 
> proxmox:
> 
> Christian Ebner (2):
>   pbs-api-types: make operation non-optional for maintenance-mode check
>   s3-client: add proxy configuration as optional client option
> 
>  pbs-api-types/src/maintenance.rs        |  6 +++---
>  proxmox-s3-client/examples/s3_client.rs |  1 +
>  proxmox-s3-client/src/client.rs         | 10 +++++++++-
>  3 files changed, 13 insertions(+), 4 deletions(-)

applied these

> 
> 
> proxmox-backup:
> 
> Christian Ebner (4):
>   datastore: make operation non-optional in lookups
>   tools: factor out node proxy config read helper
>   datastore: refactor datastore lookup parameters into dedicated type
>   fix #6716: pass node http proxy config to s3 backend

but skipped these for now (pending potential refactoring we discussed
off-list), opting for not setting a proxy yet.

> 
>  pbs-datastore/src/datastore.rs              | 88 +++++++++++++++------
>  pbs-datastore/src/lib.rs                    |  2 +-
>  pbs-datastore/src/snapshot_reader.rs        | 20 +++--
>  src/api2/admin/datastore.rs                 | 58 +++++++-------
>  src/api2/admin/namespace.rs                 |  9 ++-
>  src/api2/admin/s3.rs                        |  2 +
>  src/api2/backup/mod.rs                      |  3 +-
>  src/api2/config/datastore.rs                | 16 +++-
>  src/api2/config/s3.rs                       | 11 ++-
>  src/api2/node/apt.rs                        |  8 +-
>  src/api2/reader/mod.rs                      |  3 +-
>  src/api2/status/mod.rs                      |  6 +-
>  src/api2/tape/backup.rs                     |  6 +-
>  src/api2/tape/restore.rs                    |  6 +-
>  src/bin/proxmox-backup-proxy.rs             |  8 +-
>  src/server/metric_collection/mod.rs         |  2 +-
>  src/server/prune_job.rs                     |  3 +-
>  src/server/pull.rs                          |  7 +-
>  src/server/push.rs                          |  3 +-
>  src/server/verify_job.rs                    |  3 +-
>  src/tape/pool_writer/new_chunks_iterator.rs | 15 ++--
>  src/tools/mod.rs                            | 22 +++++-
>  22 files changed, 203 insertions(+), 98 deletions(-)
> 
> 
> Summary over all repositories:
>   25 files changed, 216 insertions(+), 102 deletions(-)
> 
> -- 
> Generated by git-murpp 0.8.1
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 
> 
> 




      parent reply	other threads:[~2026-03-11 15:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-22 15:11 Christian Ebner
2026-01-22 15:11 ` [pbs-devel] [PATCH proxmox 1/2] pbs-api-types: make operation non-optional for maintenance-mode check Christian Ebner
2026-01-22 15:11 ` [pbs-devel] [PATCH proxmox 2/2] s3-client: add proxy configuration as optional client option Christian Ebner
2026-01-22 15:11 ` [pbs-devel] [PATCH proxmox-backup 1/4] datastore: make operation non-optional in lookups Christian Ebner
2026-01-22 15:11 ` [pbs-devel] [PATCH proxmox-backup 2/4] tools: factor out node proxy config read helper Christian Ebner
2026-01-22 15:11 ` [pbs-devel] [PATCH proxmox-backup 3/4] datastore: refactor datastore lookup parameters into dedicated type Christian Ebner
2026-01-22 15:11 ` [pbs-devel] [PATCH proxmox-backup 4/4] fix #6716: pass node http proxy config to s3 backend Christian Ebner
2026-03-11 10:00 ` [PATCH proxmox{,-backup} 0/6] fix #6716: Add support for http proxy configuration for S3 endpoints Christian Ebner
2026-03-11 15:01 ` Fabian Grünbichler [this message]

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=1773241094.bt60hlplv2.astroid@yuna.none \
    --to=f.gruenbichler@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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal