get cluster status command from the NSX CLI, the cluster status may be is reported as DEGRADED. Multiple management services, including SEARCH, APPLIANCE_PROXY, and SHA, show an UNKNOWN status on one or more nodes./var/log/syslog, has an error similar to this example<DATE>T15:26:36.914Z Manager NSX 74795 - [nsx@4413 comp="nsx-manager" subcomp="sha" username="nsx-sha" level="WARNING" s2comp="metric-collector"] Failed to collect metrics, Exception:cannot release un-acquired lock, trace:Traceback (most recent call last):#012 .........<snip>This issue occurs when the NSX logging-server is configured with the facility field e.g. set logging-server <IP/FQDN>:514 proto udp level info facility auth.
This issue is triggered when the NSX logging-server is configured with the facility field (e.g., auth). The System Health Agent (SHA) fails to collect or report metrics correctly due to a reporting mismatch in the SHA metric store.
This issue is resolved in VCF 9.1, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
To resolve the UNKNOWN status in impacted versions, follow this specific sequence on the affected NSX Manager node:
Clear Logging Server Configuration: Delete the existing logging-server configuration that includes a facility field.
del logging-server <server_ip> proto <udp/tcp> level <level> facility <facility>Re-configure Logging Server (Without Facility): Add the logging server back without specifying a facility.
set logging-server <server_ip> proto <udp/tcp> level <level>Restart the SHA Service: Log in as the root user and restart the System Health Agent.
/etc/init.d/nsx-sha restartCheck and Restart the Service Manager: If the status does not change to UP after 15 minutes, restart the internal service manager.
get service <service_name>
restart service-managerReboot the Node: If services remain UNKNOWN, perform a reboot of the NSX Manager node.
Standalone reboots or service restarts may not resolve the issue if the logging-server facility configuration is still present. The steps must be followed in the order listed above.