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)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id BF16669460 for ; Tue, 23 Feb 2021 16:29:50 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A951B203CE for ; Tue, 23 Feb 2021 16:29:20 +0100 (CET) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 id 069AB203C5 for ; Tue, 23 Feb 2021 16:29:16 +0100 (CET) Received: by mail-wr1-x430.google.com with SMTP id d11so3626203wrj.7 for ; Tue, 23 Feb 2021 07:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=odiso-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Tf8tHZ5GoKCwG7ari6vg5hNidmajO95bfFK+zh0D6mg=; b=JBjX2qBX48SI0AG34o6MxaWaGPhtE1a+TwHykZMsAL6BhZisBzigoeHEUWvtktN29s ebRDihboiD6HbasGNODVBu6qAkOpDu+VLUbJ6VMajmfB8mao2qr5RyqksPU09ePwIRP2 oJUge6411ueU9tynY5fVJ6wzRsLJwfM2sU4rj7kL2vtslrFJRZPJiP/rVkqEXX/ZEEpL NpzC+brwmcGxC28FVAel9oq9lbJ8jkIGv7tzvs8TZOba8+63kJK2jwQBHCpR3jFGVVo5 efZDpAsJMCGnl14rxq/lR1V94/T3gSnlo4QyP5ma8XdTpX5r6Lj/oT0vC7czfpMqtdby gAIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Tf8tHZ5GoKCwG7ari6vg5hNidmajO95bfFK+zh0D6mg=; b=EGocT2FyYTogIcQiTeisli/JH/CY8OZWx2QonbT7UAQZn6KskQc6yK4AVsrz5d5pVQ 1O9ekpf/3jN6hC7zR2mxld3IOireqLTYjCp+q4caabphkownosqMvt76TVhUNP64MZ3z OXz3shaGbzkoBEFHgilkd7/iLglk1l0j8vhwd11DF4Evv55QWpaFsQinK5r8D+PhaBar BsEPnoWSDVH9g7/kItCRF5J/bxhn2iE4pBQ5DEMCY8F9hA9V7qf2tABWD3/L9Wp16HWp q712Om65y8pxrsjHk2a3lG9F7h4ovX/sa+g6KRXQOxaBytkVlXBmH6GSDYaYB6mxRlu6 I8aw== X-Gm-Message-State: AOAM531UGVv6UUMrnM+uAwtCEixJqZcBtklITS0UNeqNJnQLOfpwlq3V mced7BduHpf1YPJ2TVYhKU12Pg== X-Google-Smtp-Source: ABdhPJy7KjrV6ctV155cYx1s1intj+m0cYYW/V0TA7/tHXLv38ByK8Pvl0S4KP2hJ1hz+32uzcxeMw== X-Received: by 2002:a5d:47a8:: with SMTP id 8mr26281621wrb.180.1614094150748; Tue, 23 Feb 2021 07:29:10 -0800 (PST) Received: from ?IPv6:2a0a:1580:0:1::100c? (ovpn1.odiso.net. [2a0a:1580:2000::3f]) by smtp.gmail.com with ESMTPSA id u4sm31748873wrr.37.2021.02.23.07.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 07:29:10 -0800 (PST) Message-ID: From: aderumier@odiso.com To: Thomas Lamprecht , Wolfgang Bumiller , Proxmox VE development discussion Date: Tue, 23 Feb 2021 16:29:08 +0100 In-Reply-To: <75c9dea4-4e42-3882-2e83-348ea1c15fe4@proxmox.com> References: <177950241.3608.1614071210039@webmail.proxmox.com> <75c9dea4-4e42-3882-2e83-348ea1c15fe4@proxmox.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.113 Adjusted score from AWL reputation of From: address 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 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 Subject: Re: [pve-devel] cloudinit: question about cloudinit pending values && hostname/mac address changes 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: Tue, 23 Feb 2021 15:29:50 -0000 >>normally the CI service reads this only once at startup and then >>should >>wait on events? >>Anything basing on a CD ROM device should be able to handle ejects or >>inject at any time... >>@Alexandre, did you test how good the Cloudinit clients handle this? I'm able to change the cdrom with new file, with the /dev/cdrom mounted, without any problem. About cloud-init, currently, it don't do nothing on config change, until you restart the service. (so manually, or through an custom udev rule detecting cdrom change).  So I think it's pretty safe, until maybe you restart cloudinit service manually and at same time change the cdrom. with opennebula opencontext daemon, the udev rule correctly manage cdrom change, and apply the change. Maybe could we add a "hotplug: cloudinit" option to enable auto regeneration ? I still don't known how to display currently applying state of nic mac address change. Currently we have only "pending state" (aka pending vm hardware configuration), but with cloud-init, we have some kind of "pending cloudnit" state. (aka pending vm guest ok configuration) It's not really a problem currently, but It's difficult to known if cloud-init drive need to be regenerated or not. Le mardi 23 février 2021 à 10:29 +0100, Thomas Lamprecht a écrit : > > normally the CI service reads this only once at startup and then should > wait on events? > > Anything basing on a CD ROM device should be able to handle ejects or > inject at any time... > > @Alexandre, did you test how good the Cloudinit clients handle this?