NSX-T host preparation fails with error "Credentials for the host need to be specified"
book
Article ID: 322453
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
When preparing a host for NSX-T, you see an error message indicating:
Credentials for the host need to be specified.
When adding the transport node profile and configuring NSX, an error is noted indicating that the IP already exists for that node.
Checking NSX-T manager log /var/log/proton/nsxapi.log, you can see similar messages:
2023-02-07T11:12:42.577Z WARN task-executor-6 HostTnPrepServiceImpl 6377 FABRIC [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] Error occurred during HostTn creation for discovered node ########-####-####-####-############:host-### ... 2023-02-07T11:12:42.577Z INFO task-executor-6 TransportNodeProfileUtilImpl 6377 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Record validation error in TNC for discovered node ########-####-####-####-############:host-### message : Node with this IP ###.###.#.## was recently deleted and is being cleaned up. Please retry registering after some time. 2023-02-07T11:12:42.587Z INFO task-executor-6 DiscoveredNodeFinderImpl 6377 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] Returning discovered nodes parent id as ########-####-####-####-############:domain-##### for given external id ########-####-####-####-############:host-###
Environment
VMware NSX-T 3.x VMware NSX 4.x
Cause
This issue can occur due to inconsistent records in the NSX Corfu database.
Resolution
This is a known issue impacting NSX-T Data Center.
Workaround: If you believe you have encountered this issue, please open a support request with and refer to this KB article.
Additional Information
If you are contacting Broadcom support about this issue, please provide the following:
NSX Manager log bundles
ESXi host log bundles for hosts that are failing to configure as transport nodes.
Text of any error messages seen in NSX GUI or command lines pertinent to the investigation
Handling Log Bundles for offline review with Broadcom support