Bug 1464881
Summary: | Getting "password component depends user component" error while refreshing manifest | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | |
Component: | Subscription Management | Assignee: | Chris Roberts <chrobert> | |
Status: | CLOSED ERRATA | QA Contact: | Renzo Nuccitelli <rnuccite> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 6.2.10 | CC: | aladke, amdas, bkearney, brcoca, bvassova, cdonnell, chrobert, fgarciad, greartes, hmore, jbhatia, jcallaha, mirko.schmidt, mmccune, mmithaiw, mtenheuv, nitthoma, pierre-yves.goubet, rnuccite, tonay, xdmoon | |
Target Milestone: | Unspecified | Keywords: | PrioBumpGSS, Regression, Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | All | |||
URL: | http://projects.theforeman.org/issues/20216 | |||
Whiteboard: | ||||
Fixed In Version: | rubygem-katello-3.0.0.140-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1469692 (view as bug list) | Environment: | ||
Last Closed: | 2017-08-10 17:02:29 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: | 1469692 |
Make the following change seems to fix the issue: uri.port = proxy_config[:port].to_s if proxy_config[:port] uri.user = proxy_config[:user].to_s if proxy_config[:user] uri.password = proxy_config[:password].to_s if proxy_config[:password] Manifest refresh worked both through UI and hammer: hammer> subscription refresh-manifest --organization-id 1 [......................................................................] [100%] So I am moving this to VERIFIED. 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/RHBA-2017:2466 |
There is code difference in determining the string value. satellite 6.2.9 <<<----katello-3.0.0.125 satellite 6.2.10 <<<---katello-3.0.0.137 # diff candlepin.rb.629 candlepin.rb.6210 274,276c274,276 < uri.port = proxy_config[:port] < uri.user = proxy_config[:user] < uri.password = proxy_config[:password] --- > uri.port = proxy_config[:port].to_s > uri.user = proxy_config[:user].to_s > uri.password = proxy_config[:password].to_s