Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-152296

event 'agent-lifecycle' 'disconnected' reason: 'channel event' missing on node crash

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • libvirt
    • None
    • None
    • None
    • rhel-virt-core-libvirt-1
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 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

      1.  listen to libvirt events via `virsh event --all --loop`
      2.  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
      3. 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

              virt-maint virt-maint
              dholler@redhat.com Dominik Holler
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: