Page MenuHomeVyOS Platform

op cmd: generate tech-support archive: does not work
Closed, ResolvedPublicBUG

Description

Description:

Running the "generate tech-support archive" throws an error.

vyos@vyos:~$ generate tech-support archive
-vbash: /opt/vyatta/bin/tech-support-archive: No such file or directory

It seems to be removed in this commit:

https://github.com/vyos/vyatta-op/commit/8f08086c2a608529e97e0b76f75ce7d6616f8b31

Details

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202310100022
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

a.apostoliuk changed the task status from Open to In progress.Oct 11 2023, 8:32 AM
a.apostoliuk claimed this task.
Viacheslav changed the task status from In progress to Needs testing.Oct 16 2023, 8:23 PM
a.apostoliuk added a project: VyOS 1.4 Sagitta.
a.apostoliuk moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
a.apostoliuk moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.

File gets generated but could be not extracted nor transferred as it tries to resolve it as hostname

vyos@vyos:~$ generate tech-support archive
Debug file is generated and located in /tmp/vyos_tech-support-archive_2023-10-19T11:36:27.tar.gz
vyos@vyos:~$ cd /tmp
vyos@vyos:/tmp$ tar -zxvf vyos_tech-support-archive_2023-10-19T11:36:27.tar.gz
tar (child): Cannot connect to vyos_tech-support-archive_2023-10-19T11: resolved

gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now

this works if I rename the file:

sudo mv vyos_tech-support-archive_2023-10-19T11:36:27.tar.gz vyos_techsupport.tar.gz

vyos@vyos:/tmp$ tar -zxvf vyos_techsupport.tar.gz
drops-debug_2023-10-19T11:36:27/
drops-debug_2023-10-19T11:36:27/config.tar.gz
drops-debug_2023-10-19T11:36:27/core-dump.tar.gz
drops-debug_2023-10-19T11:36:27/etc.tar.gz
drops-debug_2023-10-19T11:36:27/home.tar.gz
drops-debug_2023-10-19T11:36:27/root.tar.gz
drops-debug_2023-10-19T11:36:27/show_tech-support_report.txt
drops-debug_2023-10-19T11:36:27/tmp.tar.gz
drops-debug_2023-10-19T11:36:27/var-log.tar.gz