all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [PATCH network] sdn: dhcp: do not start dnsmasq for zones without a vnet with subnets
Date: Tue, 24 Nov 2026 10:33:05 +0100	[thread overview]
Message-ID: <ed65c2c8-fd14-4188-833a-d5c7a03ed6bd@proxmox.com> (raw)
In-Reply-To: <179551200864.3536408.9967704513250177936.b4-ty@b4>

On 11/24/26 10:26 AM, Thomas Lamprecht wrote:
> This caused a new case for guest start or vNIC hot-plug a vnet of a zone
> that no longer gets a dnsmasq instance, as adding the IP mapping tried
> to reload the stopped dnsmasq instance. So I applied a commit before
> yours that only reloads dnsmasq and updates the lease if the instance is
> actually enabled, and still writes the ethers entry otherwise. Please
> double check that this fits how you want the DHCP code to work.

Beat me to it. I was also thinking about how we want to handle this, imo
if the zone should be managed DHCP + IPAM, it seems reasonable to fail
in such a scenario. But there are probably other instance where we do not
hard fail on encountering an error. Should be made consistent one way or
the other imo.




  reply	other threads:[~2026-11-24  9:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 16:48 [PATCH network] sdn: dhcp: do not start dnsmasq for zones without a vnet with subnets Gabriel Goller
2026-11-24  9:22 ` Thomas Lamprecht
2026-11-24  9:33   ` Stefan Hanreich [this message]
2026-11-24  9:28 ` Stefan Hanreich

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=ed65c2c8-fd14-4188-833a-d5c7a03ed6bd@proxmox.com \
    --to=s.hanreich@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 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