support_bundle.log
2024-12-10 13:27:57,147 27731 root ERROR Exception generating tech-support bundle
Traceback (most recent call last):
File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/administration/support_bundles/__self__.py", line 517, in _gen_local_node_support_bundle
rc, out, err = _create_tar_bundle_archive(
File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/administration/support_bundles/__self__.py", line 662, in _create_tar_bundle_archive
rc, out, err = _add_dir_content(
File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/administration/support_bundles/__self__.py", line 785, in _add_dir_content
rc, out, err = append_to_support_bundle_file(
File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/administration/support_bundles/utils.py", line 667, in append_to_support_bundle_file
po = Popen(cmd, stdout=PIPE, stderr=PIPE)
File "/usr/lib/python3/dist-packages/gevent/subprocess.py", line 808, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3/dist-packages/gevent/subprocess.py", line 1804, in _execute_child
raise child_exception
OSError: [Errno 7] Argument list too long: '/usr/bin/nohup'
VMware NSX
There are unexpectedly large number of files in the following directories in the problematic manager node. The large number of files in these directories triggers an error which aborts the bundle collection.
/var/log/migration-coordinator/v2t/nsxv-config
/var/log/migration-coordinator/v2t-backups/v2t/nsxv-config
Workaround:
/image/var/log/migration-coordinator/v2t/nsxv-config
/image/var/log/migration-coordinator/v2t-backups/v2t/nsxv-config
/var/log/migration-coordinator/v2t/nsxv-config
and /var/log/migration-coordinator/v2t-backups/v2t/nsxv-config
to their corresponding directories under /image/...
/image/var/log/migration-coordinator
directory and attach along with the support bundle.