+++ This bug was initially created as a clone of Bug #1959598 +++
Description of problem:
RHEL has multiple tools for performing in place upgrades, as well as conversions from RHEL derivitive distributions. We need to ensure that for troubleshooting purposes, sosreport is collecting the log files from this tooling, as well as the status file from /etc/, as defined in https://issues.redhat.com/browse/RHELBU-1336
Version-Release number of selected component (if applicable):
Ideally, this change would be backported to sosreport in the following releases:
9.0
8.2, 8.3, 8.4, 8.5
7.9
6.10
--- Additional comment from Jake Hunsaker on 2021-05-11 21:35:54 UTC ---
Am I reading that correctly that the status files will be named `/etc/convert2rhel` and `/etc/leapp`? Or will it be something like `/etc/convert2rhel-$date` or similar?
Is there a full list of convert2rhel/leapp env vars that should be captured as well?
--- Additional comment from Jose Castillo on 2021-05-12 07:34:17 UTC ---
Also, I can see that in the documentation customers can specify an user and a password:
# convert2rhel --username <username> --password <password> --pool <pool_id>
Does this get recorded in the logs we already capture:
"/var/log/convert2rhel/convert2rhel.log",
"/var/log/convert2rhel/rpm_va.log"
Or in the configuration files perhaps?
The file to newly collect is /etc/migration-results.
When to collect: when at least one of the packages is installed (convert2rhel, leapp, leapp-repository).
There are already these two plugins:
- leapp: https://github.com/sosreport/sos/pull/1753/files
- convert2rhel: https://github.com/sosreport/sos/pull/1915/files
It seems to me these two could be extended to gather this new file.
We'll need this sos change for:
7.9
8.2 EUS (only leapp/leapp-repository)
8.4
8.5
9.0 (only leapp/leapp-repository)
CentOS Stream 9 (only leapp/leapp-repository)
I'll make sure BZs for the other RHELs are created or updated.
Convert2RHEL is not planned to be available on RHEL 9.0, , so to adjust my previous comment: the /etc/migration-results should be collected when at least one of the following packages is installed: leapp, leapp-repository.