Bug 1402441

Summary: Refresh manifest trough proxy server
Product: [Retired] Subscription Asset Manager Reporter: Kenny Tordeurs <ktordeur>
Component: candlepinAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED WONTFIX QA Contact: SAM QE List <sam-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: NightlyCC: mshimura
Target Milestone: rc   
Target Release: ---   
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: 2017-06-26 20:37:37 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:

Description Kenny Tordeurs 2016-12-07 14:52:56 UTC
Description of problem:
Unable to refresh manifest when SAM is behind proxy

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

How reproducible:
100%

Steps to Reproduce:
1. Setup proxy in /etc/katello/katello.yml
2. Setup proxy in /etc/thumbslug/thumbslug.conf
3. Refresh manifest

Actual results:
Tries to connect directly to cdn.redhat.com does not use the configured proxy.

Expected results:
Refresh manifest via the proxy

Additional info:
# cat /etc/thumbslug/thumbslug.conf 
~~~
#
# WARNING: THIS CONFIGURATION WAS GENERATED BY KATELLO-CONFIGURE TOOL,
# CHANGES WILL LIKELY BE OVERWRITTEN.
#

ssl.keystore = /etc/pki/katello/keystore
ssl.keystore.password = CTS5Jgo0cRb8pnxTNatxPj37kKgVEL9i
candlepin.oauth.secret = Bvnbae9b9jZZ27sUK4MJQYmIathzuV+d

### proxy test ###
cdn.proxy = true
cdn.proxy.host = <fqdn-proxy>
cdn.proxy.port = 3128
cdn.proxy.user = proxy
cdn.proxy.password = proxy
~~~

# cat /etc/katello/katello.yml | grep proxy
~~~
  cdn_proxy:
    host: <fqdn-proxy>
    user: proxy
    password: proxy
~~~


Clients connected trough SAM are using the configured proxy.

Comment 1 Kenny Tordeurs 2016-12-08 12:23:31 UTC
Proxy is also configured in /etc/rhsm/rhsm.conf

Comment 2 Bryan Kearney 2017-06-26 20:37:37 UTC
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!