Hello
Anyone has managed to retrieve the repository list from a RHEL 8.x OS ?
Agent version : 2.8.1 or 2.9.0
Server Version : 2.9.2
Debug agent log shows that both CentOS and Rhel modules are called, which is strange :
# grep -i -B3 -A3 'repository' /var/log/ocsagent.log
[Tue Jan 25 13:45:28 2022][debug] - rpm found
[Tue Jan 25 13:45:28 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Packaging::Snap ignored
[Tue Jan 25 13:45:28 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Printers::Cups ignored
[Tue Jan 25 13:45:28 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::BSD ignored
[Tue Jan 25 13:45:28 2022][debug] - yum found
[Tue Jan 25 13:45:28 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::Debian ignored
[Tue Jan 25 13:45:28 2022][debug] - dnf found
[Tue Jan 25 13:45:28 2022][debug] Ocsinventory::Agent::Backend::OS::Generic::Repository::SuSE ignored
[Tue Jan 25 13:45:28 2022][debug] - /etc/passwd can be read
[Tue Jan 25 13:45:28 2022][debug] - /etc/group can be read
[Tue Jan 25 13:45:28 2022][debug] Ocsinventory::Agent::Backend::OS::HPUX ignored
--
[Tue Jan 25 13:45:29 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Tue Jan 25 13:45:29 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Tue Jan 25 13:45:29 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM
[Tue Jan 25 13:45:29 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository
[Tue Jan 25 13:45:29 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository::CentOS
[Tue Jan 25 13:45:33 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Repository::Rhel
[Tue Jan 25 13:45:36 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Screen
[Tue Jan 25 13:45:36 2022][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Users
[Tue Jan 25 13:45:36 2022][debug] Running Ocsinventory::Agent::Backend::OS::Linux
But no repository can be found in the generated XML file...
On RHEL 7 client only CentOS.pm is called and it works.
Thanks for your help