52 Collecting Diagnostics for Support #
When contacting SUSE Support, providing comprehensive diagnostic information is crucial.
- Detailed problem description: What happened, when did it happen, what were you doing, what is the expected behavior, and what is the actual behavior? 
- Steps to reproduce: Can you reliably reproduce the issue? If so, list the exact steps. 
- Component versions: SUSE Edge version, components versions (RKE2/K3, EIB, Metal3, Elemental,..). 
- Relevant logs: - journalctloutput (filtered by service if possible, or full boot logs).
- Kubernetes pod logs (kubectl logs). 
- Metal³/Elemental component logs. 
- EIB build logs and other logs 
 
- System information: - uname -a
- df -h
- ip a
- /etc/os-release
 
- Configuration files: Relevant configuration files for Elemental, Metal3, EIB such as helm chart values, configmaps, etc. 
- Kubernetes information: Nodes, Services, Deployments, etc. 
- Kubernetes objects affected: BMH, MachineRegistration, etc. 
- For logs: Redirect command output to files (for example, - journalctl -u k3s > k3s_logs.txt).
- For Kubernetes resources: Use - kubectl get <resource> -o yaml > <resource_name>.yamlto get detailed YAML definitions.
- For system information: Collect output of the commands listed above. 
- For SL Micro: Check the SUSE Linux Micro Troubleshooting Guide documentation on how to gather system information for support with - supportconfig.
- For RKE2/Rancher: Check the The Rancher v2.x Linux log collector script article to run The Rancher v2.x Linux log collector script. 
- For Edge (Nessie): Nessie 1.0.0 is a powerful diagnostic tool designed to collect logs and configuration data from SUSE Edge environments. It gathers comprehensive information from both the host system and Kubernetes clusters, making it invaluable for troubleshooting and support. - Nessie has two "modes" a kubernetes mode and a system mode. - To collect logs from a SUSE Edge cluster, run (provided that you have access to the kubeconfig file locally): - podman run --rm --privileged \ -v /etc/rancher/k3s/k3s.yaml:/etc/rancher/k3s/k3s.yaml:ro \ -v /var/log/journal:/var/log/journal:ro \ -v /run/systemd:/run/systemd:ro \ -v /etc/machine-id:/etc/machine-id:ro \ -v /tmp:/tmp \ -e NESSIE_LOG_DIR="/tmp" \ -e NESSIE_ZIP_DIR="/tmp" \ registry.suse.com/edge/3.4/nessie:1.0.0 Note- Adjust the paths of the - k3s.yaml/rke2.yamlfile if needed. See Nessie for more information. You should be able to run this container in non-privileged mode if you have proper permissions (typically- k3s.yaml/- rke2-server.yamlfiles are owned by root).
- To collect logs in the system mode from the actual operating system, run: - podman run --rm --privileged \ -v /var/log/journal:/var/log/journal:ro \ -v /run/systemd:/run/systemd:ro \ -v /etc/machine-id:/etc/machine-id:ro \ -v /tmp:/tmp \ -e NESSIE_LOG_DIR="/tmp" \ -e NESSIE_ZIP_DIR="/tmp" \ -e NESSIE_VERBOSE="1" \ -e NESSIE_SKIP_POD_LOGS="true" \ -e NESSIE_SKIP_K8S_CONFIGS="true" \ -e NESSIE_SKIP_METRICS="true" \ registry.suse.com/edge/3.4/nessie:1.0.0 Note- Please make sure to check Nessie for more details and information on how to run Nessie in your environment. Likewise, you should be able to run this container in non-privileged mode provided you have proper permissions. 
 
 
Contact Support. Please check the article available at How-to effectively work with SUSE Technical Support and the support handbook located at SUSE Technical Support Handbook for more details on how to contact SUSE support.