Project

General

Profile

db_migrate.log

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

 
1
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
2
rake aborted!
3
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])
4

    
5
Tasks: TOP => db:migrate => environment
6
(See full trace by running task with --trace)
7
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
8
rake aborted!
9
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])
10

    
11
Tasks: TOP => db:migrate => environment
12
(See full trace by running task with --trace)
13
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
14
rake aborted!
15
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])
16

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

    
28
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
29
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
30
#<SystemExit: exit>
31
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
32
NOTICE:  CREATE TABLE will create implicit sequence "katello_puppet_modules_id_seq" for serial column "katello_puppet_modules.id"
33
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_puppet_modules_pkey" for table "katello_puppet_modules"
34
NOTICE:  CREATE TABLE will create implicit sequence "katello_repository_puppet_modules_id_seq" for serial column "katello_repository_puppet_modules.id"
35
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_puppet_modules_pkey" for table "katello_repository_puppet_modules"
36
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"
37
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"
38
NOTICE:  CREATE TABLE will create implicit sequence "host_status_id_seq" for serial column "host_status.id"
39
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "host_status_pkey" for table "host_status"
40
NOTICE:  CREATE TABLE will create implicit sequence "katello_rpms_id_seq" for serial column "katello_rpms.id"
41
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_rpms_pkey" for table "katello_rpms"
42
NOTICE:  CREATE TABLE will create implicit sequence "katello_repository_rpms_id_seq" for serial column "katello_repository_rpms.id"
43
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_rpms_pkey" for table "katello_repository_rpms"
44
NOTICE:  CREATE TABLE will create implicit sequence "katello_package_groups_id_seq" for serial column "katello_package_groups.id"
45
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_package_groups_pkey" for table "katello_package_groups"
46
NOTICE:  CREATE TABLE will create implicit sequence "katello_repository_package_groups_id_seq" for serial column "katello_repository_package_groups.id"
47
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_package_groups_pkey" for table "katello_repository_package_groups"
48
NOTICE:  CREATE TABLE will create implicit sequence "katello_subscriptions_id_seq" for serial column "katello_subscriptions.id"
49
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_subscriptions_pkey" for table "katello_subscriptions"
50
==  MigrateWebsocketsSetting: migrating =======================================
51
==  MigrateWebsocketsSetting: migrated (0.0173s) ==============================
52

    
53
==  RemoveDuplicateTokens: migrating ==========================================
54
-- foreign_key_exists?(:tokens, {:name=>"tokens_host_id_fk"})
55
   -> 0.0221s
56
-- remove_foreign_key(:tokens, {:column=>:host_id})
57
   -> 0.0628s
58
-- index_exists?(:tokens, :host_id)
59
   -> 0.0128s
60
-- remove_index(:tokens, :host_id)
61
   -> 0.0034s
62
-- add_index(:tokens, :host_id, {:unique=>true})
63
   -> 0.0690s
64
-- foreign_key_exists?(:tokens, {:name=>"tokens_host_id_fk"})
65
   -> 0.0034s
66
-- add_foreign_key(:tokens, :hosts, {:name=>"tokens_host_id_fk"})
67
   -> 0.0168s
68
==  RemoveDuplicateTokens: migrated (0.2107s) =================================
69

    
70
==  CreatePuppetModules: migrating ============================================
71
-- create_table("katello_puppet_modules")
72
   -> 0.1202s
73
-- add_index(:katello_puppet_modules, :uuid, {:unique=>true})
74
   -> 0.0333s
75
-- create_table("katello_repository_puppet_modules")
76
   -> 0.0609s
77
-- 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"})
78
   -> 0.0395s
79
-- add_foreign_key("katello_repository_puppet_modules", "katello_puppet_modules", {:name=>"katello_repository_puppet_modules_puppet_module_id_fk", :column=>"puppet_module_id"})
80
   -> 0.0024s
81
-- add_foreign_key("katello_repository_puppet_modules", "katello_repositories", {:name=>"katello_repository_puppet_modules_repo_id_fk", :column=>"repository_id"})
82
   -> 0.0032s
83
-- create_table("katello_content_view_puppet_environment_puppet_modules")
84
   -> 0.0446s
85
-- 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"})
86
   -> 0.0349s
87
-- 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"})
88
   -> 0.0023s
89
-- 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"})
90
   -> 0.0028s
91
==  CreatePuppetModules: migrated (0.3449s) ===================================
92

    
93
==  AddStiToLookupKeys: migrating =============================================
94
-- add_column(:lookup_keys, :type, :string)
95
   -> 0.0017s
96
-- add_index(:lookup_keys, :type)
97
   -> 0.0625s
98
-- foreign_key_exists?(:environment_classes, :lookup_keys)
99
   -> 0.0065s
100
-- remove_foreign_key(:environment_classes, :lookup_keys)
101
   -> 0.0018s
102
-- rename_column(:environment_classes, :lookup_key_id, :puppetclass_lookup_key_id)
103
   -> 0.0011s
104
-- add_foreign_key(:environment_classes, :lookup_keys, {:column=>:puppetclass_lookup_key_id, :name=>"environment_classes_lookup_key_id_fk"})
105
   -> 0.0032s
106
==  AddStiToLookupKeys: migrated (0.1928s) ====================================
107

    
108
==  CreateHostStatus: migrating ===============================================
109
-- create_table(:host_status)
110
   -> 0.0362s
111
-- add_index(:host_status, :host_id)
112
   -> 0.0400s
113
-- add_foreign_key("host_status", "hosts", {:name=>"host_status_hosts_host_id_fk", :column=>"host_id"})
114
   -> 0.0025s
115
-- add_column(:hosts, :global_status, :integer, {:default=>0, :null=>false})
116
   -> 0.5869s
117
-- remove_column(:hosts, :puppet_status)
118
   -> 0.0016s
119
==  CreateHostStatus: migrated (1.1733s) ======================================
120

    
121
==  AddRpm: migrating =========================================================
122
-- create_table("katello_rpms")
123
   -> 0.0771s
124
-- add_index(:katello_rpms, :uuid, {:unique=>true})
125
   -> 0.0336s
126
-- add_index(:katello_rpms, [:id, :uuid, :name, :version, :release, :arch, :version_sortable, :release_sortable], {:name=>"katello_rpms_fields_index"})
127
   -> 0.0572s
128
-- create_table("katello_repository_rpms")
129
   -> 0.0350s
130
-- add_index(:katello_repository_rpms, [:rpm_id, :repository_id], {:unique=>true})
131
   -> 0.0334s
132
-- add_foreign_key("katello_repository_rpms", "katello_rpms", {:column=>"rpm_id"})
133
   -> 0.0025s
134
-- add_foreign_key("katello_repository_rpms", "katello_repositories", {:column=>"repository_id"})
135
   -> 0.0023s
136
==  AddRpm: migrated (0.2416s) ================================================
137

    
138
==  RenamePuppetclassCountersForLkSti: migrating ==============================
139
-- rename_column(:puppetclasses, :lookup_keys_count, :variable_lookup_keys_count)
140
   -> 0.0011s
141
==  RenamePuppetclassCountersForLkSti: migrated (0.0012s) =====================
142

    
143
==  CreatePackageGroups: migrating ============================================
144
-- create_table("katello_package_groups")
145
   -> 0.0828s
146
-- add_index(:katello_package_groups, :uuid, {:unique=>true})
147
   -> 0.0403s
148
-- create_table("katello_repository_package_groups")
149
   -> 0.0350s
150
-- add_index("katello_repository_package_groups", [:package_group_id, :repository_id], {:unique=>true, :name=>"index_katello_repository_package_groups_on_pgid_repoid"})
151
   -> 0.0402s
152
-- add_foreign_key("katello_repository_package_groups", "katello_package_groups", {:name=>"katello_repository_package_groups_package_groups_id_fk", :column=>"package_group_id"})
153
   -> 0.0023s
154
-- add_foreign_key("katello_repository_package_groups", "katello_repositories", {:name=>"katello_repository_package_groups_repo_id_fk", :column=>"repository_id"})
155
   -> 0.1392s
156
==  CreatePackageGroups: migrated (0.3403s) ===================================
157

    
158
==  AddFullNameToSetting: migrating ===========================================
159
-- add_column(:settings, :full_name, :string)
160
   -> 0.0011s
161
==  AddFullNameToSetting: migrated (0.0012s) ==================================
162

    
163
==  AddUniqueToOperatingsystemsTitle: migrating ===============================
164
-- add_index(:operatingsystems, :title, {:unique=>true})
165
   -> 0.0689s
166
-- change_column_null(:operatingsystems, :name, false)
167
   -> 0.0011s
168
-- add_index(:operatingsystems, [:name, :major, :minor], {:unique=>true})
169
   -> 0.0739s
