Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1337483

Summary: link in graph on capsule -> Puppet page have "undefined" as smart proxy name
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: Foreman ProxyAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: Marek Hulan <mhulan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: akofink, bbuckingham, jcallaha, mhulan, mlele, tbrisker
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: 2018-02-21 16:49:54 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:
Bug Depends On:    
Bug Blocks: 1413361, 1417133    

Description Jan Hutař 2016-05-19 09:58:22 UTC
Description of problem:
Link in graph on capsule -> Puppet page have "undefined" as smart proxy name


Version-Release number of selected component (if applicable):
satellite-6.2.0-12.0.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Have Sat and Capsule with some hosts registered against Capsule
2. Go to Infrastucture -> Capsules -> <capsule> -> Puppet -> General -> Host Configuration Chart
3. Click on some segment of that pie/round graph


Actual results:
You are taken to https://<fqdn>/smart_proxies/undefined which does not exist


Expected results:
There should be no link or there should be a valid one

Comment 2 Bryan Kearney 2016-06-03 16:31:06 UTC
Created redmine issue http://projects.theforeman.org/issues/15287 from this bug

Comment 3 Bryan Kearney 2016-06-06 08:15:43 UTC
Upstream bug component is Capsule

Comment 4 Bryan Kearney 2016-11-30 17:11:33 UTC
Upstream bug assigned to tbrisker

Comment 5 Bryan Kearney 2016-12-01 13:11:33 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15287 has been resolved.

Comment 6 Tomer Brisker 2017-01-08 12:58:00 UTC
*** Bug 1411098 has been marked as a duplicate of this bug. ***

Comment 7 jcallaha 2017-02-23 15:55:50 UTC
In 6.2.8 Snap 3, clicking a section of the chart brings you to the hosts page with a custom search entered. Examples below. This correctly shows the hosts that you would expect to see when clicking on said chart portion.

URL
https://rhsm-qe-1.rhq.lab.eng.bos.redhat.com/hosts?search=last_report+%3E+%2235+minutes+ago%22+and+status.enabled+%3D+true+and+status.applied+%3D+0+and+status.failed+%3D+0+and+status.pending+%3D+0+and+puppet_proxy_id+%3D+%221%22
----
https://rhsm-qe-1.rhq.lab.eng.bos.redhat.com/hosts?search=last_report+%3C+%2235+minutes+ago%22+and+status.enabled+%3D+true+and+puppet_proxy_id+%3D+%224%22

Search
last_report > "35 minutes ago" and status.enabled = true and status.applied = 0 and status.failed = 0 and status.pending = 0 and puppet_proxy_id = "1"
----
last_report < "35 minutes ago" and status.enabled = true and puppet_proxy_id = "4"

Comment 10 Satellite Program 2018-02-21 16:49:54 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336