public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Erik Fastermann" <e.fastermann@proxmox.com>,
	<pve-devel@lists.proxmox.com>
Subject: Re: [PATCH guest-common/manager v2 0/3] fix #5713: vzdump: add notification-mode none
Date: Tue, 06 Oct 2026 10:26:47 +0200	[thread overview]
Message-ID: <DLXM2E0WMZBO.2WKXS7S3LJZYQ@proxmox.com> (raw)
In-Reply-To: <20260513103109.122977-1-e.fastermann@proxmox.com>

On Wed May 13, 2026 at 12:31 PM CEST, Erik Fastermann wrote:
> Optionally disable sending notification mails with the new option
> none for notification-mode in vzdump.
>
> Also includes an optional commit to add this to the ui.
>

Hey Erik,

I'm very sorry for the very late reply, I completely missed this series.
If you have any other notification-related patches in the future, feel
free to ping me directly.

At first, I was a bit hesitant about whether adding a new notification
mode would be good idea. The notification mode was always a bit of a
hack, one that enabled us to support the legacy notifications
(legacy-sendmail, the ones where the user just provides an email address
at the backup job invocation/job) alongside the 'new' notification stack
based on matchers. I always planned to eventually phase out the legacy
mode, but it turned out to be quite a hard problem to automatically
migrate the old settings to an equivalent matcher-based config, which is
why the 'old' mode is still there.

Given this, I was unsure whether I wanted to build on this 'hack', but
after giving it some more thought, I think its fine. Even with the
legacy-mode phased out, the vzdump CLI should have a way to quickly opt
out from notifications (maybe it should even be the default for CLI
invocations), and using the `notification-mode` parameter is only
fitting I think.

Adding it to the UI also seems reasonable to me. I wonder if it would
make sense to also add it to backup *jobs*, but there it could make
sense to wait until a user actually requests it; we should encourage
users to set up proper notification configuration for their jobs, after
all.

I've actually thought about 'undeprecating' the legacy-mode for a while
now, as in quite a few cases is just way simpler to use if all a user
wants is to receive an email. The additional code complexity is
manageable, so maybe it should just stay as is. Just thinking out aloud
here, it's not really decided yet.

Acked-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>




      parent reply	other threads:[~2026-10-06  8:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-13 10:31 [PATCH guest-common/manager v2 0/3] fix #5713: vzdump: add notification-mode none Erik Fastermann
2026-05-13 10:31 ` [PATCH pve-guest-common v2 1/3] " Erik Fastermann
2026-05-13 10:31 ` [PATCH pve-manager v2 2/3] " Erik Fastermann
2026-05-13 10:31 ` [PATCH pve-manager v2 3/3] ui: " Erik Fastermann
2026-06-09  7:16 ` [PATCH guest-common/manager v2 0/3] fix #5713: " Erik Fastermann
2026-07-28  9:08 ` Erik Fastermann
2026-10-05 14:20   ` Erik Fastermann
2026-10-06  8:26 ` Lukas Wagner [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=DLXM2E0WMZBO.2WKXS7S3LJZYQ@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=e.fastermann@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