凭据身份验证失败,原因: HostConnectionFailed
适用场景
问题描述
- 这是一个新的 ONTAP Select Deploy。
- 无法使用ONTAP Select Deploy添加主机、但出现以下错误:
Credential authentication failed for xx.xx.xx.xx with: HostConnectionFailed.
- sdotadmin _server.log 显示如下。
|DEBUG| 8932|0|coroutine.py|193|Registered Myself: current tasks [{139682861008200: <CoroutineRecord (asynchronous.crontab:rotate_events) [ACTIVE]>}]
|DEBUG| 8932|0|coroutine.py|180|RESTAPI [controllers.credential:post_credential] executing
|DEBUG| 8932|0|coroutine.py|193|Registered Myself: current tasks [{139682861008200: <CoroutineRecord (controllers.credential:post_credential) [ACTIVE]>}]
INFO| 8932|28|restapi.py|200|Processing POST http://127.0.0.1:8080/api/v3/security/credentials
|DEBUG| 8932|28|logger.py|132|credential.py|494:_valid_credential| Checking Host credential as ESX...
|DEBUG| 8932|28|logger.py|132|credential.py|427:_rest_validate| Validating via Rest as ESX
|DEBUG| 8932|28|rest.py|173|response body: {"code":35,"details":"Unable to connect to 10.xx.xx.60","type":"HostConnectionFailed"}
- esxadmin.log 显示如下。
[INFO] [Tue Aug 10 17:04:43 2021] [8738] [Mojo::Server::Sandbox::df726c5bc389a2e3a77b783ff24a861b::__ANON__] PUT http://localhost:8001/api/v1/hosts/10.xx.xx.60/verify
[ERROR] [Tue Aug 10 17:04:46 2021] [8738] [Mojo::Server::Sandbox::df726c5bc389a2e3a77b783ff24a861b::verify_host] [35] HostConnectionFailed: Unable to connect to 10.xx.xx.60