Environment
- YugabyteDB Anywhere - 2.18.0.1 and older
Issue
When creating a support bundle in YugabyteDB Anywhere (YBA) versions 2.18.0.1 and older, creation of the bundle may fail if "Universe Logs" is selected and there are more than approximately 1000 log files on the nodes. This includes master logs and tserver logs.
The root cause of this issue is that the support bundle feature in YBA versions 2.18.0.1 and older passes the file list to the tar utility on the command line and command line commands in Linux are limited to 1024 parameters, including the name of the command.
The most common cause of this issue is that one or more tservers entered a crashloop and generated a large number of log files.
Resolution
Permanent Fix
This issue is resolved starting in YBA version 2.18.1. In versions with the fix, the file list is written to a temporary file, then passed to the tar command, bypassing the command line limitation.
Temporary workaround
The temporary workaround is to delete the older logs on each node or move the older logs to a temporary directory in order to limit the number of log files to collect from each node to less than 1000.
Comments
0 comments
Please sign in to leave a comment.