170
==  AddUniqueToOperatingsystemsTitle: migrated (0.2241s) ======================
171

    
172
==  RemoveIsParam: migrating ==================================================
173
-- remove_column(:lookup_keys, :is_param)
174
   -> 0.0012s
175
==  RemoveIsParam: migrated (0.0013s) =========================================
176

    
177
==  AddDistributionsToRepository: migrating ===================================
178
-- add_column(:katello_repositories, :distribution_version, :string)
179
   -> 0.0011s
180
-- add_column(:katello_repositories, :distribution_arch, :string)
181
   -> 0.0006s
182
-- add_column(:katello_repositories, :distribution_bootable, :boolean)
183
   -> 0.0006s
184
-- add_column(:katello_repositories, :distribution_family, :string)
185
   -> 0.0006s
186
-- add_column(:katello_repositories, :distribution_variant, :string)
187
   -> 0.0006s
188
-- add_column(:katello_repositories, :distribution_uuid, :string)
189
   -> 0.0006s
190
==  AddDistributionsToRepository: migrated (0.0045s) ==========================
191

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

    
197
==  CreateSubscriptions: migrating ============================================
198
-- create_table("katello_subscriptions")
199
   -> 0.0702s
200
-- add_column(:katello_pools, :subscription_id, :integer)
201
   -> 0.0010s
202
-- add_column(:katello_pools, :account_number, :integer)
203
   -> 0.0006s
204
-- add_column(:katello_pools, :contract_number, :integer)
205
   -> 0.0006s
206
-- add_column(:katello_pools, :virtual, :boolean)
207
   -> 0.0005s
208
-- add_column(:katello_pools, :quantity, :integer)
209
   -> 0.0005s
210
-- add_column(:katello_pools, :start_date, :string)
211
   -> 0.0365s
212
-- add_column(:katello_pools, :pool_type, :string)
213
   -> 0.0007s
214
-- add_column(:katello_pools, :end_date, :string)
215
   -> 0.0006s
216
-- add_column(:katello_pools, :ram, :integer)
217
   -> 0.0005s
218
-- add_column(:katello_pools, :multi_entitlement, :boolean)
219
   -> 0.0005s
220
-- 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"
221
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_subscription_products_pkey" for table "katello_subscription_products"
222
NOTICE:  CREATE TABLE will create implicit sequence "katello_pool_activation_keys_id_seq" for serial column "katello_pool_activation_keys.id"
223
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "katello_pool_activation_keys_pkey" for table "katello_pool_activation_keys"
224
NOTICE:  CREATE TABLE will create implicit sequence "foreman_tasks_recurring_logics_id_seq" for serial column "foreman_tasks_recurring_logics.id"
225
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_recurring_logics_pkey" for table "foreman_tasks_recurring_logics"
226
NOTICE:  CREATE TABLE will create implicit sequence "foreman_tasks_task_groups_id_seq" for serial column "foreman_tasks_task_groups.id"
227
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_task_groups_pkey" for table "foreman_tasks_task_groups"
228
NOTICE:  CREATE TABLE will create implicit sequence "foreman_tasks_task_group_members_id_seq" for serial column "foreman_tasks_task_group_members.id"
229
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_task_group_members_pkey" for table "foreman_tasks_task_group_members"
230
NOTICE:  CREATE TABLE will create implicit sequence "foreman_tasks_triggerings_id_seq" for serial column "foreman_tasks_triggerings.id"
231
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "foreman_tasks_triggerings_pkey" for table "foreman_tasks_triggerings"
232

    
233
   -> 0.0005s
234
-- add_foreign_key(:katello_subscriptions, :taxonomies, {:name=>"katello_subscriptions_organization_fk", :column=>"organization_id"})
235
   -> 0.0026s
236
-- add_foreign_key(:katello_pools, :katello_subscriptions, {:name=>"katello_pools_subscriptions_fk", :column=>"subscription_id"})
237
   -> 0.0098s
238
-- add_index(:katello_subscriptions, :cp_id, {:unique=>true})
239
   -> 0.0363s
240
-- add_index(:katello_pools, :cp_id, {:unique=>true})
241
   -> 0.0401s
242
-- create_table("katello_subscription_products")
243
   -> 0.0438s
244
-- add_index("katello_subscription_products", [:subscription_id, :product_id], {:unique=>true, :name=>"index_katello_subscriptions_products_on_subs_id_prod_id"})
245
   -> 0.0333s
