How to deal with "Cannot complete login due to an incorrect user name or password" error of virt-who ?

Solution Verified - Updated -


  • Can not use virt-who. After restarting virt-who service , below errors come out :
2016-02-02 09:52:51,375 [ERROR] - Unable to recover, retry in 60 seconds.
2016-02-02 09:54:08,501 [ERROR] - Unable to create connection:
Traceback (most recent call last):
  File "/usr/share/virt-who/", line 178, in _send
  File "/usr/share/virt-who/", line 157, in checkConnections
  File "/usr/share/virt-who/", line 107, in initVirt
    self.virt = VSphere(self.logger, self.options.server, self.options.username, self.options.password)
  File "/usr/share/virt-who/", line 129, in __init__
    self.client.service.Login(, userName=username, password=password)
  File "/usr/lib/python2.6/site-packages/suds/", line 542, in __call__
    return client.invoke(args, kwargs)
  File "/usr/lib/python2.6/site-packages/suds/", line 602, in invoke
    result = self.send(soapenv)
  File "/usr/lib/python2.6/site-packages/suds/", line 657, in send
    result = self.failed(binding, e)
  File "/usr/lib/python2.6/site-packages/suds/", line 712, in failed
    r, p = binding.get_fault(reply)
  File "/usr/lib/python2.6/site-packages/suds/bindings/", line 265, in get_fault
    raise WebFault(p, faultroot)
WebFault: Server raised fault: 'Cannot complete login due to an incorrect user name or password.'
2016-02-02 09:54:26,745 [ERROR] - Unable to recover, retry in 60 seconds.


  • virt-who
  • Virtual DataCenter

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content