Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

RHEL 8.x repository inventory is empty

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

in OCS Inventory NG agent for Unix by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...