Skip to content

[Backport 202012] Add an ansible-playbook to collect show tech result of a specific testbed#7578

Merged
lizhijianrd merged 1 commit intosonic-net:202012from
lizhijianrd:cherry-pick-202012
Feb 27, 2023
Merged

[Backport 202012] Add an ansible-playbook to collect show tech result of a specific testbed#7578
lizhijianrd merged 1 commit intosonic-net:202012from
lizhijianrd:cherry-pick-202012

Conversation

@lizhijianrd
Copy link
Contributor

Cherry-Pick #7521 and resolve conflict.

What is the motivation for this PR?
Add an ansible-playbook to collect show techsupport results on all DUTs of a specific testbed.

How did you do it?
In the ansible-playbook:

Run show techsupport on all the DUTs of a specific testbed.
Fetch the dumped files to localhost.
Delete the dumped files on DUT (to release disk space). I also integrated this utility to testbed-cli.sh.
How did you verify/test it?
Verified on physical testbeds.

…estbed (#7521)

What is the motivation for this PR?
Add an ansible-playbook to collect show techsupport results on all DUTs of a specific testbed.

How did you do it?
In the ansible-playbook:
1. Run show techsupport on all the DUTs of a specific testbed.
2. Fetch the dumped files to localhost.
3. Delete the dumped files on DUT (to release disk space).
I also integrated this utility to testbed-cli.sh.

How did you verify/test it?
Verified on physical testbeds.

Signed-off-by: Zhijian Li <[email protected]>
@lizhijianrd lizhijianrd changed the title [Backport 202205] Add an ansible-playbook to collect show tech result of a specific testbed [Backport 202012] Add an ansible-playbook to collect show tech result of a specific testbed Feb 27, 2023
@lizhijianrd lizhijianrd merged commit f9f1d95 into sonic-net:202012 Feb 27, 2023
@lizhijianrd lizhijianrd deleted the cherry-pick-202012 branch February 27, 2023 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants