Project

General

Profile

Actions

Bug #22278

open

nightly install failed at db: migrate

Added by Sachin Ghai about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DB migrations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman+katello night installed failed at db: migrate step:

[ERROR 2018-01-14 15:19:06 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: '/usr/sbin/foreman-rake db:migrate' returned 1 instead of one of [0]

# /usr/sbin/foreman-rake db:migrate --trace
/opt/theforeman/tfm/root/usr/share/gems/gems/sequel-4.20.0/lib/sequel/database/schema_generator.rb:19: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/sequel-4.20.0/lib/sequel/database/schema_generator.rb:19: warning: constant ::Bignum is deprecated
rake aborted!
Gem loading error: Could not find 'polyglot' (>= 0) among 168 total gem(s)
Checked in 'GEM_PATH=/opt/theforeman/tfm/root/usr/share/gems:/opt/rh/tfm-ror51/root/usr/share/gems:/usr/share/foreman/.gem/ruby:/opt/rh/rh-ruby24/root/usr/share/gems:/opt/rh/rh-ruby24/root/usr/local/share/gems/opt/rh/tfm-ror51/root/usr/share/gems:/opt/rh/rh-ruby24/root/usr/local/share/gems', execute `gem env` for more information
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/output.rb:13:in `strict_err'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:46:in `rescue in block in system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:39:in `block in system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:19:in `block in system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
/usr/share/foreman/config/application.rb:17:in `<top (required)>'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/foreman/Rakefile:1:in `<top (required)>'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in `load'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in `load_rakefile'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:687:in `raw_load_rakefile'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:96:in `block in load_rakefile'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:95:in `load_rakefile'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:79:in `block in run'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/lib/rake/application.rb:77:in `run'
/opt/rh/rh-ruby24/root/usr/share/gems/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/opt/rh/rh-ruby24/root/usr/bin/rake:23:in `load'
/opt/rh/rh-ruby24/root/usr/bin/rake:23:in `<main>'
Gem::MissingSpecError: Could not find 'polyglot' (>= 0) among 168 total gem(s)
Checked in 'GEM_PATH=/opt/theforeman/tfm/root/usr/share/gems:/opt/rh/tfm-ror51/root/usr/share/gems:/usr/share/foreman/.gem/ruby:/opt/rh/rh-ruby24/root/usr/share/gems:/opt/rh/rh-ruby24/root/usr/local/share/gems/opt/rh/tfm-ror51/root/usr/share/gems:/opt/rh/rh-ruby24/root/usr/local/share/gems', execute `gem env` for more information
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/dependency.rb:308:in `to_specs'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1444:in `block in activate_dependencies'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1433:in `each'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1433:in `activate_dependencies'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1415:in `activate'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1447:in `block in activate_dependencies'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1433:in `each'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1433:in `activate_dependencies'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/specification.rb:1415:in `activate'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems.rb:220:in `rescue in try_activate'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems.rb:213:in `try_activate'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:40:in `require'
/opt/rh/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/opt/rh/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/opt/rh/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:41:in `block in system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/runtime.rb:37:in `system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:19:in `block in system_require'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext.rb:14:in `system_require'
/usr/share/foreman/config/application.rb:17:in `<top (required)>'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/opt/rh/rh-ruby24/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/share/foreman/Rakefile:1:in `<top (required)>'

Installed packages: ==========================

foreman-gce-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-release-scl-4-1.el7.noarch
foreman-installer-1.17.0-0.develop.201801090328git1abf04f.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.12-1.fm1_17.el7.noarch
tfm-rubygem-foreman_docker-3.2.1-1.fm1_16.el7.noarch
foreman-vmware-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-postgresql-1.17.0-0.develop.201801091952git0df382a.el7.noarch
qe-nightly-rhel7.usersys.redhat.com-foreman-proxy-1.0-1.noarch
foreman-debug-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-installer-katello-3.6.0-1.nightly.201710162212gita17ce3a.el7.noarch
foreman-openstack-1.17.0-0.develop.201801091952git0df382a.el7.noarch
tfm-rubygem-foreman-tasks-0.10.0-2.fm1_16.el7.noarch
qe-nightly-rhel7.usersys.redhat.com-foreman-client-1.0-1.noarch
foreman-cli-1.17.0-0.develop.201801091952git0df382a.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.11.0-2.el7.noarch
foreman-release-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-proxy-1.18.0-0.develop.201801081903git5daac97.el7.noarch
foreman-ec2-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-ovirt-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-1.17.0-0.develop.201801091952git0df382a.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-5.el7.noarch
foreman-rackspace-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-compute-1.17.0-0.develop.201801091952git0df382a.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-2.el7.noarch
qe-nightly-rhel7.usersys.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-libvirt-1.17.0-0.develop.201801091952git0df382a.el7.noarch
foreman-selinux-1.18.0-0.develop.201801080914gite5b39a6.el7.noarch
tfm-rubygem-foreman-tasks-core-0.2.0-1.fm1_16.el7.noarch

No data to display

Actions

Also available in: Atom PDF