Streaming Data Platform: How to capture logs in case of failed upgrade from version 1.4 to version1.5
摘要: This document details steps to capture the logs to troubleshoot failed Streaming Data Platform upgrade issues from version 1.4 to version 1.5
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
说明
Access the troubleshooting tools.
Use any of the following methods to run troubleshooting tools.
Troubleshooting tools
Use any of the following methods to run troubleshooting tools.
- From outside the cluster:
- Go to settings and configure SupportAssist.
- Ensure that SupportAssist is connected by clicking "Test Connectivity".
- ssh to the remote access service
-
SERVICE_POD_IP=$(kubectl get svc -l=app=streamingdata-service-pod -n=nautilus-system -o=jsonpath='{.items[0].status.loadBalancer.ingress[0].ip}') -
ssh svcuser@$SERVICE_POD_IP
- Respond to the prompt for a password based on service-pod configuration.
- Start a service container in your local Docker using the sdp-tools.sh tool.
- Locate sdp-tools.sh in the script directory inside the decks-installer bundle.
-
./scripts/sdp-tools.sh -r <registry>
NOTE: The docker registry must contain the streamingdata-service-tools that is shipped with the distribution.
An alternate way to obtain the sdp-tools.sh script is to load the image from sdp-<version>-decks_kahm-images.tar.gz.
-
./scripts/sdp-tools.sh -i <archive>
- After the image is pulled or loaded successfully to your local Docker run….
-
./scripts/sdp-tools.sh
-
Troubleshooting tools
- sdp-debug
- The sdp-debug command is a diagnostic tool that helps to uncover issues on the SDP cluster.
- The tool runs a list of available checks and reports detected anomalies.
- Use sdp-debug --help for usage information.
- sdp-support
- The sdp-support command is a tool that helps to capture the artifacts which help in troubleshooting an issue.
- It creates a support bundle that includes information about the SDP cluster state, configuration, logs, and heap dumps. Redaction rules are applied to the collected data.
- Then the data is archived to sdp-support-<timestamp>.zip.
- Use sdp-support --help for usage information.
- sdp-support bundle
- Causes all subcommands to be performed and output saved in the target destination to be provided to the support team.
- Creates following output file for support teams review.
- collect_logs_dir.zip: Contains all the container logs.
- pravega_heap_dump.zip: Contains heap dump of Pravega if heap dump exists.
- cluster-state and or resources.table and cluster-state and or resources.yaml: Captures the "state" of the cluster in terms of resources present there then
- sdp-config.yaml: Captures the "config" of SDP; which is essentially a dump of all the Application resources, which contains the values that are overridden from the stock charts.
- sdp-debug run
- Starts the top-level troubleshooting suite, performs all the integrated subcommands, and the additional executables and saves the outputs in the target directory.
- Creates following output file for support teams review.
- sdp-debug-<timestamp>.log
受影响的产品
Streaming Data Platform Family产品
Streaming Data Platform Family文章属性
文章编号: 000206438
文章类型: How To
上次修改时间: 06 1月 2023
版本: 2
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。