From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 068D78C27 for ; Fri, 23 Jun 2023 00:34:03 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E19742B505 for ; Fri, 23 Jun 2023 00:34:02 +0200 (CEST) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 23 Jun 2023 00:34:01 +0200 (CEST) Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-6b46e54039eso59932a34.2 for ; Thu, 22 Jun 2023 15:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfspyre-com.20221208.gappssmtp.com; s=20221208; t=1687473234; x=1690065234; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=dflK4hOXEh+nya2zTh5NyzrGO+dlMtUVnW+OR/hMqPo=; b=NjpYKmd+jE5Zdvem104pCrTBEtP3GhhjeUDKnW3IH72+2rm34Kcx6m1X5aYlc8tszO 3WZjZ/8Lxkx7boZrC571KkZjNTXCRBPdYPCXm2AOIBSJbS9v2UgLQwEntty+Q+6o2aas 2eZg6bLcRpdmqd+9i2nejg1zRWeQgtROkAITl7pnJczwubaC8+fAjE6UAwEiasdX3C0D iN/KE6GcFfNzzhKU82rINZKEcEG5AiY7JZzM2/gNGGbuNCup/0Be1bIqwsvP2L1bu7IA 5UhNHb8IPF6xUXzY2eMNwNnY4MvYyEJxwZ6RAW1f5A1Ez9yq1Dgp8dAFAUCrq58qCLkg 8k3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687473234; x=1690065234; h=to:message-id:subject:date:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=dflK4hOXEh+nya2zTh5NyzrGO+dlMtUVnW+OR/hMqPo=; b=OtSWtK/adDEWFzLe+2HXBLTbGZ6/rxyn6Livy5bi5qRFfCcaBbfj9Bcgegc8IRdrRt eYuZto8Tx1asatoK69j/hlhJYebKdTJJVhSRkpR44qsu/EqL9p+rfRvgr5p1JJsiJvSR I2MgLzfH1EIJCe5pLtYYpRIU0PWxi8uhyyMp56+pV3qT/Yw8nmNf8HYV1HunUHwYb+8N hy6KCSuSAR69QjXfc9+Ry3G4t247r3VPNYl/CbGK6MqQugqB+T/gUxtnG/b7ClfTWIT8 dIV9+dsnaAnTGyYxbwmpRlMIeBmJULfECFUEht8XIa6Bzw8OHsdrmM3eBQDc2PeH7++N 69jg== X-Gm-Message-State: AC+VfDzPdFRGtUV9HtG99U/8jXgxlmBvJcYXzx8x22k3/T32FzcjZdD8 1kTz0hlVJZKix4kNh994xLHoOQ== X-Google-Smtp-Source: ACHHUZ7+UEhCKXMeyCFgu2JrpQkH4x/Co5qtL7jCfBU1t90u94lhilC7EhLdKL3e5a3q3KmMPWm7nQ== X-Received: by 2002:a9d:7343:0:b0:6b4:646f:9d70 with SMTP id l3-20020a9d7343000000b006b4646f9d70mr12939495otk.28.1687473234293; Thu, 22 Jun 2023 15:33:54 -0700 (PDT) Received: from smtpclient.apple (who.wolfspaw.com. [108.221.46.19]) by smtp.gmail.com with ESMTPSA id r19-20020a9d7513000000b006b4695c8cb5sm3223082otk.68.2023.06.22.15.33.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Jun 2023 15:33:53 -0700 (PDT) From: Wolf Noble Mime-Version: 1.0 (1.0) Date: Thu, 22 Jun 2023 17:33:43 -0500 Message-Id: To: pve-devel@lists.proxmox.com X-Mailer: iPhone Mail (21A5268h) X-SPAM-LEVEL: Spam detection results: 0 AWL -1.390 Adjusted score from AWL reputation of From: address BAYES_50 0.8 Bayes spam probability is 40 to 60% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DMARC_MISSING 0.1 Missing DMARC policy HTML_MESSAGE 0.001 HTML included in message MIME_QP_LONG_LINE 0.001 Quoted-printable line longer than 76 chars RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [pve-devel] health check uri for proxmox web front end? X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2023 22:34:03 -0000 hi all! I have looked thru the api docs, and forums, and haven=E2=80=99t found a sol= ution myself yet. I=E2=80=99m looking for a lightweight uri to assess the health of a proxmox n= ode for the purposes of having the proxmox web ui behind a loadbalanced vip= =20 ( haproxy run on opnsense ) Im aware of the existing api face, however what exists now requires authenti= cation, and seems a little heavy for my intended use: (hey, you alive? yes? cool! i=E2=80=99ll check again in a couple seconds)=20= Ideally, there=E2=80=99d be a super lightweight check face that responds wit= h a 200/ok, perhaps even with some light metadata cached from other normal o= perations=E2=80=A6 the ideal (from my perspective) would be a target endpoint that requires no a= uth, but the authorized calling hosts must be explicitly whitelisted for the= node to respond to the query. ideally logging of =E2=80=98good=E2=80=99 state request responses would be o= ptional. ideally, data included in the response, and it=E2=80=99s acceptable freshnes= s would also be configurable.. but i don=E2=80=99t want to overcomplicate th= ings either=E2=80=A6. does such a mechanism exist already, and I just couldn=E2=80=99t find it? if not, is there already a feature request, or someplace this was already di= scussed? =E2=80=94- TANGENT another thought I had which seemed totally tangental at first blush was wond= ering if the web ui for a cluster could additionally (ie not exclusively) be= served by a different class of node (i was thinking pi4=E2=80=99s =E2=80=A6= ) the thought was that by having an =E2=80=98administrative function only=E2= =80=99 cluster node type could be a way to as a way to slowly build arm64 su= pport=E2=80=A6=20 =E2=80=A6 as i imagine this could be useful, but getting EVERYTHING working o= n a dif arch is a monumentally complex task not likely to bear much fruit te= rribly quickly, but I digress=E2=80=A6 tia!=20 I=E2=80=99ve been really happy with my proxmox experience over the last seve= ral years=E2=80=A6.=20 thanks for all the hard work you=E2=80=99ve done keeping proxmox such a stab= le abstraction layer=E2=80=A6 its greatly appreciated. =E2=9D=A4=EF=B8=8F=F0=9F=90=BAW [=3D The contents of this message have been written, read, processed, erased= , sorted, sniffed, compressed, rewritten, misspelled, overcompensated, lost,= found, and most importantly delivered entirely with recycled electrons =3D]=