[JP] How to collect and share Rancher logs with Support

This document (000020057) is provided subject to the disclaimer at the end of this document.

Situation

背景

ある問題のトラブルシューティングをRancherサポートに依頼する場合、調査を継続するために環境情報やログデータを取得することが必要になります。

データ収集方法の統一化と簡易化するために、情報を取得するスクリプトが以下のように存在しています。

情報収集が必要となる、各ノードからログが収集された後、Rancher Support の指示に従い、この出力ファイルをサポートチケット(上限20MB)にアップロードするか、サポートが提供するファイルアップロードリンクにアップロードすることができます。

ソリューション

Rancher v2.x

Rancher v2.x クラスタ内のノードからログを収集するには、Rancher v2.x log collector script を使用して、以下のように収集することができます:

wget -O- https://raw.githubusercontent.com/rancherlabs/support-tools/master/collection/rancher/v2.x/logs-collector/rancher2_logs_collector.sh | sudo bash -s
Rancher v1.6

Rancher v1.6 クラスタ内のノードからログを収集するには、Rancher v1.6 log collector scriptを使用して、以下のように収集することができます:

wget -O- https://raw.githubusercontent.com/rancherlabs/support-tools/master/collection/rancher/v1.6/logs-collector/rancher16_logs_collector.sh | sudo bash -s
RancherOS

RancherOS特有の問題を調査するために、RancherOS log collector scriptでデータを収集することができます:

sudo curl https://raw.githubusercontent.com/rancher/os/master/scripts/tools/collect_rancheros_info.sh | sh

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020057
  • Creation Date: 06-May-2021
  • Modified Date:06-May-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center