mirror of
https://github.com/PegaProx/project-pegaprox.git
synced 2026-04-25 10:05:56 +03:00
[PR #57] feat(vm-summary): show guest hostname and OS from QEMU guest agent #95
Labels
No labels
Approved
Q2-3 2026 Development
bug
documentation
enhancement
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/project-pegaprox-PegaProx#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PegaProx/project-pegaprox/pull/57
Author: @ry-ops
Created: 2/21/2026
Status: 🔄 Open
Base:
main← Head:feat/vm-summary-guest-info📝 Commits (1)
1bef3b7feat(vm-summary): show guest hostname and OS from QEMU guest agent📊 Changes
2 files changed (+75 additions, -5 deletions)
View changed files
📝
pegaprox_multi_cluster.py(+70 -1)📝
web/index.html(+5 -4)📄 Description
Summary
Implements the approved feature request from #50.
Admins can now see the guest hostname and OS pretty-name (e.g.
Ubuntu 22.04.3 LTS) directly in the VM Summary panel without opening a console or SSH session — useful for identifying VMs and checking patch levels at a glance.Backend (
pegaprox_multi_cluster.py)ProxmoxManager.get_guest_info(node, vmid)method — calls two PVE guest agent endpoints:GET /nodes/{node}/qemu/{vmid}/agent/get-host-nameGET /nodes/{node}/qemu/{vmid}/agent/get-osinfo{hostname, os_pretty_name}withnullvalues when the agent is unavailable; errors are logged at DEBUG level so they don't spam logs for stopped VMsGET /api/clusters/<id>/vms/<node>/qemu/<vmid>/guest-info(requiresvm.view)Frontend (
web/index.html)VmDetailPanelfetches guest info on mount when the selected VM is a running QEMU VMnull— no visual noise for LXCs, stopped VMs, or VMs without the guest agentguestHostname/guestOsNamefor both EN and DETest plan
qemu-guest-agentinstalled — Hostname and OS row appears below metrics🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.