Bug 1224256

Summary: Perform installation sanity check for 6.1 GA
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: InstallationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, cwelton, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-09 04:20:11 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 2015-05-22 11:51:49 UTC
Clean installation of our GA compose (COMPOSE 5):

Errors in the initialization logs:

dbmigrate.log: dbseed.log:
rake aborted!
Please install the sqlite3 adapter: `gem install
activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) amongst··

Other errors:

cron.log:
rake aborted!
PGError: ERROR:  duplicate key value violates unique constraint
"index_settings_on_name"
DETAIL:  Key (name)=(dynflow_enable_console) already exists.
: INSERT INTO "settings" ("category", "created_at", "default",
"description", "name", "settings_type", "updated_at", "value") VALUES
($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"

postgres.log:

ERROR:  relation "settings" does not exist at character 245
STATEMENT:              SELECT a.attname, format_type(a.atttypid,
a.atttypmod), d.adsrc, a.attnotnull

Passenger is trying to compile some native extensions:

[ 2015-05-22 06:01:05.5973 20334/7f59ad559700 Pool2/Spawner.h:159 ]:
[App 21822 stderr] /usr/bin/ruby: No such file or         +directory --
/usr/share/gems/gems/passenger-4.0.18/ruby_extension_source/extconf.rb
(LoadError)
[ 2015-05-22 06:01:05.5987 20334/7f59ad559700 Pool2/Spawner.h:159 ]:
[App 21822 stderr] Compilation failed.
[ 2015-05-22 06:01:05.5987 20334/7f59ad559700 Pool2/Spawner.h:159 ]:
[App 21822 stderr] -------------------------------
[ 2015-05-22 06:01:05.5987 20334/7f59ad559700 Pool2/Spawner.h:159 ]:
[App 21822 stderr] Ruby native_support extension not·

(This is usually SCL-packaging error when native extension shared 
library is in the wrong directory.)

Let's review and get rid of what we can fix for GA

Comment 1 RHEL Program Management 2015-05-22 12:02:25 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Lukas Zapletal 2015-05-22 12:07:53 UTC
Restarts of the installer should do no actions but it restart candlepin

[ INFO 2015-05-22 08:06:08 verbose]  Applying configuration version '1432296358'
[ WARN 2015-05-22 08:06:09 verbose]  An attempt has been made below to automatically apply your custom
[ INFO 2015-05-22 08:06:09 verbose]     settings to mongodb::server. Please verify this works in a safe test
[ INFO 2015-05-22 08:06:09 verbose]     environment.
[ WARN 2015-05-22 08:06:09 verbose]  /Stage[main]/Mongodb/Notify[An attempt has been made below to automatically apply your custom
[ INFO 2015-05-22 08:06:09 verbose]     settings to mongodb::server. Please verify this works in a safe test
[ INFO 2015-05-22 08:06:09 verbose]     environment.]/message: defined 'message' as 'An attempt has been made below to automatically apply your custom
[ INFO 2015-05-22 08:06:09 verbose]     settings to mongodb::server. Please verify this works in a safe test
[ INFO 2015-05-22 08:06:09 verbose]     environment.'
[ INFO 2015-05-22 08:06:09 verbose]     settings to mongodb::server. Please verify this works in a safe test
[ INFO 2015-05-22 08:06:09 verbose]     environment.]: The container Class[Mongodb] will propagate my refresh event
[ INFO 2015-05-22 08:06:09 verbose]  Class[Mongodb]: Scheduling refresh of Class[Qpid]
[ INFO 2015-05-22 08:06:11 verbose]                   'candlepin', 'CREATE')) count"'
[ INFO 2015-05-22 08:06:11 verbose]                   'gutterball', 'CREATE')) count"'
[ INFO 2015-05-22 08:06:11 verbose]                   'foreman', 'CREATE')) count"'
[ WARN 2015-05-22 08:06:38 verbose]  /Stage[main]/Certs::Candlepin/Exec[import client certificate into Candlepin keystore]/returns: executed successfully
[ INFO 2015-05-22 08:06:38 verbose]  Class[Certs::Candlepin]: Scheduling refresh of Class[Candlepin]
[ WARN 2015-05-22 08:06:39 verbose]  /Stage[main]/Katello::Qpid/Exec[bind katello entitlments queue to qpid exchange messages that deal with entitlements]/returns: executed successfully

Comment 4 Mike McCune 2015-06-02 04:31:56 UTC
This looks like a dupe of:

https://bugzilla.redhat.com/show_bug.cgi?id=1226457

Comment 5 Mike McCune 2015-06-09 04:20:11 UTC
going to close this out as a dupe

*** This bug has been marked as a duplicate of bug 1226457 ***