Bug 2065437

Summary: smart_proxy parameter does not work on All Hosts tab
Product: Red Hat Satellite Reporter: Karnvir Singh <karnsing>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.2CC: ahumbe, aruzicka, inecas
Target Milestone: UnspecifiedKeywords: Triaged, UserExperience
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: 2023-08-15 10:25:09 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 Karnvir Singh 2022-03-17 19:39:50 UTC
Description of problem:

smart_proxy parameter does not work as expected. 

Version-Release number of selected component (if applicable):

Satellite 6.10

How reproducible:

100%

Steps to Reproduce:
1. Navigate to webui >> Hosts >> All Hosts >> Search for "smart_proxy = capsule.example.com"
2. It should show the hosts registered to that particular capsule/satellite
3. But instead it shows only the Satellite/Capsule which we have searched there.

Actual results:

It shows only the Satellite/Capsule which we have searched there.

Expected results:


It should show the hosts registered with particular Satellite/Capsule which we have provided with smart_proxy parameter.

Additional info:

If we go to Infrastructure >> Capsule >> Click on any Capsule >> "Host Managed" field and a corresponding number which is actually a link of all hosts page with smart_proxy filter . And clicking on that number will lead to the smart_proxy search filter which does not show the hosts registered to that Capsule/Satellite.

Comment 2 Adam Ruzicka 2023-08-15 10:25:09 UTC
If you search for "smart_proxy = capsule.example.com" on hosts, it searches for hosts which have that capsule.example.com assigned as a puppet proxy. If you want to search for hosts which are registered through a capsule.example.com, you can use "registered_through = capsule.example.com".

With that being said, I'll go ahead and close this as there's nothing for us to do. If you feel there is something that still should be addressed by us, feel free to reopen.