Bug 1377025

Summary: Insights does not work with password less proxy
Product: Red Hat Satellite Reporter: Lindani Phiri <lphiri>
Component: rubygem-redhat_access_libAssignee: Lindani Phiri <lphiri>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, bkearney, jcallaha, mhuth, oshtaier, vgunasek, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-redhat_access_lib-1.0.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1394387 (view as bug list) Environment:
Last Closed: 2016-11-15 13:49:18 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:
Bug Depends On:    
Bug Blocks: 1394387    

Description Lindani Phiri 2016-09-17 16:42:38 UTC
Insights does not work with password less proxy.

Exception by Insights when Satellite is configured with password-less proxy:


> 2016-09-15 08:36:09 [app] [E] RedhatAccess::Telemetry::PortalClient: Caught unexpected error when proxying call to tapi: undefined method `encoding' for nil:NilClass
> 2016-09-15 08:36:09 [app] [E] /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/core_ext/uri.rb:13:in `unescape'
>  | /opt/rh/rh-ruby22/root/usr/share/ruby/uri/common.rb:125:in `unescape'
>  | /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access_lib-1.0.4/lib/network/http_request.rb:45:in `net_http_class'
>  | /opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.37/lib/restclient_ext/request.rb:13:in `transmit'
>  | /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
>  | /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access_lib-1.0.4/lib/api/telemetry_api.rb:106:in `call_tapi'
>  | /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-1.0.13/app/controllers/redhat_access/api/telemetry_api_controller.rb:67:in `connection_status'


This is a regression in 6.2.2 caused by bug in build script (built old code into RPM)

This BZ is to track respin of rpm with the correct code.

Comment 3 Lindani Phiri 2016-09-22 13:22:55 UTC
*** Bug 1378247 has been marked as a duplicate of this bug. ***

Comment 4 Lindani Phiri 2016-09-27 17:44:52 UTC
*** Bug 1365590 has been marked as a duplicate of this bug. ***