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 1411098

Summary: "Host Configuration chart" fails with "Smart Proxy not found"
Product: Red Hat Satellite Reporter: Mihir Lele <mlele>
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
WebUI sub component: Foreman QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: medium CC: tbrisker
Version: 6.2.3   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-08 12:58:00 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 Mihir Lele 2017-01-08 11:31:03 UTC
Description of problem:

"Host Configuration chart" fails with "Smart Proxy not found" error in Satellite webui,

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


How reproducible: Always (I was able to reproduce this issue in my test env)


Steps to Reproduce:
1. Go to Infrastructure --> Capsules --> Select the capsule --> Go to "Puppet" tab
3. Click on "Host Configuration Chart"

Actual results:  

"Host Configuration chart" fails with "Smart Proxy not found" error

Expected results:

It should display the host list

Additional info:

1. I tried this in Firefox and Chrome, and saw the same error.

2. Foreman-tail logs from my test sat are as below:

====================================================================
==> /var/log/httpd/foreman-ssl_access_ssl.log <==
192.168.122.1 - - [08/Jan/2017:06:17:29 -0500] "GET /smart_proxies/undefined HTTP/1.1" 404 2525 "https://satellite.example.com/smart_proxies/1-satellite-example-com" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0"


==> /var/log/foreman/production.log <==
2017-01-08 06:17:29 [app] [I] Started GET "/smart_proxies/undefined" for 192.168.122.1 at 2017-01-08 06:17:29 -0500
2017-01-08 06:17:29 [app] [I] Processing by SmartProxiesController#show as HTML
2017-01-08 06:17:29 [app] [I]   Parameters: {"id"=>"undefined"}
2017-01-08 06:17:29 [app] [I]   Rendered common/404.html.erb within layouts/application (4.5ms)
2017-01-08 06:17:29 [app] [I]   Rendered layouts/_application_content.html.erb (0.5ms)
2017-01-08 06:17:29 [app] [I]   Rendered layouts/base.html.erb (1.8ms)
2017-01-08 06:17:29 [app] [I] Completed 404 Not Found in 33ms (Views: 15.0ms | ActiveRecord: 4.3ms)

Comment 1 Tomer Brisker 2017-01-08 12:58:00 UTC

*** This bug has been marked as a duplicate of bug 1337483 ***