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

virsh can't list the guests from VMware if there is inaccessible guest

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.6
    • libvirt
    • None
    • No
    • Low
    • rhel-sst-virt-tools
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      Description of problem
      virsh can't list the guests from VMware if there is inaccessible guest

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

      libvirt-10.10.0-6.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1.There is  inaccessible guest on vSphere client due to storage loss or other reasons,, please refer to screenshot ' inaccessible-vmware-guest.png'

      2. Use virsh to list the guests from VMware but result is failed

      # virsh -c vpx://root@10.73.213.102/data/10.73.212.38/?no_verify=1
      Enter root's password for 10.73.213.102: 
      Welcome to virsh, the virtualization interactive terminal.
      Type:  'help' for help with commands
             'quit' to quit
      virsh # list
      error: Failed to list domains
      error: internal error: Could not get UUID of virtual machine
      

       

      Actual results:
      As above description

      Expected results:
      virsh should ignore the inaccessible guests to list the other valid guests from VMware

      Additional info:

              pkrempa@redhat.com Peter Krempa
              mxie@redhat.com Ming Xie
              Peter Krempa Peter Krempa
              Ming Xie Ming Xie
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: