####-##-##T##:##:##:###+0000 ERROR [vcf_om,#############################] [c.v.v.p.u.changers.NsxtEdgeChanger,om-exec-24] Exception occurred while retrieving password expiry information for NSXT Edgecom.vmware.vcf.passwordmanager.exception.PasswordUpdateException: Unable to get NSX Transport Nodes from NSX Cluster EXAMPLE_CLUSTER. at com.vmware.vcf.passwordmanager.helper.NsxtApiUtil.getNsxtTransportNodeByFqdn(NsxtApiUtil.java:572) at com.vmware.vcf.passwordmanager.update.changers.NsxtEdgeChanger.getPasswordExpiry(NsxtEdgeChanger.java:269)
and/or
####-##-##T##:##:##:###+0000 ERROR [vcf_om,#############################] [c.v.v.p.s.PasswordExpirationService,om-exec-2] Expiry retrieval status : UNKNOWN , Diagnostic message : {"errorCode":"PASSWORD_MANAGER_RETRIEVE_PASSWORD_EXPIRY_FAILED","arguments":["VM-NSX_EDGE-NODE1.vmwareexample.cloud"],"errorMessage":"Unable to get NSX Transport Nodes from NSX Cluster EXAMPLE_CLUSTER.","referenceToken":"#####","remediationMessage":"Please verify if the account credentials can be used to login to the resource. You might need to fix the workflow(s) for resources marked in error state. If the password of the account has expired, manually reset the password in the product and then perform a REMEDIATE operation in the SDDC Manager, to update its stored copy of the password."}
# curl -X GET -k -s -w "\n" -u 'admin:<password>' https://<nsxt-manager-fqdn>/api/v1/transport-nodes | json_pp
Example:
For NODE2: WORKING example
} }, "deployment_type" : "VIRTUAL_MACHINE", "display_name" : "VM-NSX_EDGE-NODE2", "external_id" : "#########################", "id" : "##########################", "ip_addresses" : [ "1.1.1.1" ], "node_settings" : { "allow_ssh_root_login" : true, "dns_servers" : [ "1.1.1.1", "1.1.1.1" ], "enable_ssh" : true, "enable_upt_mode" : false, "hostname" : "VM-NSX_EDGE-NODE2.vmwareexample.cloud", "ntp_servers" : [ "1.1.1.1", "1.1.1.1" ], "search_domains" : [ "vmwareexample.cloud"
For NODE 1: NOT WORKING
} }, "deployment_type" : "VIRTUAL_MACHINE", "display_name" : "VM-NSX_EDGE-NODE1", "external_id" : "#########################", "id" : "##########################", "ip_addresses" : [ "1.1.1.1" ], "node_settings" : { "allow_ssh_root_login" : true, "dns_servers" : [ "1.1.1.1", "1.1.1.1" ], "enable_ssh" : true, "enable_upt_mode" : false, "hostname" : "VM-NSX_EDGE-NODE1", "ntp_servers" : [ "1.1.1.1", "1.1.1.1" ], "search_domains" : [ "vmwareexample.cloud"
The Hostname value for the NSX node is incorrect and may show as the display name instead of the actual fully-qualified domain name (FQDN). Due to this, the API calls required to rotate the passwords fail as they cannot properly connect to retrieve correct expiration dates.
To solve this issue, you should update the NSX edge nodes hostname value to be the complete FQDN instead of the display- or shortname in the NSX UI and reattempt the password rotate/remediate tasks from SDDC.
Follow the steps below: