On This Page
Using the Designer Debug Tool
This topic is intended for TOS Administrators. |
Overview
You can use the Designer Debug tool to help Tufin support debug and fix escalations relevant to Designer and Verifier in access requests. It is relevant for st-server
, securetrack-job
, and for topology-job
services.
This tool collects the following information for a specified access request ticket:
-
information on the relevant devices and their revisions
-
domains
-
legacy and stealth rules
-
access requests and parameters
-
log files
Tufin support uses this information to reproduce, analyze, and debug the scenarios to fully understand escalated issues and discover their cause without requiring a full system backup.
Generate a Designer Debug File
- Set the log level to DEBUG by running:
tos config log-level set -s st-server -l com.tufin.securetrack.service.ticketDependencyRepository.TicketDependencyLog=DEBUG
tos config log-level set -s securetrack-job -l com.tufin.securetrack.designer.DesignerDecisionLog=DEBUG
-
Run Designer on a ticket and click Save Draft.
-
Switch to the
/tmp
directory: - Copy the tool to the
/tmp
directory: -
[<ADMIN> ~]$ sudo kubectl exec deployment/device-collector -c device-collector -- cat /usr/local/st/collect_designer_debug_info.sh > collect_designer_debug_info.sh
sudo kubectl exec deployment/device-collector -c device-collector -- cat /usr/local/st/collect_designer_debug_info.sh > collect_designer_debug_info.sh -
Run the tool:
[<ADMIN> ~]$ sudo sh collect_designer_debug_info.sh -ticketid <ticket id number> -user <admin user name> [-mgmts <management ids>]
sudo sh collect_designer_debug_info.sh -ticketid <ticket id number> -user <admin user name> [-mgmts <management ids>]where:
ticketid
is the ticket id number.-
mgmts
(optional) is a list of management IDs separated by commas. user
is the user name of an admin level user.
When prompted, enter the password for the super admin user.The user name and password are not saved or collected as part of the tool.
An output file
designer_debug_info.tar.gz
will be created in directory/tmp
. - Send the file to Tufin Support.
- Reset the log-levels back to their default modes by running:
tos config log-level reset -s st-server -l com.tufin.securetrack.service.ticketDependencyRepository.TicketDependencyLog
The reset command reverts the logs back to the following configuration:
# tos config log-level set -s sc-server -l com.tufin.securechange=info # tos config log-level set -s st-server -l com.tufin.securetrack.designer.DesignerDecisionLog=WARN # tos config log-level set -s st-server -l DesignerDecisionLog=WARN # tos config log-level set -s st-server -l com.tufin.securetrack.service.ticketDependencyRepository.TicketDependencyLog=WARN # tos config log-level set -s securetrack-job -l com.tufin.securetrack.designer.DesignerDecisionLog=WARN # tos config log-level set -s topology-job -l com.tufin.securetrack.designer.DesignerDecisionLog=WARN # tos config log-level set -s verifier -l com.tufin.verifier=WARN