From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Daniel Kral <d.kral@proxmox.com>
Subject: [pve-devel] applied: [PATCH esxi-import-tools 1/2] listvms: add check for vCLS test whether vm configuration is present
Date: Thu, 24 Apr 2025 19:33:35 +0200 [thread overview]
Message-ID: <174551596005.4030446.11729269108713478737.b4-ty@proxmox.com> (raw)
In-Reply-To: <20250411150634.253684-1-d.kral@proxmox.com>
On Fri, 11 Apr 2025 17:06:33 +0200, Daniel Kral wrote:
> It seems that on older ESXi installations, e.g. ESXi 6.7 [0], there are
> virtual machines, which do not expose a config property for some VMs.
> Therefore, test whether the config is available before checking if the
> current entry is a vCLS VM.
>
> [0] https://forum.proxmox.com/threads/164900/
>
> [...]
Applied, but I had to make a followup for the second patch, which had a
logical error that was even reported on package build:
---
mypy listvms.py
listvms.py:261: error: "None" has no attribute "extraConfig" [attr-defined]
---
Would be great if you could end to end test changes.
As reference, I took this patch over the one from Daniel Herzig [0]
mostly due timing and the R-b trailer here.
[0]: https://lore.proxmox.com/all/20250423130315.360403-1-d.herzig@proxmox.com/
[1/2] listvms: add check for vCLS test whether vm configuration is present
commit: 3d3c4d60849a706fd3c9ad1402233fb4be09a38f
[2/2] listvms: add message when skipping vCLS agent VMs
commit: 9fee27b19e4cbd7f68adb0056d2fe8545a309700
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-04-24 17:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-11 15:06 [pve-devel] " Daniel Kral
2025-04-11 15:06 ` [pve-devel] [RFC esxi-import-tools 2/2] listvms: add message when skipping vCLS agent VMs Daniel Kral
2025-04-11 15:45 ` Max Carrara
2025-04-24 17:33 ` Thomas Lamprecht [this message]
2025-04-25 7:38 ` [pve-devel] applied: [PATCH esxi-import-tools 1/2] listvms: add check for vCLS test whether vm configuration is present Daniel Kral
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=174551596005.4030446.11729269108713478737.b4-ty@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=d.kral@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