Skip to content

Instantly share code, notes, and snippets.

@Pajk
Created September 20, 2012 07:47
Show Gist options
  • Save Pajk/3754492 to your computer and use it in GitHub Desktop.
Save Pajk/3754492 to your computer and use it in GitHub Desktop.
cat /var/log/katello/katello-configure/db_migrate.log
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/bin/rake:23:in `load'
/usr/bin/rake:23
cat /var/log/katello/katello-configure/db_seed.log
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/bin/rake:23:in `load'
/usr/bin/rake:23
[ppokorny@katello src]$ sudo katello-configure --reset-data=YES -b
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20120920-094345/main.log]
notice: Scope(Class[Katello::Params]): CPU count: 1
notice: Scope(Class[Katello::Params]): Thin processes recommendation: 2
notice: Scope(Class[Katello::Params]): Total memory: 1964947537.92
notice: Scope(Class[Katello::Params]): Thin consumes: 230000000
notice: Scope(Class[Katello::Params]): Reserve: 2000000000
notice: Scope(Class[Katello::Params]): Portion: 0.4
notice: Scope(Class[Katello::Params]): Maximum processes: -1
notice: Scope(Class[Katello::Params]): Thin processes: 2
notice: Scope(Class[Katello::Params]): CPU count: 1
notice: Scope(Class[Katello::Params]): Thin processes recommendation: 2
notice: Scope(Class[Katello::Params]): Total memory: 1964947537.92
notice: Scope(Class[Katello::Params]): Thin consumes: 230000000
notice: Scope(Class[Katello::Params]): Reserve: 2000000000
notice: Scope(Class[Katello::Params]): Portion: 0.6
notice: Scope(Class[Katello::Params]): Maximum processes: -1
notice: Scope(Class[Katello::Params]): Thin processes: 2
Loading random seed from /etc/katello/oauth_token-file
Loading random seed from /etc/katello/keystore_password-file
Loading random seed from /etc/katello/pulp_user_password-file
Loading random seed from /etc/katello/keystore_password-file
Passphrase file was already generated, you can only generate once
''
info: Applying configuration version '1348127026'
notice: /Stage[main]/Katello::Config/Exec[reset_katello_db]/returns: executed successfully
info: /Stage[main]/Katello::Config/Exec[reset_katello_db]: Scheduling refresh of Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE katelloschema;" >> /var/log/katello/katello-configure/drop-postgresql-katello-database.log 2>&1]
notice: /File[/var/log/katello/katello-configure]/seluser: seluser changed 'unconfined_u' to 'system_u'
notice: /Stage[main]/Katello::Config/Postgres::Dropdb[katelloschema]/Sqlexec[dropdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE katelloschema;" >> /var/log/katello/katello-configure/drop-postgresql-katello-database.log 2>&1]: Triggered 'refresh' from 1 events
info: /Stage[main]/Katello::Config/Postgres::Dropdb[katelloschema]/Sqlexec[dropdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE katelloschema;" >> /var/log/katello/katello-configure/drop-postgresql-katello-database.log 2>&1]: Scheduling refresh of Exec[psql -h localhost --username=postgres postgres -c "CREATE DATABASE katelloschema WITH OWNER = katellouser ENCODING = 'UTF8';" >> /var/log/katello/katello-configure/create-postgresql-katello-database.log 2>&1]
info: /Stage[main]/Katello::Config/Postgres::Dropdb[katelloschema]/Sqlexec[dropdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE katelloschema;" >> /var/log/katello/katello-configure/drop-postgresql-katello-database.log 2>&1]: Scheduling refresh of Exec[katello_migrate_db]
info: /Stage[main]/Katello::Config/Postgres::Dropdb[katelloschema]/Sqlexec[dropdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE katelloschema;" >> /var/log/katello/katello-configure/drop-postgresql-katello-database.log 2>&1]: Scheduling refresh of Exec[katello_db_printenv]
info: /Stage[main]/Katello::Config/Postgres::Dropdb[katelloschema]/Sqlexec[dropdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE katelloschema;" >> /var/log/katello/katello-configure/drop-postgresql-katello-database.log 2>&1]: Scheduling refresh of Exec[katello_seed_db]
notice: /Stage[main]/Katello::Config/Postgres::Createdb[katelloschema]/Sqlexec[createdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "CREATE DATABASE katelloschema WITH OWNER = katellouser ENCODING = 'UTF8';" >> /var/log/katello/katello-configure/create-postgresql-katello-database.log 2>&1]/returns: executed successfully
notice: /Stage[main]/Katello::Config/Postgres::Createdb[katelloschema]/Sqlexec[createdb-katelloschema]/Exec[psql -h localhost --username=postgres postgres -c "CREATE DATABASE katelloschema WITH OWNER = katellouser ENCODING = 'UTF8';" >> /var/log/katello/katello-configure/create-postgresql-katello-database.log 2>&1]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Pulp::Config/Exec[reset_pulp_db]/returns: executed successfully
err: /Stage[main]/Foreman::Config/Exec[foreman_migrate_db]/returns: change from notrun to 0 failed: /usr/bin/env rake db:migrate --trace --verbose > /var/log/katello/katello-configure/foreman-db-migrate.log 2>&1 && touch /var/lib/katello/foreman_db_migrate_done returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/foreman/manifests/config.pp:81
notice: /Stage[main]/Candlepin::Config/Exec[reset_candlepin_db]/returns: executed successfully
info: /Stage[main]/Candlepin::Config/Exec[reset_candlepin_db]: Scheduling refresh of Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE candlepin;" >> /var/log/katello/katello-configure/drop-postgresql-candlepin-database.log 2>&1]
notice: /Stage[main]/Candlepin::Config/Postgres::Dropdb[candlepin]/Sqlexec[dropdb-candlepin]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE candlepin;" >> /var/log/katello/katello-configure/drop-postgresql-candlepin-database.log 2>&1]: Triggered 'refresh' from 1 events
info: /Stage[main]/Candlepin::Config/Postgres::Dropdb[candlepin]/Sqlexec[dropdb-candlepin]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE candlepin;" >> /var/log/katello/katello-configure/drop-postgresql-candlepin-database.log 2>&1]: Scheduling refresh of Exec[cpinit]
info: /Stage[main]/Candlepin::Config/Postgres::Dropdb[candlepin]/Sqlexec[dropdb-candlepin]/Exec[psql -h localhost --username=postgres postgres -c "DROP DATABASE candlepin;" >> /var/log/katello/katello-configure/drop-postgresql-candlepin-database.log 2>&1]: Scheduling refresh of Exec[cpdb]
notice: /Stage[main]/Candlepin::Config/Exec[cpdb]/returns: executed successfully
notice: /Stage[main]/Candlepin::Config/Exec[cpdb]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Foreman::Service/Service[foreman]: Dependency Exec[foreman_migrate_db] has failures: true
warning: /Stage[main]/Foreman::Service/Service[foreman]: Skipping because of failed dependencies
notice: /Stage[main]/Candlepin::Service/Service[tomcat6]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Candlepin::Service/Exec[cpinit]/returns: executed successfully
notice: /Stage[main]/Candlepin::Service/Exec[cpinit]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Elasticsearch::Config/Exec[reset_elasticsearch_data]/returns: executed successfully
info: /Stage[main]/Elasticsearch::Config/Exec[reset_elasticsearch_data]: Scheduling refresh of Service[elasticsearch]
notice: /Stage[main]/Elasticsearch::Service/Service[elasticsearch]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]/returns: executed successfully
info: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: Scheduling refresh of Exec[reload-apache2]
notice: /Stage[main]/Apache2::Service/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Katello::Config/Exec[katello_db_printenv]/returns: executed successfully
notice: /Stage[main]/Katello::Config/Exec[katello_db_printenv]: Triggered 'refresh' from 1 events
err: /Stage[main]/Katello::Config/Exec[katello_bundler_check]/returns: change from notrun to 0 failed: bundle install --local > /var/log/katello/katello-configure/bundler.log 2>&1 returned 6 instead of one of [0] at /usr/share/katello/install/puppet/modules/katello/manifests/config.pp:157
notice: /Stage[main]/Katello::Config/Exec[katello_migrate_db]: Dependency Exec[katello_bundler_check] has failures: true
warning: /Stage[main]/Katello::Config/Exec[katello_migrate_db]: Skipping because of failed dependencies
err: /Stage[main]/Katello::Config/Exec[katello_migrate_db]: Failed to call refresh: /usr/bin/env rake db:migrate --trace --verbose > /var/log/katello/katello-configure/db_migrate.log 2>&1 && touch /var/lib/katello/db_migrate_done returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/katello/manifests/config.pp:167
notice: /Stage[main]/Katello::Config/Exec[katello_seed_db]: Dependency Exec[katello_bundler_check] has failures: true
warning: /Stage[main]/Katello::Config/Exec[katello_seed_db]: Skipping because of failed dependencies
err: /Stage[main]/Katello::Config/Exec[katello_seed_db]: Failed to call refresh: /usr/bin/env rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/katello/manifests/config.pp:181
notice: /Stage[main]/Katello::Service/Service[katello]: Dependency Exec[katello_bundler_check] has failures: true
warning: /Stage[main]/Katello::Service/Service[katello]: Skipping because of failed dependencies
notice: /Stage[main]/Apache2/Exec[reload-apache2]: Dependency Exec[katello_bundler_check] has failures: true
warning: /Stage[main]/Apache2/Exec[reload-apache2]: Skipping because of failed dependencies
notice: /Stage[main]/Apache2/Exec[reload-apache2]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Katello::Service/Service[katello-jobs]: Dependency Exec[katello_bundler_check] has failures: true
warning: /Stage[main]/Katello::Service/Service[katello-jobs]: Skipping because of failed dependencies
notice: Finished catalog run in 80.80 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment