NSX Manager Node reporting that the upload request has been rejected
book
Article ID: 373400
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
You are running VMware NSX version 3.2.3.
Reports are observed in the NSX Manager support bundle with error "Log upload failed, rc: 1, out: , err: NSX Manager has rejected the upload request: b'-2'"
Entries similar to the below will be observed in /var/log/syslog:
2024-07-29T12:08:34.939Z NSX 1710105 - [nsx@6876 comp="nsx-manager" subcomp="audit-upload" username="nsxplatform" level="WARNING"] NSX Manager has rejected the upload request: b'-2'
The below entries in /var/log/nvpapi/api_server.log could also be observed
2024-07-29T12:08:34.187Z napi.root.administration.audit_logs.__self__ ERROR Error in audit_log_collector_greenlet
Traceback (most recent call last):
File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/administration/audit_logs/__self__.py", line 879, in audit_log_collector_greenlet
_collect_remote_node_audit_logs(
File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/administration/audit_logs/__self__.py", line 324, in _collect_remote_node_audit_logs
elif log_status != AuditLogStatus.RUNNING:
AttributeError: 'EnumTypeWrapper' object has no attribute 'RUNNING'
2024-07-29T12:08:34.188Z napi.root.administration.audit_logs.__self__ INFO Reading /var/log/master-audit.log for results
2024-07-29T12:08:34.607Z management_api.descriptors WARNING Response payload for CollectAuditLogs failed validation: Invalid body in response - invalid property 'last_full_sync_timestamp' (value '2023-10-06T06:53:38.534405Z'): properties not specified by schema are not allowed by ListResult
Cause
VMware NSX 3.2.3 was packaged with an incompatible python3-protobuf package and as a result, this issue can be encountered.
Resolution
This issue is resolved from NSX versions 3.2.4 and 4.1.1.