Bug 1221224

Summary: CreateFirstUser.do should also contains spacewalk-schema-upgrade warning if it should be run
Product: Red Hat Satellite 5 Reporter: Tomáš Kašpárek <tkasparek>
Component: InstallerAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: cperry, lhellebr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.8-107-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-04 07:16:41 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: 1127217    

Description Tomáš Kašpárek 2015-05-13 14:15:42 UTC
Description of problem:
CreateFirstUser.do should also contains spacewalk-schema-upgrade warning if it should be run like Login.do

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

How reproducible:
always

Steps to Reproduce:
1. Install Satellite from ISO
2. Apply schema errata
3.

Actual results:
No information that spacewalk-schema-upgrade should be run.

Expected results:
Information that spacewalk-schema-upgrade should be run.

Comment 2 Tomáš Kašpárek 2015-05-18 11:00:30 UTC
spacewalk.git(master): 51c54f2d2001da9143d3bb356cbe58f366cf1373

Comment 5 Lukáš Hellebrandt 2015-07-01 15:12:11 UTC
Verified with spacewalk-java-2.3.8-108 and spacewalk-schema-2.3.2-18 .

1) Have an updated Satellite 5.7 (updated to the Hosted state on 20150701) WITHOUT ANY USER
2) Install spacewalk-java-2.3.8.-108 (the "fixed in" package)
3) Go to the satellite WebUI, notice there is no warning on the "Create Red Hat Satellite Administrator" page
4) Install spacewalk-schema-2.3.2-18 (so there is need to upgrade schema)
5) Repeat 3), notice there is warning now
6) Run spacewalk-schema-upgrade
7) Repeat 3), notice the warning disappeared

Comment 7 errata-xmlrpc 2015-08-04 07:16:41 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://rhn.redhat.com/errata/RHBA-2015-1541.html