Credential authentication failed with: HostConnectionFailed
Applies to
Issue
- This is a new ONTAP Select Deploy.
- Can not add a host with ONTAP Select Deploy with errors:
Credential authentication failed for xx.xx.xx.xx with: HostConnectionFailed.
- The sdotadmin _server.log shows the below.
|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"}
- The esxadmin.log shows the below.
[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