NSX-T 3.2.4
and higherModification of some properties of an edge node is not allowed via NSX Manager. Kindly use CLI to modify these properties: node_user_settings and allow_ssh_root_login (Error code: 16028)
VMware NSX-T Data Center
VMware NSX
In version 3.2.4, a validation was introduced to prevent the modification of read-only fields during an edge upgrade call. As a result, if the cliUsername is not stored in the database for certain edges, the update call will trigger this validation and subsequently fail.
Fix_Error_16028_375618.sh
script from the article in the attachment section. scp
, copy the Fix_Error_16028_375618.sh
file to the NSX-T Manager.scp Fix_Error_16028_375618.sh root@<NSX-T_Manager_IP>:/root/
<NSX-T_Manager_IP>
with the NSX-T Manager’s IP address.Log in to the NSX-T Manager:
ssh root@<NSX-T_Manager_IP>
Provide execute permissions to the script:
After logging in, navigate to the directory where the script is located and change its permissions using the following command:
chmod +x Fix_Error_16028_375618.sh
This step ensures the script can be executed on the system.
Open the script for editing:
vi
, nano
) to open and modify the script:
vi Fix_Error_16028_375618.sh
Replace the placeholders with the specific environment information:
# API endpoint and credentials
URL="https://<NSX-T_Manager_IP>/api/v1/transport-nodes"
USERNAME="<NSX-T_Username>"
PASSWORD="<NSX-T_Password>"
# Manager IP for the second API call
MGRIP="<NSX-T_Manager_IP>"
<NSX-T_Manager_IP>
with the IP address of the NSX-T Manager.<NSX-T_Username>
with the username for NSX-T authentication.<NSX-T_Password>
with the corresponding password.Save the script:
Run the script:
./Fix_Error_16028_375618.sh
Verify successful execution:
Processing node with node_id: ###############-#########-#######-########## Successfully updated node with external_id: ###############-#########-#######-##########
Handling errors:
Failed to update node with external_id: ###############-#########-#######-##########
Issue is fixed in NSX-T 4.2.1