From: Daniel Herzig <d.herzig@proxmox.com>
To: Fiona Ebner <f.ebner@proxmox.com>
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH qemu-server v3 0/6] bugzilla #4225 -- improve handling of unavailable ISOs
Date: Fri, 31 Jan 2025 11:38:08 +0100 [thread overview]
Message-ID: <87tt9f5kvj.fsf@proxmox.com> (raw)
In-Reply-To: <5091fb7e-b77c-4b0e-80dc-b88284513811@proxmox.com> (Fiona Ebner's message of "Fri, 31 Jan 2025 10:36:24 +0100")
Fiona Ebner <f.ebner@proxmox.com> writes:
> Am 30.01.25 um 12:31 schrieb Daniel Herzig:
>> This patch series addresses bugzilla entry #4225.
>>
>> Currently VMs refuse to to start if a configured isofile becomes unavailable,
>> be it a deleted file or an unavailable network storage.
>>
>> This patch series introduces a new parameter in Drive.pm, called 'essential'.
>> Depending on whether this parameter is set or not, the situation will be handled
>> differently.
>>
>> If the parameter is set to 0, the configuration will temporarily changed to use
>> 'none' as file for the cd drive, which allows qemu to start up the machine.
>> The configuration is not changed in this process to avoid unexpected behaviour.
>> Instead a log_warn will be issued.
>>
>> For transition reasons an unset parameter acts like 'required=1'. In this case
>> the startup process will die earlier than currently, if the file is missing or
>> the underlying storage not available.
>
> Since you use the word "transition", is there a plan to change the
> default behavior at some point? IMHO that requires more rationale
> (especially in the backend).
>
I just used this phrasing to underline that the option 'essential', if pro-actively
set to 0, will change current behaviour. Without intervention, people should not
notice any difference to current behaviour with the changes from these
patches. Except the startup error additionaly listing the file, that's
triggering the contact to a non-available network share.
I might have a slight preference to not see ISOs as essential files
after a successful installation indeed, but there certainly are
setups, where it does not make sense to attempt starting up a machine
(or let the attempt fail) without an available ISO attached to the
VM. I'm eg thinking about ephemeral VMs running from live-ISOs or the like.
>>
>> If a new VM is created from the WebGUI, a corresponding added checkbox
>> is checked by default, but allows for convenient unchecking during setup time,
>> eg for media that is only needed for installation time.
>>
>> This patch series adds an 'Eject' button to the hardwareview in the WebGUI,
>> which can be used as a convenience shortcut to setting file to 'none' for the
>> cdrom drive.
>>
>> This series supersedes:
>> https://lore.proxmox.com/pve-devel/20250113085608.99498-1-d.herzig@proxmox.com/
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
prev parent reply other threads:[~2025-01-31 10:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-30 11:31 Daniel Herzig
2025-01-30 11:31 ` [pve-devel] [PATCH qemu-server v3 1/6] fix #4225: qemuserver: drive: add parameter to mark drive required Daniel Herzig
2025-01-31 9:36 ` Fiona Ebner
2025-01-31 11:09 ` Daniel Herzig
2025-01-30 11:31 ` [pve-devel] [PATCH qemu-server v3 2/6] fix #4225: qemuserver: introduce sub eject_nonrequired_isos Daniel Herzig
2025-01-31 9:36 ` Fiona Ebner
2025-01-31 9:52 ` Fiona Ebner
2025-01-31 13:58 ` Daniel Herzig
2025-02-03 9:00 ` Fiona Ebner
2025-02-03 10:15 ` Daniel Herzig
2025-02-03 13:09 ` Fiona Ebner
2025-02-03 13:12 ` Fiona Ebner
2025-01-30 11:31 ` [pve-devel] [PATCH qemu-server v3 3/6] fix #4225: qemuserver, test: put eject_nonrequired_isos in place Daniel Herzig
2025-01-31 9:36 ` Fiona Ebner
2025-01-30 11:31 ` [pve-devel] [PATCH pve-manager v3 4/6] fix #4225: ui: form: isoselector: add checkbox for 'essential' param Daniel Herzig
2025-01-30 11:31 ` [pve-devel] [PATCH pve-manager v3 5/6] fix #4225: ui: qemu: cdedit: enable 'Essential' checkbox for isos Daniel Herzig
2025-01-30 11:31 ` [pve-devel] [PATCH pve-manager v3 6/6] fix #4225: ui: qemu: hardware: add eject button for cdroms Daniel Herzig
2025-01-31 9:36 ` [pve-devel] [PATCH qemu-server v3 0/6] bugzilla #4225 -- improve handling of unavailable ISOs Fiona Ebner
2025-01-31 10:38 ` Daniel Herzig [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=87tt9f5kvj.fsf@proxmox.com \
--to=d.herzig@proxmox.com \
--cc=f.ebner@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