quipucords / rho

A tool for scanning a network, logging into systems using SSH, and retrieving information about available Unix and Linux servers.
https://quipucords.github.io/rho/
GNU General Public License v2.0
5 stars 7 forks source link

jboss.eap.packages fact reports systems without RPM command as having EAP packages #589

Open kholdaway opened 6 years ago

kholdaway commented 6 years ago

@mdvickst commented on Mon May 21 2018

Specify type:

Priority:

Description:

Systems without RPM command show up as having 1 EAP package. I believe it's counting the error as a package.


Acceptance Criteria:


Bug Report

Version Information:

CLI Server Version or commit information.

Expected behavior:

Describe the expected behavior for the program.

Actual behavior:

Provide the actual behavior for the program.

Steps to reproduce:

List clear steps to reproduce the bug.

Environment information:

Provide detailed information on the scanning and target systems (if applicable); see example below.

Type Operating System OS Version Python Version Virtualization
Scanning System RHEL 7.4 3.6 Bare Metal
Target System RHEL 5.9 2.4.6 RHEV

@noahl commented on Mon May 21 2018

@mdvickst do you happen to have the input logs from the quipucords machine that did this?

The postprocessing for jboss.eap.packages happens at https://github.com/quipucords/quipucords/blob/master/quipucords/scanner/network/processing/eap.py#L137 . I would have expected the processing framework to notice that the command failed with a nonzero return value and automatically discard the result. I want to figure out why that didn't happen.


@kholdaway commented on Mon May 21 2018

@mdvickst Can you provide the details report/summary report for that system?