CLI: get coredumps with request
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 113
- Forks
- 18
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 23
Description
As an Operations Engineer, I want to be able to easily collect debug information to troubleshoot crashes and forward to support. I want to collect debug information from my work machine without having to shell the node running the Tarantool instance.
Acceptance Criteria:
- The administrator can view the list of instances on a specific node, and for each instance, see information about the coredump on it:
- Number of coredump
- Serial number of the coredump
- The time of its appearance.
- The administrator has the ability to download to his machine all coredump from all instances from a specific node with one command. If there is more than 1 coredump on a node (in total for all instances), then:
- Before loading the coredump, the administrator in the interactive mode is warned about the number of coredump and the total size of the files
- The administrator can agree to continue downloading or refuse to continue.
- The administrator can download to his machine all the coredump of a particular instance with one command. If there is more than 1 coredump for this instance, then confirmation is requested in the same way as in p.
- The administrator can download a specific coredump of a specific instance to his machine. To do this, he needs to specify the instance and the sequence number of the coredump.
- To download to the administrator's machine, coredump and related artifacts are packaged as follows:
- Each coredump and its corresponding logs are packed into tar.gz archive
- If several coredumps are downloaded, then the archives of each coredump are packed into one common archive.
- The administrator has the ability to delete all coredump from all host instances, all coredump from a specific instance, or a specific coredump of a specific instance (by analogy with unloading). Confirmation is requested from the administrator before deletion.
- If the administrator requests to download or delete a non-existent coredump, he gets an error.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the existing CLI commands for nodes, instances, and Tarantool diagnostics, then trace how remote data transfer, archive creation, interactive confirmation, and error reporting are handled; done means all listed coredump listing, download, and deletion cases work with the specified confirmations and packaging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100