Bug 1377025 - Insights does not work with password less proxy
Summary: Insights does not work with password less proxy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: rubygem-redhat_access_lib
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: Unspecified
Assignee: Lindani Phiri
QA Contact: Katello QA List
URL:
Whiteboard:
: 1365590 1378247 (view as bug list)
Depends On:
Blocks: 1394387
TreeView+ depends on / blocked
 
Reported: 2016-09-17 16:42 UTC by Lindani Phiri
Modified: 2019-12-16 06:51 UTC (History)
7 users (show)

Fixed In Version: tfm-rubygem-redhat_access_lib-1.0.5-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1394387 (view as bug list)
Environment:
Last Closed: 2016-11-15 13:49:18 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2644821 0 None None None 2019-12-16 06:51:27 UTC

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


Note You need to log in before you can comment on or make changes to this bug.