glpi-agent icon indicating copy to clipboard operation
glpi-agent copied to clipboard

qemu Virtual Machine Inventory doesn't work

Open Megachip opened this issue 5 months ago • 8 comments

Bug reporting acknowledgment

Yes, I read it

Professional support

Yes, I know

Describe the bug

Running an remote Inventory (as root) on an Ubuntu but didn't see running qemu Virtual Maschines (except the docker ones)

To reproduce

  1. running remote inventory task

Expected behavior

See all running VMs, not only Docker container

Operating system

Linux

GLPI Agent version

v1.15

GLPI version

10.0.18

GLPIInventory plugin or other plugin version

GLPI Inventory v1.5.3

Additional context

[debug] Running GLPI::Agent::Task::Inventory::Virtualization
[debug] Running GLPI::Agent::Task::Inventory::Virtualization::Docker

Seems qemu isn't even detected on the system. Its an OpenStack Compute Node

ps -ef | grep qemu
42436      17067    5956 26  2024 ?        145-20:38:01 /usr/bin/qemu-system-x86_64 -name guest=instance-xxx,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-3-instance-xxx/xxx -machine pc-i440fx-4.0,accel=kvm,usb=off,dump-guest-core=off -cpu EPYC-IBPB,x2apic=on,tsc-deadline=on,hypervisor=on,tsc_adjust=on,clwb=on,umip=on,spec-ctrl=on,stibp=on,arch-capabilities=on,ssbd=on,xsaves=on,cmp_legacy=on,perfctr_core=on,wbnoinvd=on,amd-ssbd=on,virt-ssbd=on,rdctl-no=on,skip-l1dfl-vmentry=on,mds-no=on,monitor=off -m 16384 -overcommit mem-lock=off -smp 4,sockets=4,cores=1,threads=1 -uuid xxx -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=20.2.1,serial=xxx,uuid=xxx,family=Virtual Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=26,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -object secret,id=virtio-disk0-secret0,data=4O2/o/xxx=,keyid=masterKey0,iv=xxx==,format=base64 -drive file=rbd:volumes/volume-xxx:id=cinder:auth_supported=cephx\;none:mon_host=xxx\:6789\;xxx\:6789\;xxx\:6789,file.password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0,cache=writethrough,discard=unmap -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=off,serial=xxx -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,host_mtu=1500,netdev=hostnet0,id=net0,mac=xxx,bus=pci.0,addr=0x3 -chardev pty,id=charserial0,logfile=/var/lib/nova/instances/xxx/console.log,logappend=off -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc xxx:2 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on

Megachip avatar Sep 11 '25 13:09 Megachip