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

Should hide the error if virt-admin daemon-shutdown succeed

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.1
    • libvirt / CLI & API
    • None
    • No
    • None
    • 1
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Libvirt in planning
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Error will be reported no matter virt-admin daemon-shutdown failed or succeed.

      Please provide the package NVR for which the bug is seen:

      libvirt-11.2.0-1.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Check the virtqemud status

      # systemctl status virtqemud
      ● virtqemud.service - libvirt QEMU daemon
           Loaded: loaded (/usr/lib/systemd/system/virtqemud.service; enabled; preset: enabled)
           Active: active (running) since Mon 2025-04-14 21:29:16 EDT; 8s ago
      

      2. Shutdown virtqemud

      # virt-admin -c virtqemud:///system daemon-shutdown 
      error: Disconnected from virtqemud:///system due to end of file
      error: End of file while reading data: Input/output error
      

      3. Check the return value

      # echo $?
      1
      

      4. Check the status of virtqemud

      # systemctl status virtqemud
      ○ virtqemud.service - libvirt QEMU daemon
           Loaded: loaded (/usr/lib/systemd/system/virtqemud.service; enabled; preset: enabled)
           Active: inactive (dead) since Mon 2025-04-14 21:29:40 EDT; 3s ago
      

      Expected results

      Disconnected Error should be hidden if virt-admin daemon-shutdown succeed. And return of value should be 0

              virt-maint virt-maint
              rhn-support-lizhu Lili Zhu
              virt-maint virt-maint
              Lili Zhu Lili Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: