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

spurious warning printed when connecting to 'esx://' URI without trailing slash

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.7
    • libvirt
    • None
    • libvirt-10.10.0-10.el9
    • No
    • Low
    • rhel-virt-core-libvirt-1
    • ssg_virtualization
    • 13
    • 2
    • False
    • False
    • Hide

      None

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

      Description of problem
      There is unexpected info and warning when using virsh to connect esxi host with verifying certification

      Version-Release number of selected component (if applicable):
      libvirt-10.10.0-9.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1. Using virsh to connect esxi host with verifying certification

      # virsh -c esx://root@10.73.212.36
      2025-04-08 02:38:00.202+0000: 201238: info : libvirt version: 10.10.0, package: 9.el9 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2025-03-26-11:46:08, )
      2025-04-08 02:38:00.202+0000: 201238: info : hostname: dell-per740-19.lab.eng.pek2.redhat.com
      2025-04-08 02:38:00.202+0000: 201238: warning : esxConnectOpen:803 : Ignoring unexpected path '' for non-vpx scheme 'esx'
      Enter root's password for 10.73.212.36: 
      Welcome to virsh, the virtualization interactive terminal.
      Type:  'help' for help with commands
             'quit' to quit
      virsh #
      

       

      Actual results:
      As above description

      Expected results:
      There is no  unexpected info and warning when using virsh to connect esxi host with verifying certification

      Additional info:
      1. There is no unexpected info and warning when using virsh to connect vsphere client with verifying certification

      #  virsh -c vpx://root@vm-212-129.lab.eng.pek2.redhat.com/data/10.73.212.36
      Enter root's password for vm-212-129.lab.eng.pek2.redhat.com: 
      Welcome to virsh, the virtualization interactive terminal.
      Type:  'help' for help with commands
             'quit' to quit
      virsh # 
      

       

      1. There is no unexpected info and warning when using virsh to connect esxi host without verifying certification

      # virsh -c esx://root@10.73.212.36/?no_verify=1
      Enter root's password for 10.73.212.36:
      Welcome to virsh, the virtualization interactive terminal.
      Type:  'help' for help with commands
             'quit' to quit
      virsh # 
      

       

              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:
              17 Start watching this issue

                Created:
                Updated: