Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-75206

virt-launcher stops querying qemu-ga when the guest-network-get-interfaces RPC is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19
    • CNV Virtualization
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Moderate
    • None

      Description of problem:

      If I disable guest-network-get-interfaces RPC in VM's qemu-guest-agent by adding it to blocked RPCs:
      
      ```
      /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-ports/org.qemu.guest_agent.0 -F/etc/qemu-ga/fsfreeze-hook --block-rpcs=guest-network-get-interfaces
      ```
      
      I can observe:
      ```
      {"component":"virt-launcher","level":"error","msg":"Fetching guest info failed: virError(Code=1, Domain=10, Message='internal error: unable to execute QEMU agent command 'guest-network-get-interfaces': Command guest-network-get-interfaces has been disabled: the command is not allowed')","pos":"agent_poller.go:418","timestamp":"2025-12-16T13:25:06.672514Z"}
      ```
      
      and no other information from the VM are being propagated.
      
      Instead I'd like to see in such case that virt-launcher collect any other information that is available and simply skip whatever isn't exposed by the guest agent.
      
      Tested on Fedora 43 guest OS and OS-V 4.20.1 
      
      
      

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              tnisan@redhat.com Tal Nisan
              rszmigie Rafal Szmigiel
              Kedar Bidarkar Kedar Bidarkar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: