Bug 656294

Summary: when iss parent is set in rhn.conf, rhn-satellite-activation end with error
Product: Red Hat Satellite 5 Reporter: Jiri Kastner <jkastner>
Component: RegistrationAssignee: Michael Mráka <mmraka>
Status: CLOSED ERRATA QA Contact: Jan Hutař <jhutar>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: cperry, jhutar, pstudeni, slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-backend-1.2.13-56 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-21 09:44:45 UTC Type: ---
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: 715348    

Description Jiri Kastner 2010-11-23 12:54:44 UTC
Description of problem:
when you install satellite in disconnected mode and configure iss master with iss_ca_chain. then execute rhn-satellite-activation, it fails with 'certificate verify failed' error

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


How reproducible:


Steps to Reproduce:
1. install disconnected satellite
2. configure iss_parent and iss_ca_chain
3. run rhn-satellite-activate
  
Actual results:
[root@xxxx ~]# rhn-satellite-activate --rhn-cert sat.cert
RHN_PARENT: satellite.rhn.redhat.com
Population of the Channel Family permissions failed.

Expected results:
satellite-sync phase during rhn-satellite-activation should be against hosted, not against iss parent.

Additional info:

Comment 2 Michael Mráka 2010-12-01 13:01:23 UTC
rhn-satellite-activate should not try to sync packages from iss_parent.

Fixed in spacewalk git by
commit 45240b4bd4b9fdf6ba5b6ba000c84fdc59ff07b3
    656294 - sync channels only from rhn_parent

Comment 3 Michael Mráka 2011-10-26 08:59:42 UTC
Backported to SATELLITE-5.4 as
commit ac6ec54be3562f4c968cb2c03654e4dec15e90bc
    656294 - sync channels only from rhn_parent

Comment 6 errata-xmlrpc 2011-11-21 09:44:45 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.

http://rhn.redhat.com/errata/RHBA-2011-1466.html