246
-- add_foreign_key("katello_subscription_products", "katello_subscriptions", {:name=>"katello_subscription_products_subscription_id_fk", :column=>"subscription_id"})
247
   -> 0.0021s
248
-- add_foreign_key("katello_subscription_products", "katello_products", {:name=>"katello_subscription_products_product_id_fk", :column=>"product_id"})
249
   -> 0.0025s
250
-- create_table("katello_pool_activation_keys")
251
   -> 0.0373s
252
-- add_index("katello_pool_activation_keys", [:pool_id, :activation_key_id], {:unique=>true, :name=>"index_katello_pools_activation_keys_on_ack_id_pool_id"})
253
   -> 0.0419s
254
-- add_foreign_key("katello_pool_activation_keys", "katello_pools", {:name=>"katello_pool_activation_keys_pool_id_fk", :column=>"pool_id"})
255
   -> 0.0022s
256
-- add_foreign_key("katello_pool_activation_keys", "katello_activation_keys", {:name=>"katello_pool_activation_keys_ack_key_id_fk", :column=>"activation_key_id"})
257
   -> 0.0030s
258
==  CreateSubscriptions: migrated (0.3690s) ===================================
259

    
260
==  AddTaskTypeValueIndex: migrating ==========================================
261
-- add_index(:foreman_tasks_tasks, [:type, :label])
262
   -> 0.1398s
263
==  AddTaskTypeValueIndex: migrated (0.1399s) =================================
264

    
265
==  AddLookupValueMatchToHostAndHostgroup: migrating ==========================
266
-- add_column(:hosts, :lookup_value_matcher, :string)
267
   -> 0.0014s
268
-- add_column(:hostgroups, :lookup_value_matcher, :string)
269
   -> 0.0009s
270
==  AddLookupValueMatchToHostAndHostgroup: migrated (1.1416s) =================
271

    
272
==  RemoveDistributors: migrating =============================================
273
-- drop_table("katello_distributors")
274
   -> 0.0213s
275
==  RemoveDistributors: migrated (0.0214s) ====================================
276

    
277
==  RemoveApplyInfoTaskIdFromTaxonomies: migrating ============================
278
-- remove_column(:taxonomies, :apply_info_task_id)
279
   -> 0.0008s
280
==  RemoveApplyInfoTaskIdFromTaxonomies: migrated (0.0009s) ===================
281

    
282
==  CreateRecurringLogic: migrating ===========================================
283
-- create_table(:foreman_tasks_recurring_logics)
284
   -> 0.0368s
285
==  CreateRecurringLogic: migrated (0.0369s) ==================================
286

    
287
==  CreateTaskGroups: migrating ===============================================
288
-- create_table(:foreman_tasks_task_groups)
289
   -> 0.0370s
290
-- create_table(:foreman_tasks_task_group_members)
291
   -> 0.0336s
292
-- add_index(:foreman_tasks_task_group_members, [:task_id, :task_group_id], {:unique=>true, :name=>"foreman_tasks_task_group_members_index"})
293
   -> 0.0418s
294
==  CreateTaskGroups: migrated (0.1127s) ======================================
295

    
296
==  DropMarketingEngineeringProducts: migrating ===============================
297
-- drop_table(:katello_marketing_engineering_products)
298
   -> 0.0038s
299
-- remove_column(:katello_products, :type)
300
   -> 0.0009s
301
==  DropMarketingEngineeringProducts: migrated (0.3205s) ======================
302

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

    
308
==  AddVirtOnlyToKatelloPools: migrating ======================================
309
-- add_column(:katello_pools, :virt_only, :boolean, {:default=>false, :null=>false})
310
   -> 0.1563s
311
-- add_column(:katello_pools, :unmapped_guest, :boolean, {:default=>false, :null=>false})
312
   -> 0.1506s
313
==  AddVirtOnlyToKatelloPools: migrated (0.3071s) =============================
314

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

    
320
==  RegenerateRedHatKexec: migrating ==========================================
321
==  RegenerateRedHatKexec: migrated (0.2248s) =================================
322

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

    
328
==  CreateTriggerings: migrating ==============================================
329
-- create_table(:foreman_tasks_triggerings)
330
   -> 0.0370s
331
-- change_table(:foreman_tasks_recurring_logics)
332
   -> 0.0011s
333
==  CreateTriggerings: migrated (0.0383s) =====================================
334

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

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

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