Virt-who configured for VMware Vcenter fails with error: "Exception: imported schema (urn:reflect) at (https:/vcenter-server.example.com/sdk/reflect-messagetypes.xsd), failed"

Solution Unverified - Updated -

Issue

Virt-who configured for VMware Vcenter fails with error: "Exception: imported schema (urn:reflect) at (https://lab-vcenter-server.gsslab.pnq.redhat.com/sdk/reflect-messagetypes.xsd), failed"

2013-11-06 10:24:15,501 [ERROR]  @virt-who.py:170 - Unable to create connection:
Traceback (most recent call last):
  File "/usr/share/virt-who/virt-who.py", line 167, in _send
    self.checkConnections()
  File "/usr/share/virt-who/virt-who.py", line 146, in checkConnections
    self.initVirt()
  File "/usr/share/virt-who/virt-who.py", line 106, in initVirt
    self.virt = VSphere(self.logger, self.options.server, self.options.username, self.options.password)
  File "/usr/share/virt-who/vsphere.py", line 117, in __init__
    self.client = suds.client.Client("%s/sdk/vimService.wsdl" % self.url)
  File "/usr/lib/python2.6/site-packages/suds/client.py", line 112, in __init__
    self.wsdl = reader.open(url)
  File "/usr/lib/python2.6/site-packages/suds/reader.py", line 152, in open
    d = self.fn(url, self.options)
  File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 157, in __init__
    self.open_imports()
  File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 202, in open_imports
    imp.load(self)
  File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 314, in load
    d = Definitions(url, options)
  File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 159, in __init__
    self.build_schema()
  File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 220, in build_schema
    self.schema = container.load(self.options)
  File "/usr/lib/python2.6/site-packages/suds/xsd/schema.py", line 93, in load
    child.open_imports(options)
  File "/usr/lib/python2.6/site-packages/suds/xsd/schema.py", line 305, in open_imports
    imported = imp.open(options)
  File "/usr/lib/python2.6/site-packages/suds/xsd/sxbasic.py", line 542, in open
    result = self.download(options)
  File "/usr/lib/python2.6/site-packages/suds/xsd/sxbasic.py", line 567, in download
    raise Exception(msg)
Exception: imported schema (urn:reflect) at (https://vcenter-server.example.com/sdk/reflect-messagetypes.xsd), failed
2013-11-06 10:24:20,033 [ERROR]  @virt-who.py:173 - Unable to recover, retry in 60 seconds.

Environment

  • Red Hat Enterprise Linux
  • VMware ESX

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In