Project

General

Profile

Bug #30960

'Host - compare content hosts packages' report: misleading error message when host1==host2

Added by Dominik Matoulek 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

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."

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"

History

#1 Updated by Dominik Matoulek 2 months ago

  • Triaged changed from No to Yes
  • Subject changed from 'Host - compare content hosts packages' report: misleading error message when host1==host2 to 'Host - compare content hosts packages' report: misleading error message when host1==host2

Also available in: Atom PDF