-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
None
-
rhel-sst-cee-supportability
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
In Satellite/foreman we have the option of uploading Host data to Host-Based inventory in console.redhat.com. For help in troubleshooting cases around this we can capture data related to the reports. For example, simply a `ls` of the inventory dir would be initially quite helpful;
ls -lR /var/lib/foreman/red_hat_inventory/ /var/lib/foreman/red_hat_inventory/: total 0 drwxr-xr-x. 2 foreman foreman 6 Jun 9 20:44 generated_reports drwxr-xr-x. 3 foreman foreman 120 Jun 9 20:44 uploads/var/lib/foreman/red_hat_inventory/generated_reports: total 0/var/lib/foreman/red_hat_inventory/uploads: total 16 drwx------. 2 foreman foreman 186 Jun 9 20:44 done -rw-r--r--. 1 foreman foreman 380 Mar 20 2024 report_for_10.tar.xz -rw-r--r--. 1 foreman foreman 376 Jun 9 20:44 report_for_11.tar.xz -rw-r--r--. 1 foreman foreman 380 Jun 9 20:44 report_for_9.tar.xz -rwxr-xr-x. 1 foreman foreman 1019 Mar 16 2023 uploader.sh/var/lib/foreman/red_hat_inventory/uploads/done: total 6580 -rw-r--r--. 1 foreman foreman 6598665 Jun 4 22:58 53655241-991f-4d3f-9f49-c6bcf2b32a3a.json -rw-r--r--. 1 foreman foreman 301 Jun 4 22:58 metadata.json -rw-r--r--. 1 foreman foreman 376 Mar 14 2024 report_for_10.tar.xz -rw-r--r--. 1 foreman foreman 380 Jun 9 20:44 report_for_12.tar.xz -rw-r--r--. 1 foreman foreman 95984 Jun 9 20:44 report_for_1.tar.xz -rw-r--r--. 1 foreman foreman 20568 Jun 9 20:44 report_for_7.tar.xz
We may not want to capture these reports totally, but even if we don't a simple `ls` of these dirs is very helpful for initially troubleshooting these cases.