Hi Folks!
I'm having some problems with the Capsule-installer for Katello 2.2.2.
It's on CentOS 6.6 using Puppet 3.8.1 (although I also had the same
problem with Puppet 3.7.5).
Background: I'm installing both the Katello Server and the Capsule from a
custom rolled CentOS 6.6 ISO, using kickstarts to deploy the packages
necessary for either the Katello role or the capsule role. The Katello
server installs fine, and then I re-configure it for the correct
configuration/environment by running the katello installer with the correct
paramters as well as --reset.
Using the same methodology, the capsule-installer will not configure
correctly. It throws off errors, then fails.
The errors are as follows (–verbose --verbose-log-leve=all):
[DEBUG 2015-07-15 15:54:42 verbose] Creating default schedules
[ERROR 2015-07-15 15:54:42 verbose] Could not find filebucket specified
in backup
That I've traced the 'backup' back to the concat module in
/usr/share/katello-installer/modules/concat. Setting the backup variable
to false in that modules' init.pp does not eliminate that problem either;
it still complains that "Could not find filebucket specified in backup"
The default schedules just looks like part of the test harness; might be a
red herring.
[capsule-server modules]# grep -r "Creating default schedules" *
foreman/spec/static_fixtures/report-2.6.2-debug.yaml: message:
Creating default schedules
foreman/spec/static_fixtures/report-format-1.yaml: message: Creating
default schedules
The other errors, likely derived from the first "filebucket" one, are:
[ INFO 2015-07-15 15:54:42 verbose] Puppet has finished, bye!
[ INFO 2015-07-15 15:54:42 verbose] Executing hooks in group post
[DEBUG 2015-07-15 15:54:42 verbose] Hook
/usr/share/katello-installer/hooks/post/30-upgrade.rb returned nil
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/capsule-installer/capsule-installer.log
[DEBUG 2015-07-15 15:54:42 verbose] Hook
/usr/share/katello-installer/hooks/post/10-post_install.rb returned nil
[ INFO 2015-07-15 15:54:42 verbose] All hooks in group post finished
[DEBUG 2015-07-15 15:54:42 verbose] Exit with status code: 1 (signal was 1)
[ERROR 2015-07-15 15:54:42 verbose] Repeating errors encountered during run:
[ERROR 2015-07-15 15:54:42 verbose] Could not find filebucket specified
in backup
This might be related to the (future?) switch to concat_native from the
foreman concat module; not sure. Does anyone have any suggestions to
debug, fix, or work-around this? I've also tried setting file backup to
false in the global manifests.pp, but it doesn't look like the system's
puppet configuration is used at all by the capsule-installer.
I've also noticed that trying to run the capsule-installer with --reset has
it complaining about not being able to reach postgres or drop the postgres
DB, so that should probably be disabled in the capsule modules (no postgres
on a capsule).
Thanks in advance if anyone has any ideas!
/Mike