public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Oguz Bektas <o.bektas@proxmox.com>
Subject: Re: [pve-devel] [PATCH docs] pveproxy: improve LISTEN_IP doc
Date: Wed, 28 Apr 2021 13:35:40 +0200	[thread overview]
Message-ID: <b279d335-98b0-020c-e6b4-d4ca00791993@proxmox.com> (raw)
In-Reply-To: <20210428111608.694745-1-o.bektas@proxmox.com>

On 28.04.21 13:16, Oguz Bektas wrote:
> * fix small typo
> * add details for link-local addresses
> * mention that pveproxy needs to be restarted
> 
> Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
> ---
>  pveproxy.adoc | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/pveproxy.adoc b/pveproxy.adoc
> index 08c5f63..b9f8ade 100644
> --- a/pveproxy.adoc
> +++ b/pveproxy.adoc
> @@ -71,10 +71,18 @@ exposure to the public internet:
>  
>   LISTEN_IP="192.0.2.1"
>  
> -Similarly you can also set a n IPv6 address:
> +Similarly you can also set an IPv6 address:
>  
>   LISTEN_IP="2001:db8:85a3::1"
>  
> +And for a link-local IPv6 address on vmbr0 (interface name is necessary in this case):

Does not reads like an actual sentence... I'd write something a long the lines of:

"Note, if you want to specify a link-local IPv6 address, you need to provide the interface name itself:"

> +
> + LISTEN_IP="fe80::d8ee:34ff:fe37:4579%vmbr0"
> +
> +After the change you have to restart `pveproxy` for it to take effect:

I'd specifically state that a reload is not enough and then add a small warning that
a restart can stop some existing workers (not all, but e.g., shell connection is stopped
and reconnected which may loose info on CTs without a screen/tmux instance running).
Also, there's a short time window where no new connections are accepted IIRC (albeit
I was the one fixing that for reload it's been to long since then, so not sure anymore)

> +
> + systemctl restart pveproxy

and spiceproxy?

> +
>  WARNING: The nodes in a cluster need access to `pveproxy` for communication,
>  possibly on different sub-nets. It is **not recommended** to set `LISTEN_IP` on
>  clustered systems.
> 




  reply	other threads:[~2021-04-28 11:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 11:16 Oguz Bektas
2021-04-28 11:35 ` Thomas Lamprecht [this message]
2021-04-28 11:42   ` Oguz Bektas
2021-04-28 11:51     ` Thomas Lamprecht
2021-04-28 12:20       ` Oguz Bektas
2021-04-28 13:44         ` 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=b279d335-98b0-020c-e6b4-d4ca00791993@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=o.bektas@proxmox.com \
    --cc=pve-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 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