From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <uwe.sauter.de@gmail.com>
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))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 7330C9F821
 for <pve-user@pve.proxmox.com>; Fri,  9 Jun 2023 11:48:28 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 4D6112D25F
 for <pve-user@pve.proxmox.com>; Fri,  9 Jun 2023 11:47:58 +0200 (CEST)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com
 [IPv6:2a00:1450:4864:20::52c])
 (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 <pve-user@pve.proxmox.com>; Fri,  9 Jun 2023 11:47:57 +0200 (CEST)
Received: by mail-ed1-x52c.google.com with SMTP id
 4fb4d7f45d1cf-514924ca903so2411024a12.2
 for <pve-user@pve.proxmox.com>; Fri, 09 Jun 2023 02:47:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1686304071; x=1688896071;
 h=content-transfer-encoding:subject:from:content-language:reply-to:to
 :user-agent:mime-version:date:message-id:from:to:cc:subject:date
 :message-id:reply-to;
 bh=7Ava/ZZGmB8U5SBzAtwJfkeo05UYUBRt6xuoz4RoXGM=;
 b=sjH3lZfDZue/YYhH14iguULxzY1PAgcRSK3bYAmSdTbMZBY8K9PuEabMwBkybXqKPI
 arb/1KbqKauh5+hX1hvpifO1+bLj66a4iZNRU8fmKgC8ut8cVD3x05o3a/JMbxUrRiHS
 Ih5uWVvKC+QqSk3LXih6I8lR4kWY4cdhjQgyjtM72M/PaB0GSn1KpTMVaeo3KOPg0O+c
 U2DF0FEBSiKe2SMtwx0KAZTjTh3RHhyt0hClPXUgt7/I7vQ5/g6nyYGOAHQGKyPdEKGs
 vHUB6JhLCaUXCOulq2ysppy42TcrEd+jcoefRZrDzEMrNQ/gcVgz5vLKFlTmk1QlySw3
 09EA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1686304071; x=1688896071;
 h=content-transfer-encoding:subject:from:content-language:reply-to:to
 :user-agent:mime-version:date:message-id:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=7Ava/ZZGmB8U5SBzAtwJfkeo05UYUBRt6xuoz4RoXGM=;
 b=V8aPrU7XfKFbWVAqbkABJxKXJmYLbVtEkJQ08UAMAnTT+U/oe4jhvW3VXIYBAlhwZy
 k60IL26dov/+f8xlS2JOqkwoNEABrJEfutALgSiAYWXKBT3TuM+IHQJcTAuJBeN6G2mg
 NZHsRgKrOWsyYfJKO3tI0/AACs7WWLBAqZBkCSsb0rEfUEO33GAbgZu0s5IvX5pOq6ym
 JqUiTBcyZUCVnJEJVPLC6G3G85SNuy6/hbljr0nHkZysGbC0uTFB5eyFHcqD9aYSk6xX
 cRTehEZi+qd/6sdeA4uOmXbYyLZQlZtcyBYKqVuI7eAwHRvCoxxwn0moJBshcic0NO9b
 +6wQ==
X-Gm-Message-State: AC+VfDyzZfuqFCV+/g2W8BM5hVK9KIDWm3GUxdlU6DYGMWCsX2tv4MEe
 meXUhXwqssftpq+Wqc6vxl3WfO5HpZ4=
X-Google-Smtp-Source: ACHHUZ6J02X+hLEcIVNxzAfyWSPE0cfJj9QUUuHdW+bwbzuNDOINT4IneluFielGdMBmCsNxuNCKTQ==
X-Received: by 2002:aa7:d691:0:b0:514:90e0:99b7 with SMTP id
 d17-20020aa7d691000000b0051490e099b7mr813469edr.5.1686304071145; 
 Fri, 09 Jun 2023 02:47:51 -0700 (PDT)
Received: from ?IPV6:2a02:8070:a280:2d80:5605:dbff:fe76:161d?
 ([2a02:8070:a280:2d80:5605:dbff:fe76:161d])
 by smtp.googlemail.com with ESMTPSA id
 r9-20020aa7d149000000b0051560edc8d4sm1578310edo.45.2023.06.09.02.47.50
 for <pve-user@pve.proxmox.com>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 09 Jun 2023 02:47:50 -0700 (PDT)
Message-ID: <480f81a5-bcf3-08a4-1a62-e161ad494306@gmail.com>
Date: Fri, 9 Jun 2023 11:47:49 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.2
To: PVE User List <pve-user@pve.proxmox.com>
Reply-To: uwe.sauter.de@gmail.com
Content-Language: de-DE, en-US
From: Uwe Sauter <uwe.sauter.de@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.388 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 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
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain DMARC_PASS               -0.1 DMARC pass policy
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 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 -
Subject: [PVE-User] Any way to notify VM that it was migrated?
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2023 09:48:28 -0000

Hi all,

is there a way to notify a VM (and subsequently trigger some action) when it was migrated from one
host to another?

Recently some updates (either on the Proxmox hosts or in the CentOS 7 VM) caused a change in
behavior for the chronyd that ist running inside some of my VMs.
It seems that chronyd is loosing its synchronization with the remote NTP servers during/shortly
after a migration.
I'd like to trigger a "chronyc burst 5/5" whenever a host was migrated so that chronyd will
re-synchronize.

Regards,

	Uwe