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

The virsh command always requires calling the Polkit Agent before connecting to libvirtd, which increases execution time.

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-8.10.z
    • rhel-8.10.z
    • libvirt
    • None
    • Important
    • 1
    • rhel-virt-core-libvirt-1
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Libvirt Refining
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Before version 8.0.0, virsh did not require additional polkit agent execution when connecting to libvirtd, but later versions require polkit agent execution every time a connection is made.

      What is the impact of this issue to you?

      This causes additional latency when executing commands in scripts; for example, when managing hundreds of VMs, the accumulated time will greatly affect work efficiency.

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

      libvirt-client-8.0.0-23.4.module+el8.10.0+23205+d8da55c1

      OR any libvirt-client with 8.0.0

      How reproducible is this bug?:

      Always.

      Steps to reproduce

      1. Fresh install RHEL8 and update to the latest minor version
      2. Install libvirt*
      3. Create a test VM with any kind of OS.
      4. Login as normal user and then su to the root
      5. Run the command `# virsh dominfo <VM-NAME>`

      Expected results

      The command should complete in a very short time. E.g. 0.08 seconds.

      Actual results

      The command completes in 0.8 seconds.

              mprivozn@redhat.com Michal Privoznik
              rhn-support-qguo Qi Guo
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: