public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Nicolas Frey" <n.frey@proxmox.com>
To: "Maximiliano Sandoval" <m.sandoval@proxmox.com>
Cc: pve-devel@lists.proxmox.com
Subject: Re: [PATCH manager 0/4] fix #7801: ui: warn about problematic virtio versions on iso select
Date: Tue, 25 Aug 2026 16:52:48 +0200	[thread overview]
Message-ID: <DKY3Z2IYTXPP.22GXI8A1EJHCP@proxmox.com> (raw)
In-Reply-To: <s8ofr029s4s.fsf@toolbox>

On Tue Aug 25, 2026 at 4:44 PM CEST, Maximiliano Sandoval wrote:
> Nicolas Frey <n.frey@proxmox.com> writes:
>
>> fixes #7801 by scanning for virtio filename regex and warning the user
>> if the version has known issues attributed to it [0].
>>
>> I tried the following approaches to warn the user:
>> - via a (quite intrusive) pop-up
>> - a warning box after the iso selector
>> - an inline hoverable icon on the selector field
>>
>> I felt the second approach resulted in the best UX, so I went with
>> that in this series. If we have any better/more standard way to warn
>> about things like these which I missed, please LMK!
>>
>> [0] https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers
>>
>> [..]
>
> I built these patches on top of the current head 14a22df35.
>
> Some things I noticed:
>
> - The `pmx-hint` class is generally used for such warnings. The current
>   approach of an icon works for me, but it does not match how it is done
>   in multiple other warnings.
>
> - The message "'Upgrading to version 0.1.266 or newer is recommended."
>   might lead a user to try with the current latest version (0.1.285)
>   which will then warn them to downgrade. Perhaps mention that 0.1.215
>   up to 0.1.262 (including/not including) can have read errors and
>   performance issues and let the user make a decision based on that.
>
> - Same with the downgrade message one sees when trying 0.1.285. These
>   messages should remain accurate and relevant after we get new releases
>   of the VirtIO drivers (which might or not have more issues).
>
> - The Hardware panel does not load. I see the following error in the
>   console:
>
> Uncaught TypeError: can't access property "getById", me.store is undefined
>     getObjectValue https://10.10.10.148:8006/proxmoxlib.js?ver=v5.2.8-t1786709937:7420
>     handler https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:57264
>     editorFactory https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:57221
>     initComponent https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:57263
>     ExtJS 8
>     activateCard https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:15543
>     selectionchange https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:15487
>     ExtJS 16
> proxmoxlib.js:7420:19
>     getObjectValue https://10.10.10.148:8006/proxmoxlib.js?ver=v5.2.8-t1786709937:7420
>     handler https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:57264
>     editorFactory https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:57221
>     initComponent https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:57263
>     ExtJS 8
>     activateCard https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:15543
>     selectionchange https://10.10.10.148:8006/pve2/js/pvemanagerlib.js?ver=9.2.11:15487
>     ExtJS 16
>
> when going to the Hardware Panel of a VM. I am not 100% sure this is
> caused by the changes here, but the error is gone after downgrading to
> the version in staging.
>
> One thing I was not able to test was whether these warnings were also
> visible for VMs having a ostype different than windows.

thanks for testing the changes! I'll change the gettext call you mentioned in
patch 1/4 and apply your suggestions from here.

as for the hw panel not loading: I did run into this issue and (at
least thought that) I fixed it by lazily retrieving the ostype in the
`editorFactory`, as after that change I didn't run into the issue
anymore. I'll test it myself tomorrow to see if I can reproduce it.

Thanks for the review!




      reply	other threads:[~2026-08-25 14:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25 11:02 [PATCH manager 0/4] fix #7801: ui: warn about problematic virtio versions on iso select Nicolas Frey
2026-08-25 11:02 ` [PATCH pve-manager 1/4] ui: iso selector: add option to warn about virtio versions with issues Nicolas Frey
2026-08-25 13:02   ` Maximiliano Sandoval
2026-08-25 11:02 ` [PATCH pve-manager 2/4] ui: cd edit: add `warnVirtio` option to pass to iso selector Nicolas Frey
2026-08-25 11:02 ` [PATCH pve-manager 3/4] partially fix #7801: ui: ospanel: warn about problematic virtio versions Nicolas Frey
2026-08-25 11:02 ` [PATCH pve-manager 4/4] partially fix #7801: ui: hardware view: " Nicolas Frey
2026-08-25 14:44 ` [PATCH manager 0/4] fix #7801: ui: warn about problematic virtio versions on iso select Maximiliano Sandoval
2026-08-25 14:52   ` Nicolas Frey [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=DKY3Z2IYTXPP.22GXI8A1EJHCP@proxmox.com \
    --to=n.frey@proxmox.com \
    --cc=m.sandoval@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