Bug 1880969

Summary: 'Host - compare content hosts packages' report: misleading error message when host1==host2
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: ReportingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-02 15:20:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukáš Hellebrandt 2020-09-21 09:54:53 UTC
Description of problem:
When generating a 'Host - compare content hosts packages' report, when both hosts specified are the same host, generating fails (expected) and the following (misleading) error message is shown: "At least one of the hosts couldn't be found."

Version-Release number of selected component (if applicable):
Sat 6.8, not a regression

How reproducible:
Deterministic

Steps to Reproduce:
#hammer  report-template generate --inputs "Host 1 = <HOST1>,Host 2 = <HOST1>"  --name 'Host - compare content hosts packages'

Actual results:
Failure, error message "At least one of the hosts couldn't be found."

Expected results:
Failure, different error message - e.g. "Host 1 and Host 2 are identical"

Comment 1 Dominik Matoulek 2020-10-02 14:05:52 UTC
Created redmine issue https://projects.theforeman.org/issues/30960 from this bug

Comment 4 Mike McCune 2022-07-08 17:15:31 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 5 Brad Buckingham 2022-09-02 20:11:57 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.