Bug 1464881 - Getting "password component depends user component" error while refreshing manifest
Summary: Getting "password component depends user component" error while refreshing ma...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.2.10
Hardware: x86_64
OS: All
high
high
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Renzo Nuccitelli
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1469692
TreeView+ depends on / blocked
 
Reported: 2017-06-26 07:41 UTC by Hao Chang Yu
Modified: 2021-08-30 12:15 UTC (History)
21 users (show)

Fixed In Version: rubygem-katello-3.0.0.140-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1469692 (view as bug list)
Environment:
Last Closed: 2017-08-10 17:02:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20216 0 None None None 2017-07-05 13:37:06 UTC
Red Hat Knowledge Base (Solution) 3093191 0 None None None 2017-06-26 23:27:40 UTC
Red Hat Product Errata RHBA-2017:2466 0 normal SHIPPED_LIVE Satellite 6.2.11 Async Release 2017-08-10 21:01:20 UTC

Comment 1 Amit Kumar Das 2017-06-26 07:49:05 UTC
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

Comment 3 Hao Chang Yu 2017-06-26 07:55:50 UTC
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]

Comment 6 Renzo Nuccitelli 2017-07-25 13:46:37 UTC
Manifest refresh worked both through UI and hammer:

hammer> subscription refresh-manifest --organization-id 1
[......................................................................] [100%]

So I am moving this to VERIFIED.

Comment 8 errata-xmlrpc 2017-08-10 17:02:29 UTC
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


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