openSUSE / supportutils

SUSE Linux Enterprise support utilities. Gathers system information.
28 stars 61 forks source link

include more yast and hardware related info #144

Open wfeldt opened 1 year ago

wfeldt commented 1 year ago

The info supportconfig collects is usually not sufficient to resolve issues in the installer or hardware detection area (hwinfo).

This typically leads to a back-and-forth with customers until the necessary data has been provided. This process can by trying for both sides and is easily avoided.

For this reason I would suggest to include these three items in the default supportconfig output:

Note that fragments of the above are already provided but for efficient debugging it is also vital that information is provided in a way developers expect and can readily use.

Thr3d commented 1 year ago

Collecting those tarballs if they already exist seems reasonable. We already do this for hb_report and spacewalk. save_y2logs has a predictable naming scheme that's reliable, but getsysinfo is rather generic.

g23guy commented 1 year ago

I'm worried collecting the file from getsysinfo. /tmp/.tar.gz could get unintended information. So they only way to gather it safely is to have supportconfig run it directly. I'm fine with getting save_y2logs if present. I'm checking scatool dependencies for a change to hwinfo.

g23guy commented 1 year ago

Running hwinfo --all averages about 6.5 seconds longer to complete compared to hwinfo -braille that supportconfig currently runs. If the information is significant, then the change can be made.

g23guy commented 1 year ago

What about using -A to get all information and have supportconfig run save_y2logs, getsysinfo and hwinfo --all, or at least the first two. That way we don't gather the additional information needlessly and it will take less time to run supportconfig.

g23guy commented 1 year ago

I have addressed the hwinfo in hardware.txt in bsc#1208928. I will now consider getsysinfo and save_y2logs separately.