"An error occurred while uploading the support bundle" observed while collecting NSX Edge logs through UI.
search cancel

"An error occurred while uploading the support bundle" observed while collecting NSX Edge logs through UI.

book

Article ID: 405622

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Following error is observed while collecting NSX Edge support bundles through UI.

"An error occurred while uploading the support bundle"

  • Collecting Edge support bundle through Edge CLI works fine.
  • NSX Manager /var/log/syslog reports the following error at the time of the failure:

<NSX_Manager_Name> NSX 82054 - [nsx@6876 comp="nsx-manager" subcomp="node-mgmt" username="root" level="INFO"] Remote node <Edge_Node_ID> reported upload failed status

  • Edge /var/log/syslog contains the following entry:

<Edge_FQDN> NSX 624938 - [nsx@6876 comp="nsx-edge" subcomp="sbundle-upload" username="nsx-opsagent" level="WARNING"] Unable to connect to manager at <NSX_Manager_FQDN>:443. Reason: Traceback (most recent call last):#012  File "/opt/vmware/nsx-opsagent/libexec/sbundle-upload.py", line 322, in _connect_and_verify_manager#012    conn.connect()#012  File "/usr/lib/python3.8/http/client.py", line 1418, in connect#012    super().connect()#012  File "/usr/lib/python3.8/http/client.py", line 922, in connect#012    self.sock = self._create_connection(#012  File "/usr/lib/python3.8/socket.py", line 787, in create_connection#012    for res in getaddrinfo(host, port, 0, SOCK_STREAM):#012  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo#012    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):#012socket.gaierror: [Errno -3] Temporary failure in name resolution#012

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Environment

VMware NSX

Cause

Edge node is unable to resolve the manager node's FQDN

Resolution

Ensure that NSX Manager nodes FQDN are resolvable on all of the NSX transport nodes

Verify if the DNS is configured on the Edges:

  • SSH to the Edge node as admin.
  • Use the commands below to verify configuration:
    • get name-servers
    • get search-domains

Additional Information

To Add a name server to the DNS configuration - set name-servers <name-server-arg>

To Add a domain name to the DNS search list - set search-domains <search-domain-arg>

For more details on how to configure DNS please refer to NSX CLI Guide.