Bug 239743

Summary: rhn5 code expect rhn5 schema to activate certificate
Product: Red Hat Satellite 5 Reporter: Matthew Davis <mdavis>
Component: UpgradesAssignee: Matthew Davis <mdavis>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat500 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-26 02:15:19 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: 173432    

Description Matthew Davis 2007-05-10 21:51:29 UTC
* Performing initial configuration.
* Activating Satellite.
Where is your satellite certificate file? /root/cert5
** Loading Satellite Certificate.
** Verifying certificate locally.
** Activating Satellite.
There was a problem activating the satellite: Local activation failure.


# cat /var/log/rhn/rhn-installation.log
<snip>
ERROR: RHN Entitlement Certificate failed to validate: 
Exception reported from fjs-0-09.rhndev.redhat.com
Time: Thu May 10 17:49:16 2007
Exception type exceptions.TypeError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line 200, in
activateSatellite_local
    satCerts.storeRhnCert(cert, check_generation=1)
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 227, in storeRhnCert
    set_slots_from_cert(sc)
  File "/usr/share/rhn/satellite_tools/satCerts.py", line 128, in
set_slots_from_cert
    slot_type_id = slot_table[db_label]['id']
TypeError: unsubscriptable object

Comment 1 Matthew Davis 2007-05-10 22:00:56 UTC
Because there is a step in the upgrade process to activate the certificate,
activation of the cert during the upgrade is being skipped until after the
schema is upgraded.

Comment 3 Matthew Davis 2007-05-15 19:42:18 UTC
ON_QA

Comment 4 Corey Welton 2007-06-06 20:04:26 UTC
QA Verified, running in --disconnected alerts user that s/he will have to
activate afterwards.


Comment 5 Corey Welton 2007-06-20 13:37:07 UTC
release_pending

Comment 6 Brandon Perkins 2007-06-26 02:15:19 UTC
Closed for Satellite 500 Release.