-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.0
-
None
-
None
-
None
-
rhel-virt-core-libvirt-1
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
On crashing a guest VM, there is no event 'agent-lifecycle' 'disconnected' reason: 'channel event' like expected
What is the impact of this issue to you?
https://github.com/kubevirt/kubevirt/pull/16068 : kubevirt cannot rely on the events to detect if the guest agent is still alive.
Please provide the package NVR for which the bug is seen:
I reproduced it just on recent fedora 43 on host and guest
How reproducible is this bug?:
100%
Steps to reproduce
- listen to libvirt events via `virsh event --all --loop`
- ensure via `ssh -o "StrictHostKeyChecking no" root@qemu/aivm sudo systemctl stop qemu-guest-agent` and `ssh -o "StrictHostKeyChecking no" root@qemu/aivm sudo systemctl start qemu-guest-agent` that the event reporting is like expected
- crash the guest via `echo 1 | sudo tee /proc/sys/kernel/sysrq` and `echo c | sudo tee /proc/sysrq-trigger`
Expected results
event 'agent-lifecycle' for domain 'aivm': state: 'disconnected' reason: 'channel event'
Actual results
no event