Bug 872096

Summary: Configuration files after upgrade are not deployed
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: InstallationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED ERRATA QA Contact: Og Maciel <omaciel>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: achan, cpelland, gkhachik, mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In an upgrade, the command katello-upgrade does not include katello-configure. katello-configure needed to be run after running upgrade. katello-configure has been added into the katello-upgrade script, elimintating an extra step to upgrading System Engine.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:57:39 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:

Description Lukas Zapletal 2012-11-01 08:25:15 UTC
We now run katello-configure at the end of the katello-upgrade, because configuration files were unchanged:

https://bugzilla.redhat.com/attachment.cgi?id=635574&action=diff

QE: To verify this, please install 1.0 and upgrade to 1.1 with the following instructions:

https://fedorahosted.org/katello/wiki/Upgrade

Comment 1 Lukas Zapletal 2012-11-01 08:25:38 UTC
https://github.com/Katello/katello/pull/971

Comment 4 Lukas Zapletal 2012-11-01 08:41:55 UTC
For to doco effor, there is another BZ: https://bugzilla.redhat.com/show_bug.cgi?id=871488

Comment 7 Lukas Zapletal 2012-11-05 12:13:50 UTC
Testing done

Comment 16 Lukas Zapletal 2012-11-07 09:50:31 UTC
Og, thanks for your comments.

You should not start katello upgrade process if the instance is not started and working properly. You obviously had postgresql service down, Katello does not work without SQL database.

Therefore I think we should add a note telling user to check if the instance is on-line and working - for example using katello ping command.

Comments?

Comment 17 Lukas Zapletal 2012-11-07 10:42:25 UTC
Ah I see the point, in the doco there is requirement to stop the postgres. This is not correct, good catch! Removing and also adding additional note to check if katello is running (wont hurt). Please comment:

https://fedorahosted.org/katello/wiki/Upgrade?action=diff&version=17&old_version=16

Comment 20 Og Maciel 2012-11-07 15:40:46 UTC
Confirmed that this does fix the issue I was seeing! Leaving postgresql alone did the trick!

Comment 22 errata-xmlrpc 2012-12-04 19:57:39 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/RHSA-2012-1543.html