public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox, pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [RFC PATCH proxmox] http: enable http2 feature for hyper-util
Date: Tue, 22 Jul 2025 13:42:37 +0200	[thread overview]
Message-ID: <20250722114237.771607-1-d.csapak@proxmox.com> (raw)

this is necessary for some esxi versions to be added as PVE storage on trixie
otherwise it fails with:

 thread 'main' panicked at /usr/share/cargo/registry/hyper-util-0.1.12/src/client/legacy/client.rs:576:33:
 http2 feature is not enabled
 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 create storage failed: failed to spawn fuse mount, process exited with status 25856

tested with esxi 8.0.3 / PVE 9 beta

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
pve-esxi-import-tools have to be rebuilt with the new proxmox-http crate
of course

not sure what other implications enabling this feature has, the docs are
rather sparse on that, so sending as RFC

 proxmox-http/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-http/Cargo.toml b/proxmox-http/Cargo.toml
index 297654a2..5ffb1626 100644
--- a/proxmox-http/Cargo.toml
+++ b/proxmox-http/Cargo.toml
@@ -19,7 +19,7 @@ http = { workspace = true, optional = true }
 http-body = { workspace = true, optional = true }
 http-body-util = { workspace = true, optional = true }
 hyper = { workspace = true, optional = true }
-hyper-util = { workspace = true, optional = true }
+hyper-util = { workspace = true, optional = true, features = ["http2"] }
 native-tls = { workspace = true, optional = true }
 openssl =  { version = "0.10", optional = true }
 serde_json = { workspace = true, optional = true }
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


             reply	other threads:[~2025-07-22 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-22 11:42 Dominik Csapak [this message]
2025-07-22 14:39 ` [pbs-devel] applied: " 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=20250722114237.771607-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=pve-devel@lists.proxmox \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal