Project

General

Profile

Bug #13529 ยป db_migrate.log

Edward Clay, 02/02/2016 05:36 PM

 
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, addressable-2.3.6, algebrick-0.7.3, ancestry-2.0.0, anemone-0.7.2, angular-rails-templates-0.1.2, ansi-1.4.3, apipie-params-0.0.3, apipie-rails-0.2.6, archive-tar-minitar-0.5.2, arel-3.0.2, audited-3.0.0, audited-activerecord-3.0.0, autoparse-0.3.3, bastion-2.0.0, bigdecimal-1.1.0, builder-3.0.0, bundler-1.3.5, bundler_ext-0.3.0, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.3.3, commonjs-0.2.7, concurrent-ruby-0.9.0, concurrent-ruby-edge-0.1.0, daemons-1.1.4, deep_cloneable-2.0.2, deface-0.7.2, diff-lcs-1.1.3, docker-api-1.17.0, dynflow-0.8.5, erubis-2.7.0, excon-0.45.3, execjs-1.4.0, extlib-0.9.16, faraday-0.9.1, fast_gettext-0.9.2, fog-1.32.0, fog-aws-0.6.0, fog-core-1.32.0, fog-google-0.0.5, fog-json-1.0.2, fog-libvirt-0.0.2, fog-xml-0.1.2, foreigner-1.7.1, foreman-tasks-0.7.3, foreman_bootdisk-6.0.0, foreman_docker-1.4.1, foreman_gutterball-0.0.1, foreman_hooks-0.3.8, formatador-0.2.1, friendly_id-4.0.10.1, gettext_i18n_rails-1.2.1, google-api-client-0.8.2, haml-4.0.6, haml-rails-0.4, hashr-0.0.22, hike-1.2.1, hooks-0.2.2, hpricot-0.8.6, i18n-0.6.0, i18n_data-0.2.7, io-console-0.3, ipaddress-0.8.0, journey-1.0.4, jquery-ui-rails-4.1.2, json-1.5.5, justified-0.0.4, jwt-1.2.0, katello-2.3.1, launchy-2.4.3, ldap_fluff-0.3.7, less-2.5.1, less-rails-2.5.0, little-plugger-1.1.3, logging-1.8.2, mail-2.4.4, mime-types-1.19, minitest-2.5.1, multi_json-1.10.1, multipart-post-1.2.0, net-http-persistent-2.7, net-ldap-0.11, net-scp-1.1.0, net-ssh-2.6.7, netrc-0.7.7, nokogiri-1.5.11, oauth-0.4.7, polyglot-0.3.3, qpid_messaging-0.30.0, rabl-0.11.6, rack-1.4.1, rack-cache-1.2, rack-jsonp-1.3.1, rack-protection-1.2.0, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.8, railties-3.2.8, rake-0.9.2.2, rbovirt-0.0.35, rbvmomi-1.8.2, rdoc-3.9.5, rest-client-1.6.7, retriable-1.4.1, robotex-1.0.0, ruby-libvirt-0.5.2, ruby2ruby-2.1.3, ruby_parser-3.6.3, runcible-1.3.5, safemode-1.2.2, sass-3.4.9, scoped_search-3.2.1, secure_headers-1.4.1, sequel-4.20.0, sexp_processor-4.4.4, signet-0.6.0, sinatra-1.3.2, sprockets-2.12.3, sshkey-1.6.0, strong_parameters-0.2.1, thor-0.18.1, tilt-1.3.3, tire-0.6.2, treetop-1.4.10, trollop-2.0, turbolinks-2.5.3, tzinfo-0.3.33, validates_lengths_from_database-0.4.0, wicked-1.1.0, will_paginate-3.0.2])

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, addressable-2.3.6, algebrick-0.7.3, ancestry-2.0.0, anemone-0.7.2, angular-rails-templates-0.1.2, ansi-1.4.3, apipie-params-0.0.3, apipie-rails-0.2.6, archive-tar-minitar-0.5.2, arel-3.0.2, audited-3.0.0, audited-activerecord-3.0.0, autoparse-0.3.3, bastion-2.0.0, bigdecimal-1.1.0, builder-3.0.0, bundler-1.3.5, bundler_ext-0.3.0, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.3.3, commonjs-0.2.7, concurrent-ruby-0.9.0, concurrent-ruby-edge-0.1.0, daemons-1.1.4, deep_cloneable-2.0.2, deface-0.7.2, diff-lcs-1.1.3, docker-api-1.17.0, dynflow-0.8.5, erubis-2.7.0, excon-0.45.3, execjs-1.4.0, extlib-0.9.16, faraday-0.9.1, fast_gettext-0.9.2, fog-1.32.0, fog-aws-0.6.0, fog-core-1.32.0, fog-google-0.0.5, fog-json-1.0.2, fog-libvirt-0.0.2, fog-xml-0.1.2, foreigner-1.7.1, foreman-tasks-0.7.3, foreman_bootdisk-6.0.0, foreman_docker-1.4.1, foreman_gutterball-0.0.1, foreman_hooks-0.3.8, formatador-0.2.1, friendly_id-4.0.10.1, gettext_i18n_rails-1.2.1, google-api-client-0.8.2, haml-4.0.6, haml-rails-0.4, hashr-0.0.22, hike-1.2.1, hooks-0.2.2, hpricot-0.8.6, i18n-0.6.0, i18n_data-0.2.7, io-console-0.3, ipaddress-0.8.0, journey-1.0.4, jquery-ui-rails-4.1.2, json-1.5.5, justified-0.0.4, jwt-1.2.0, katello-2.3.1, launchy-2.4.3, ldap_fluff-0.3.7, less-2.5.1, less-rails-2.5.0, little-plugger-1.1.3, logging-1.8.2, mail-2.4.4, mime-types-1.19, minitest-2.5.1, multi_json-1.10.1, multipart-post-1.2.0, net-http-persistent-2.7, net-ldap-0.11, net-scp-1.1.0, net-ssh-2.6.7, netrc-0.7.7, nokogiri-1.5.11, oauth-0.4.7, polyglot-0.3.3, qpid_messaging-0.30.0, rabl-0.11.6, rack-1.4.1, rack-cache-1.2, rack-jsonp-1.3.1, rack-protection-1.2.0, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.8, railties-3.2.8, rake-0.9.2.2, rbovirt-0.0.35, rbvmomi-1.8.2, rdoc-3.9.5, rest-client-1.6.7, retriable-1.4.1, robotex-1.0.0, ruby-libvirt-0.5.2, ruby2ruby-2.1.3, ruby_parser-3.6.3, runcible-1.3.5, safemode-1.2.2, sass-3.4.9, scoped_search-3.2.1, secure_headers-1.4.1, sequel-4.20.0, sexp_processor-4.4.4, signet-0.6.0, sinatra-1.3.2, sprockets-2.12.3, sshkey-1.6.0, strong_parameters-0.2.1, thor-0.18.1, tilt-1.3.3, tire-0.6.2, treetop-1.4.10, trollop-2.0, turbolinks-2.5.3, tzinfo-0.3.33, validates_lengths_from_database-0.4.0, wicked-1.1.0, will_paginate-3.0.2])

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
rake aborted!
Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (Could not find sqlite3 (~> 1.3.5) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, addressable-2.3.6, algebrick-0.7.3, ancestry-2.0.0, anemone-0.7.2, angular-rails-templates-0.1.2, ansi-1.4.3, apipie-params-0.0.3, apipie-rails-0.2.6, archive-tar-minitar-0.5.2, arel-3.0.2, audited-3.0.0, audited-activerecord-3.0.0, autoparse-0.3.3, bastion-2.0.0, bigdecimal-1.1.0, builder-3.0.0, bundler-1.3.5, bundler_ext-0.3.0, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.3.3, commonjs-0.2.7, concurrent-ruby-0.9.0, concurrent-ruby-edge-0.1.0, daemons-1.1.4, deep_cloneable-2.0.2, deface-0.7.2, diff-lcs-1.1.3, docker-api-1.17.0, dynflow-0.8.5, erubis-2.7.0, excon-0.45.3, execjs-1.4.0, extlib-0.9.16, faraday-0.9.1, fast_gettext-0.9.2, fog-1.32.0, fog-aws-0.6.0, fog-core-1.32.0, fog-google-0.0.5, fog-json-1.0.2, fog-libvirt-0.0.2, fog-xml-0.1.2, foreigner-1.7.1, foreman-tasks-0.7.3, foreman_bootdisk-6.0.0, foreman_docker-1.4.1, foreman_gutterball-0.0.1, foreman_hooks-0.3.8, formatador-0.2.1, friendly_id-4.0.10.1, gettext_i18n_rails-1.2.1, google-api-client-0.8.2, haml-4.0.6, haml-rails-0.4, hashr-0.0.22, hike-1.2.1, hooks-0.2.2, hpricot-0.8.6, i18n-0.6.0, i18n_data-0.2.7, io-console-0.3, ipaddress-0.8.0, journey-1.0.4, jquery-ui-rails-4.1.2, json-1.5.5, justified-0.0.4, jwt-1.2.0, katello-2.3.1, launchy-2.4.3, ldap_fluff-0.3.7, less-2.5.1, less-rails-2.5.0, little-plugger-1.1.3, logging-1.8.2, mail-2.4.4, mime-types-1.19, minitest-2.5.1, multi_json-1.10.1, multipart-post-1.2.0, net-http-persistent-2.7, net-ldap-0.11, net-scp-1.1.0, net-ssh-2.6.7, netrc-0.7.7, nokogiri-1.5.11, oauth-0.4.7, polyglot-0.3.3, qpid_messaging-0.30.0, rabl-0.11.6, rack-1.4.1, rack-cache-1.2, rack-jsonp-1.3.1, rack-protection-1.2.0, rack-ssl-1.3.2, rack-test-0.6.1, rails-3.2.8, railties-3.2.8, rake-0.9.2.2, rbovirt-0.0.35, rbvmomi-1.8.2, rdoc-3.9.5, rest-client-1.6.7, retriable-1.4.1, robotex-1.0.0, ruby-libvirt-0.5.2, ruby2ruby-2.1.3, ruby_parser-3.6.3, runcible-1.3.5, safemode-1.2.2, sass-3.4.9, scoped_search-3.2.1, secure_headers-1.4.1, sequel-4.20.0, sexp_processor-4.4.4, signet-0.6.0, sinatra-1.3.2, sprockets-2.12.3, sshkey-1.6.0, strong_parameters-0.2.1, thor-0.18.1, tilt-1.3.3, tire-0.6.2, treetop-1.4.10, trollop-2.0, turbolinks-2.5.3, tzinfo-0.3.33, validates_lengths_from_database-0.4.0, wicked-1.1.0, will_paginate-3.0.2])

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
#<Dynflow::Error: No executor available>
== AddDelayAttributes: migrating =============================================
-- add_column(:foreman_tasks_tasks, :start_at, :datetime, {:index=>true, :default=>nil, :null=>true})
-> 0.1329s
-- add_column(:foreman_tasks_tasks, :start_before, :datetime, {:index=>true, :default=>nil, :null=>true})
-> 0.0006s
== AddDelayAttributes: migrated (0.1337s) ====================================

Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
#<SystemExit: exit>
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
NOTICE: CREATE TABLE will create implicit sequence "katello_puppet_modules_id_seq" for serial column "katello_puppet_modules.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_puppet_modules_pkey" for table "katello_puppet_modules"
NOTICE: CREATE TABLE will create implicit sequence "katello_repository_puppet_modules_id_seq" for serial column "katello_repository_puppet_modules.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_puppet_modules_pkey" for table "katello_repository_puppet_modules"
NOTICE: CREATE TABLE will create implicit sequence "katello_content_view_puppet_environment_puppet_modules_id_seq" for serial column "katello_content_view_puppet_environment_puppet_modules.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_content_view_puppet_environment_puppet_modules_pkey" for table "katello_content_view_puppet_environment_puppet_modules"
NOTICE: CREATE TABLE will create implicit sequence "host_status_id_seq" for serial column "host_status.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "host_status_pkey" for table "host_status"
NOTICE: CREATE TABLE will create implicit sequence "katello_rpms_id_seq" for serial column "katello_rpms.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_rpms_pkey" for table "katello_rpms"
NOTICE: CREATE TABLE will create implicit sequence "katello_repository_rpms_id_seq" for serial column "katello_repository_rpms.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_rpms_pkey" for table "katello_repository_rpms"
NOTICE: CREATE TABLE will create implicit sequence "katello_package_groups_id_seq" for serial column "katello_package_groups.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_package_groups_pkey" for table "katello_package_groups"
NOTICE: CREATE TABLE will create implicit sequence "katello_repository_package_groups_id_seq" for serial column "katello_repository_package_groups.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_package_groups_pkey" for table "katello_repository_package_groups"
NOTICE: CREATE TABLE will create implicit sequence "katello_subscriptions_id_seq" for serial column "katello_subscriptions.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_subscriptions_pkey" for table "katello_subscriptions"
== MigrateWebsocketsSetting: migrating =======================================
== MigrateWebsocketsSetting: migrated (0.0173s) ==============================

== RemoveDuplicateTokens: migrating ==========================================
-- foreign_key_exists?(:tokens, {:name=>"tokens_host_id_fk"})
-> 0.0221s
-- remove_foreign_key(:tokens, {:column=>:host_id})
-> 0.0628s
-- index_exists?(:tokens, :host_id)
-> 0.0128s
-- remove_index(:tokens, :host_id)
-> 0.0034s
-- add_index(:tokens, :host_id, {:unique=>true})
-> 0.0690s
-- foreign_key_exists?(:tokens, {:name=>"tokens_host_id_fk"})
-> 0.0034s
-- add_foreign_key(:tokens, :hosts, {:name=>"tokens_host_id_fk"})
-> 0.0168s
== RemoveDuplicateTokens: migrated (0.2107s) =================================

== CreatePuppetModules: migrating ============================================
-- create_table("katello_puppet_modules")
-> 0.1202s
-- add_index(:katello_puppet_modules, :uuid, {:unique=>true})
-> 0.0333s
-- create_table("katello_repository_puppet_modules")
-> 0.0609s
-- add_index(:katello_repository_puppet_modules, [:puppet_module_id, :repository_id], {:unique=>true, :name=>"index_katello_repository_puppet_module_on_module_id_and_repo_id"})
-> 0.0395s
-- add_foreign_key("katello_repository_puppet_modules", "katello_puppet_modules", {:name=>"katello_repository_puppet_modules_puppet_module_id_fk", :column=>"puppet_module_id"})
-> 0.0024s
-- add_foreign_key("katello_repository_puppet_modules", "katello_repositories", {:name=>"katello_repository_puppet_modules_repo_id_fk", :column=>"repository_id"})
-> 0.0032s
-- create_table("katello_content_view_puppet_environment_puppet_modules")
-> 0.0446s
-- add_index(:katello_content_view_puppet_environment_puppet_modules, [:puppet_module_id, :content_view_puppet_environment_id], {:unique=>true, :name=>"index_katello_cv_puppet_env_module_on_module_id_and_cvpe_id"})
-> 0.0349s
-- add_foreign_key("katello_content_view_puppet_environment_puppet_modules", "katello_puppet_modules", {:name=>"katello_cv_puppet_env_puppet_modules_puppet_module_id_fk", :column=>"puppet_module_id"})
-> 0.0023s
-- add_foreign_key("katello_content_view_puppet_environment_puppet_modules", "katello_content_view_puppet_environments", {:name=>"katello_content_view_puppet_env_puppet_modules_repo_id_fk", :column=>"content_view_puppet_environment_id"})
-> 0.0028s
== CreatePuppetModules: migrated (0.3449s) ===================================

== AddStiToLookupKeys: migrating =============================================
-- add_column(:lookup_keys, :type, :string)
-> 0.0017s
-- add_index(:lookup_keys, :type)
-> 0.0625s
-- foreign_key_exists?(:environment_classes, :lookup_keys)
-> 0.0065s
-- remove_foreign_key(:environment_classes, :lookup_keys)
-> 0.0018s
-- rename_column(:environment_classes, :lookup_key_id, :puppetclass_lookup_key_id)
-> 0.0011s
-- add_foreign_key(:environment_classes, :lookup_keys, {:column=>:puppetclass_lookup_key_id, :name=>"environment_classes_lookup_key_id_fk"})
-> 0.0032s
== AddStiToLookupKeys: migrated (0.1928s) ====================================

== CreateHostStatus: migrating ===============================================
-- create_table(:host_status)
-> 0.0362s
-- add_index(:host_status, :host_id)
-> 0.0400s
-- add_foreign_key("host_status", "hosts", {:name=>"host_status_hosts_host_id_fk", :column=>"host_id"})
-> 0.0025s
-- add_column(:hosts, :global_status, :integer, {:default=>0, :null=>false})
-> 0.5869s
-- remove_column(:hosts, :puppet_status)
-> 0.0016s
== CreateHostStatus: migrated (1.1733s) ======================================

== AddRpm: migrating =========================================================
-- create_table("katello_rpms")
-> 0.0771s
-- add_index(:katello_rpms, :uuid, {:unique=>true})
-> 0.0336s
-- add_index(:katello_rpms, [:id, :uuid, :name, :version, :release, :arch, :version_sortable, :release_sortable], {:name=>"katello_rpms_fields_index"})
-> 0.0572s
-- create_table("katello_repository_rpms")
-> 0.0350s
-- add_index(:katello_repository_rpms, [:rpm_id, :repository_id], {:unique=>true})
-> 0.0334s
-- add_foreign_key("katello_repository_rpms", "katello_rpms", {:column=>"rpm_id"})
-> 0.0025s
-- add_foreign_key("katello_repository_rpms", "katello_repositories", {:column=>"repository_id"})
-> 0.0023s
== AddRpm: migrated (0.2416s) ================================================

== RenamePuppetclassCountersForLkSti: migrating ==============================
-- rename_column(:puppetclasses, :lookup_keys_count, :variable_lookup_keys_count)
-> 0.0011s
== RenamePuppetclassCountersForLkSti: migrated (0.0012s) =====================

== CreatePackageGroups: migrating ============================================
-- create_table("katello_package_groups")
-> 0.0828s
-- add_index(:katello_package_groups, :uuid, {:unique=>true})
-> 0.0403s
-- create_table("katello_repository_package_groups")
-> 0.0350s
-- add_index("katello_repository_package_groups", [:package_group_id, :repository_id], {:unique=>true, :name=>"index_katello_repository_package_groups_on_pgid_repoid"})
-> 0.0402s
-- add_foreign_key("katello_repository_package_groups", "katello_package_groups", {:name=>"katello_repository_package_groups_package_groups_id_fk", :column=>"package_group_id"})
-> 0.0023s
-- add_foreign_key("katello_repository_package_groups", "katello_repositories", {:name=>"katello_repository_package_groups_repo_id_fk", :column=>"repository_id"})
-> 0.1392s
== CreatePackageGroups: migrated (0.3403s) ===================================

== AddFullNameToSetting: migrating ===========================================
-- add_column(:settings, :full_name, :string)
-> 0.0011s
== AddFullNameToSetting: migrated (0.0012s) ==================================

== AddUniqueToOperatingsystemsTitle: migrating ===============================
-- add_index(:operatingsystems, :title, {:unique=>true})
-> 0.0689s
-- change_column_null(:operatingsystems, :name, false)
-> 0.0011s
-- add_index(:operatingsystems, [:name, :major, :minor], {:unique=>true})
-> 0.0739s
== AddUniqueToOperatingsystemsTitle: migrated (0.2241s) ======================

== RemoveIsParam: migrating ==================================================
-- remove_column(:lookup_keys, :is_param)
-> 0.0012s
== RemoveIsParam: migrated (0.0013s) =========================================

== AddDistributionsToRepository: migrating ===================================
-- add_column(:katello_repositories, :distribution_version, :string)
-> 0.0011s
-- add_column(:katello_repositories, :distribution_arch, :string)
-> 0.0006s
-- add_column(:katello_repositories, :distribution_bootable, :boolean)
-> 0.0006s
-- add_column(:katello_repositories, :distribution_family, :string)
-> 0.0006s
-- add_column(:katello_repositories, :distribution_variant, :string)
-> 0.0006s
-- add_column(:katello_repositories, :distribution_uuid, :string)
-> 0.0006s
== AddDistributionsToRepository: migrated (0.0045s) ==========================

== AddMergeDefaultToLookupKey: migrating =====================================
-- add_column(:lookup_keys, :merge_default, :boolean, {:null=>false, :default=>false})
-> 0.3092s
== AddMergeDefaultToLookupKey: migrated (0.3093s) ============================

== CreateSubscriptions: migrating ============================================
-- create_table("katello_subscriptions")
-> 0.0702s
-- add_column(:katello_pools, :subscription_id, :integer)
-> 0.0010s
-- add_column(:katello_pools, :account_number, :integer)
-> 0.0006s
-- add_column(:katello_pools, :contract_number, :integer)
-> 0.0006s
-- add_column(:katello_pools, :virtual, :boolean)
-> 0.0005s
-- add_column(:katello_pools, :quantity, :integer)
-> 0.0005s
-- add_column(:katello_pools, :start_date, :string)
-> 0.0365s
-- add_column(:katello_pools, :pool_type, :string)
-> 0.0007s
-- add_column(:katello_pools, :end_date, :string)
-> 0.0006s
-- add_column(:katello_pools, :ram, :integer)
-> 0.0005s
-- add_column(:katello_pools, :multi_entitlement, :boolean)
-> 0.0005s
-- add_column(:katello_pools, :consumed, :integer)NOTICE: CREATE TABLE will create implicit sequence "katello_subscription_products_id_seq" for serial column "katello_subscription_products.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_subscription_products_pkey" for table "katello_subscription_products"
NOTICE: CREATE TABLE will create implicit sequence "katello_pool_activation_keys_id_seq" for serial column "katello_pool_activation_keys.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_pool_activation_keys_pkey" for table "katello_pool_activation_keys"
NOTICE: CREATE TABLE will create implicit sequence "foreman_tasks_recurring_logics_id_seq" for serial column "foreman_tasks_recurring_logics.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_recurring_logics_pkey" for table "foreman_tasks_recurring_logics"
NOTICE: CREATE TABLE will create implicit sequence "foreman_tasks_task_groups_id_seq" for serial column "foreman_tasks_task_groups.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_task_groups_pkey" for table "foreman_tasks_task_groups"
NOTICE: CREATE TABLE will create implicit sequence "foreman_tasks_task_group_members_id_seq" for serial column "foreman_tasks_task_group_members.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_task_group_members_pkey" for table "foreman_tasks_task_group_members"
NOTICE: CREATE TABLE will create implicit sequence "foreman_tasks_triggerings_id_seq" for serial column "foreman_tasks_triggerings.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_triggerings_pkey" for table "foreman_tasks_triggerings"

-> 0.0005s
-- add_foreign_key(:katello_subscriptions, :taxonomies, {:name=>"katello_subscriptions_organization_fk", :column=>"organization_id"})
-> 0.0026s
-- add_foreign_key(:katello_pools, :katello_subscriptions, {:name=>"katello_pools_subscriptions_fk", :column=>"subscription_id"})
-> 0.0098s
-- add_index(:katello_subscriptions, :cp_id, {:unique=>true})
-> 0.0363s
-- add_index(:katello_pools, :cp_id, {:unique=>true})
-> 0.0401s
-- create_table("katello_subscription_products")
-> 0.0438s
-- add_index("katello_subscription_products", [:subscription_id, :product_id], {:unique=>true, :name=>"index_katello_subscriptions_products_on_subs_id_prod_id"})
-> 0.0333s
-- add_foreign_key("katello_subscription_products", "katello_subscriptions", {:name=>"katello_subscription_products_subscription_id_fk", :column=>"subscription_id"})
-> 0.0021s
-- add_foreign_key("katello_subscription_products", "katello_products", {:name=>"katello_subscription_products_product_id_fk", :column=>"product_id"})
-> 0.0025s
-- create_table("katello_pool_activation_keys")
-> 0.0373s
-- add_index("katello_pool_activation_keys", [:pool_id, :activation_key_id], {:unique=>true, :name=>"index_katello_pools_activation_keys_on_ack_id_pool_id"})
-> 0.0419s
-- add_foreign_key("katello_pool_activation_keys", "katello_pools", {:name=>"katello_pool_activation_keys_pool_id_fk", :column=>"pool_id"})
-> 0.0022s
-- add_foreign_key("katello_pool_activation_keys", "katello_activation_keys", {:name=>"katello_pool_activation_keys_ack_key_id_fk", :column=>"activation_key_id"})
-> 0.0030s
== CreateSubscriptions: migrated (0.3690s) ===================================

== AddTaskTypeValueIndex: migrating ==========================================
-- add_index(:foreman_tasks_tasks, [:type, :label])
-> 0.1398s
== AddTaskTypeValueIndex: migrated (0.1399s) =================================

== AddLookupValueMatchToHostAndHostgroup: migrating ==========================
-- add_column(:hosts, :lookup_value_matcher, :string)
-> 0.0014s
-- add_column(:hostgroups, :lookup_value_matcher, :string)
-> 0.0009s
== AddLookupValueMatchToHostAndHostgroup: migrated (1.1416s) =================

== RemoveDistributors: migrating =============================================
-- drop_table("katello_distributors")
-> 0.0213s
== RemoveDistributors: migrated (0.0214s) ====================================

== RemoveApplyInfoTaskIdFromTaxonomies: migrating ============================
-- remove_column(:taxonomies, :apply_info_task_id)
-> 0.0008s
== RemoveApplyInfoTaskIdFromTaxonomies: migrated (0.0009s) ===================

== CreateRecurringLogic: migrating ===========================================
-- create_table(:foreman_tasks_recurring_logics)
-> 0.0368s
== CreateRecurringLogic: migrated (0.0369s) ==================================

== CreateTaskGroups: migrating ===============================================
-- create_table(:foreman_tasks_task_groups)
-> 0.0370s
-- create_table(:foreman_tasks_task_group_members)
-> 0.0336s
-- add_index(:foreman_tasks_task_group_members, [:task_id, :task_group_id], {:unique=>true, :name=>"foreman_tasks_task_group_members_index"})
-> 0.0418s
== CreateTaskGroups: migrated (0.1127s) ======================================

== DropMarketingEngineeringProducts: migrating ===============================
-- drop_table(:katello_marketing_engineering_products)
-> 0.0038s
-- remove_column(:katello_products, :type)
-> 0.0009s
== DropMarketingEngineeringProducts: migrated (0.3205s) ======================

== UpdateHostStatusStatusFieldInt: migrating =================================
-- change_column(:host_status, :status, :integer, {:limit=>5})
-> 0.0020s
== UpdateHostStatusStatusFieldInt: migrated (0.0020s) ========================

== AddVirtOnlyToKatelloPools: migrating ======================================
-- add_column(:katello_pools, :virt_only, :boolean, {:default=>false, :null=>false})
-> 0.1563s
-- add_column(:katello_pools, :unmapped_guest, :boolean, {:default=>false, :null=>false})
-> 0.1506s
== AddVirtOnlyToKatelloPools: migrated (0.3071s) =============================

== AddRecurringLogicState: migrating =========================================
-- add_column(:foreman_tasks_recurring_logics, :state, :string, {:index=>true})
-> 0.0377s
== AddRecurringLogicState: migrated (0.0378s) ================================

== RegenerateRedHatKexec: migrating ==========================================
== RegenerateRedHatKexec: migrated (0.2248s) =================================

== AddHostStatusHostIdIndex: migrating =======================================
-- add_index(:host_status, [:type, :host_id], {:unique=>true})
-> 0.0417s
== AddHostStatusHostIdIndex: migrated (0.0433s) ==============================

== CreateTriggerings: migrating ==============================================
-- create_table(:foreman_tasks_triggerings)
-> 0.0370s
-- change_table(:foreman_tasks_recurring_logics)
-> 0.0011s
== CreateTriggerings: migrated (0.0383s) =====================================

#<SystemExit: exit>
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
rake aborted!
some permissions were not found

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
rake aborted!
some permissions were not found

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
    (1-1/1)