virt-who が VMware hypervisor を登録できず WebFault: Server raised fault: 'Cannot complete login due to an incorrect user name or password.' エラーが発生する
Issue
- virt-who サービスを起動すると、サブスクリプション管理に VMware ハイパーバイザーを登録することができません。
トレースバックのエラーは以下のようになります。
Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 178, in _send
self.checkConnections()
File "/usr/share/virt-who/virt-who.py", line 157, in checkConnections
self.initVirt()
File "/usr/share/virt-who/virt-who.py", line 107, in initVirt
self.virt = VSphere(self.logger, self.options.server, self.options.username, self.options.password)
File "/usr/share/virt-who/vsphere.py", line 129, in __init__
self.client.service.Login(_this=self.sc.sessionManager, userName=username, password=password)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 542, in __call__
return client.invoke(args, kwargs)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 657, in send
result = self.failed(binding, e)
File "/usr/lib/python2.6/site-packages/suds/client.py", line 712, in failed
r, p = binding.get_fault(reply)
File "/usr/lib/python2.6/site-packages/suds/bindings/binding.py", line 265, in get_fault
raise WebFault(p, faultroot)
WebFault:Server raised fault:'Cannot complete login due to an incorrect user name or password.'
2014/05/30 11:27:09,796 [ERROR] @virt-who.py:184 - Unable to recover, retry in 60 seconds.
Environment
- サブスクリプションマネージャー
- virt-who
- VMware ESX ホスト
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
