Project

General

Profile

production.log

Greg Petras, 03/05/2014 10:13 PM

 
1
Connecting to database specified by database.yml
2
  Setting Load (1.7ms)  SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1
3
   (0.4ms)  BEGIN
4
  Setting Load (0.8ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'administrator' ORDER BY name LIMIT 1
5
  Setting Exists (0.9ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'administrator' AND "settings"."id" != 1) LIMIT 1
6
removing administrator from cache
7
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'foreman_url' ORDER BY name LIMIT 1
8
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'foreman_url' AND "settings"."id" != 2) LIMIT 1
9
removing foreman_url from cache
10
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'email_reply_address' ORDER BY name LIMIT 1
11
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'email_reply_address' AND "settings"."id" != 3) LIMIT 1
12
removing email_reply_address from cache
13
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'entries_per_page' ORDER BY name LIMIT 1
14
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'entries_per_page' AND "settings"."id" != 4) LIMIT 1
15
removing entries_per_page from cache
16
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'authorize_login_delegation' ORDER BY name LIMIT 1
17
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'authorize_login_delegation' AND "settings"."id" != 5) LIMIT 1
18
removing authorize_login_delegation from cache
19
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'authorize_login_delegation_api' ORDER BY name LIMIT 1
20
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'authorize_login_delegation_api' AND "settings"."id" != 6) LIMIT 1
21
removing authorize_login_delegation_api from cache
22
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'idle_timeout' ORDER BY name LIMIT 1
23
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'idle_timeout' AND "settings"."id" != 7) LIMIT 1
24
removing idle_timeout from cache
25
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'max_trend' ORDER BY name LIMIT 1
26
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'max_trend' AND "settings"."id" != 8) LIMIT 1
27
removing max_trend from cache
28
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'use_gravatar' ORDER BY name LIMIT 1
29
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'use_gravatar' AND "settings"."id" != 46) LIMIT 1
30
removing use_gravatar from cache
31
   (0.4ms)  COMMIT
32
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1
33
   (0.3ms)  BEGIN
34
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'puppet_interval' ORDER BY name LIMIT 1
35
  Setting Exists (0.6ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'puppet_interval' AND "settings"."id" != 19) LIMIT 1
36
removing puppet_interval from cache
37
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'default_puppet_environment' ORDER BY name LIMIT 1
38
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'default_puppet_environment' AND "settings"."id" != 20) LIMIT 1
39
removing default_puppet_environment from cache
40
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'modulepath' ORDER BY name LIMIT 1
41
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'modulepath' AND "settings"."id" != 21) LIMIT 1
42
removing modulepath from cache
43
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'document_root' ORDER BY name LIMIT 1
44
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'document_root' AND "settings"."id" != 22) LIMIT 1
45
removing document_root from cache
46
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'puppetrun' ORDER BY name LIMIT 1
47
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'puppetrun' AND "settings"."id" != 23) LIMIT 1
48
removing puppetrun from cache
49
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'puppet_server' ORDER BY name LIMIT 1
50
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'puppet_server' AND "settings"."id" != 24) LIMIT 1
51
removing puppet_server from cache
52
  Setting Load (17.0ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'failed_report_email_notification' ORDER BY name LIMIT 1
53
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'failed_report_email_notification' AND "settings"."id" != 25) LIMIT 1
54
removing failed_report_email_notification from cache
55
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'Default_variables_Lookup_Path' ORDER BY name LIMIT 1
56
  Setting Exists (0.4ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'Default_variables_Lookup_Path' AND "settings"."id" != 27) LIMIT 1
57
removing Default_variables_Lookup_Path from cache
58
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'Enable_Smart_Variables_in_ENC' ORDER BY name LIMIT 1
59
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'Enable_Smart_Variables_in_ENC' AND "settings"."id" != 28) LIMIT 1
60
removing Enable_Smart_Variables_in_ENC from cache
61
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'Parametrized_Classes_in_ENC' ORDER BY name LIMIT 1
62
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'Parametrized_Classes_in_ENC' AND "settings"."id" != 29) LIMIT 1
63
removing Parametrized_Classes_in_ENC from cache
64
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'interpolate_erb_in_parameters' ORDER BY name LIMIT 1
65
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'interpolate_erb_in_parameters' AND "settings"."id" != 49) LIMIT 1
66
removing interpolate_erb_in_parameters from cache
67
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'enc_environment' ORDER BY name LIMIT 1
68
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'enc_environment' AND "settings"."id" != 30) LIMIT 1
69
removing enc_environment from cache
70
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'use_uuid_for_certificates' ORDER BY name LIMIT 1
71
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'use_uuid_for_certificates' AND "settings"."id" != 31) LIMIT 1
72
removing use_uuid_for_certificates from cache
73
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'update_environment_from_facts' ORDER BY name LIMIT 1
74
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'update_environment_from_facts' AND "settings"."id" != 32) LIMIT 1
75
removing update_environment_from_facts from cache
76
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'remove_classes_not_in_environment' ORDER BY name LIMIT 1
77
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'remove_classes_not_in_environment' AND "settings"."id" != 33) LIMIT 1
78
removing remove_classes_not_in_environment from cache
79
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'host_group_matchers_inheritance' ORDER BY name LIMIT 1
80
  Setting Exists (0.4ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'host_group_matchers_inheritance' AND "settings"."id" != 45) LIMIT 1
81
removing host_group_matchers_inheritance from cache
82
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'create_new_host_when_facts_are_uploaded' ORDER BY name LIMIT 1
83
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'create_new_host_when_facts_are_uploaded' AND "settings"."id" != 50) LIMIT 1
84
removing create_new_host_when_facts_are_uploaded from cache
85
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'create_new_host_when_report_is_uploaded' ORDER BY name LIMIT 1
86
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'create_new_host_when_report_is_uploaded' AND "settings"."id" != 53) LIMIT 1
87
removing create_new_host_when_report_is_uploaded from cache
88
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'legacy_puppet_hostname' ORDER BY name LIMIT 1
89
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'legacy_puppet_hostname' AND "settings"."id" != 51) LIMIT 1
90
removing legacy_puppet_hostname from cache
91
   (0.6ms)  COMMIT
92
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1
93
   (0.3ms)  BEGIN
94
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'oauth_active' ORDER BY name LIMIT 1
95
  Setting Exists (0.6ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'oauth_active' AND "settings"."id" != 34) LIMIT 1
96
removing oauth_active from cache
97
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'oauth_consumer_key' ORDER BY name LIMIT 1
98
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'oauth_consumer_key' AND "settings"."id" != 35) LIMIT 1
99
removing oauth_consumer_key from cache
100
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'oauth_consumer_secret' ORDER BY name LIMIT 1
101
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'oauth_consumer_secret' AND "settings"."id" != 36) LIMIT 1
102
removing oauth_consumer_secret from cache
103
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'oauth_map_users' ORDER BY name LIMIT 1
104
  Setting Exists (0.6ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'oauth_map_users' AND "settings"."id" != 37) LIMIT 1
105
removing oauth_map_users from cache
106
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'restrict_registered_puppetmasters' ORDER BY name LIMIT 1
107
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'restrict_registered_puppetmasters' AND "settings"."id" != 38) LIMIT 1
108
removing restrict_registered_puppetmasters from cache
109
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'require_ssl_puppetmasters' ORDER BY name LIMIT 1
110
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'require_ssl_puppetmasters' AND "settings"."id" != 39) LIMIT 1
111
removing require_ssl_puppetmasters from cache
112
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'trusted_puppetmaster_hosts' ORDER BY name LIMIT 1
113
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'trusted_puppetmaster_hosts' AND "settings"."id" != 42) LIMIT 1
114
removing trusted_puppetmaster_hosts from cache
115
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'ssl_client_dn_env' ORDER BY name LIMIT 1
116
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'ssl_client_dn_env' AND "settings"."id" != 40) LIMIT 1
117
removing ssl_client_dn_env from cache
118
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'ssl_client_verify_env' ORDER BY name LIMIT 1
119
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'ssl_client_verify_env' AND "settings"."id" != 41) LIMIT 1
120
removing ssl_client_verify_env from cache
121
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'signo_sso' ORDER BY name LIMIT 1
122
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'signo_sso' AND "settings"."id" != 43) LIMIT 1
123
removing signo_sso from cache
124
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'signo_url' ORDER BY name LIMIT 1
125
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'signo_url' AND "settings"."id" != 44) LIMIT 1
126
removing signo_url from cache
127
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'login_delegation_logout_url' ORDER BY name LIMIT 1
128
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'login_delegation_logout_url' AND "settings"."id" != 48) LIMIT 1
129
removing login_delegation_logout_url from cache
130
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'authorize_login_delegation_auth_source_user_autocreate' ORDER BY name LIMIT 1
131
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'authorize_login_delegation_auth_source_user_autocreate' AND "settings"."id" != 54) LIMIT 1
132
removing authorize_login_delegation_auth_source_user_autocreate from cache
133
   (0.3ms)  COMMIT
134
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1
135
   (0.3ms)  BEGIN
136
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'root_pass' ORDER BY name LIMIT 1
137
  Setting Exists (0.7ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'root_pass' AND "settings"."id" != 9) LIMIT 1
138
removing root_pass from cache
139
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'unattended_url' ORDER BY name LIMIT 1
140
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'unattended_url' AND "settings"."id" != 55) LIMIT 1
141
removing unattended_url from cache
142
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'safemode_render' ORDER BY name LIMIT 1
143
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'safemode_render' AND "settings"."id" != 10) LIMIT 1
144
removing safemode_render from cache
145
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'ssl_certificate' ORDER BY name LIMIT 1
146
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'ssl_certificate' AND "settings"."id" != 11) LIMIT 1
147
removing ssl_certificate from cache
148
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'ssl_ca_file' ORDER BY name LIMIT 1
149
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'ssl_ca_file' AND "settings"."id" != 12) LIMIT 1
150
removing ssl_ca_file from cache
151
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'ssl_priv_key' ORDER BY name LIMIT 1
152
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'ssl_priv_key' AND "settings"."id" != 13) LIMIT 1
153
removing ssl_priv_key from cache
154
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'manage_puppetca' ORDER BY name LIMIT 1
155
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'manage_puppetca' AND "settings"."id" != 14) LIMIT 1
156
removing manage_puppetca from cache
157
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'ignore_puppet_facts_for_provisioning' ORDER BY name LIMIT 1
158
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'ignore_puppet_facts_for_provisioning' AND "settings"."id" != 15) LIMIT 1
159
removing ignore_puppet_facts_for_provisioning from cache
160
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'query_local_nameservers' ORDER BY name LIMIT 1
161
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'query_local_nameservers' AND "settings"."id" != 16) LIMIT 1
162
removing query_local_nameservers from cache
163
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'remote_addr' ORDER BY name LIMIT 1
164
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'remote_addr' AND "settings"."id" != 17) LIMIT 1
165
removing remote_addr from cache
166
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'token_duration' ORDER BY name LIMIT 1
167
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'token_duration' AND "settings"."id" != 18) LIMIT 1
168
removing token_duration from cache
169
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'libvirt_default_console_address' ORDER BY name LIMIT 1
170
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'libvirt_default_console_address' AND "settings"."id" != 47) LIMIT 1
171
removing libvirt_default_console_address from cache
172
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'update_ip_from_built_request' ORDER BY name LIMIT 1
173
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'update_ip_from_built_request' AND "settings"."id" != 52) LIMIT 1
174
removing update_ip_from_built_request from cache
175
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'use_shortname_for_vms' ORDER BY name LIMIT 1
176
  Setting Exists (0.5ms)  SELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'use_shortname_for_vms' AND "settings"."id" != 56) LIMIT 1
177
removing use_shortname_for_vms from cache
178
   (0.3ms)  COMMIT
179
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'entries_per_page' ORDER BY name LIMIT 1
180
   (0.7ms)  SELECT COUNT(*) FROM "roles" 
181
   (0.3ms)  BEGIN
182
   (0.5ms)  SELECT COUNT(*) FROM "roles" WHERE "roles"."name" = 'Manager'
183
  Role Load (0.6ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Manager'
184
   (0.5ms)  SELECT COUNT(*) FROM "roles" WHERE "roles"."name" = 'Edit partition tables'
185
  Role Load (0.4ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Edit partition tables'
186
   (0.5ms)  SELECT COUNT(*) FROM "roles" WHERE "roles"."name" = 'View hosts'
187
  Role Load (0.5ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'View hosts'
188
   (0.4ms)  SELECT COUNT(*) FROM "roles" WHERE "roles"."name" = 'Edit hosts'
189
  Role Load (0.5ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Edit hosts'
190
   (0.4ms)  SELECT COUNT(*) FROM "roles" WHERE "roles"."name" = 'Viewer'
191
  Role Load (0.4ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Viewer'
192
   (0.5ms)  SELECT COUNT(*) FROM "roles" WHERE "roles"."name" = 'Site manager'
193
  Role Load (0.5ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Site manager'
194
  Role Load (0.5ms)  SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = 1 LIMIT 1
195
  Role Load (0.5ms)  SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = 2 LIMIT 1
196
   (0.3ms)  COMMIT
197
   (1.0ms)  SELECT id FROM "users" 
198
ENCRYPTION_KEY is not defined, so encryption is turned off for ComputeResource.
199
  Feature Load (0.7ms)  SELECT "features".* FROM "features" 
200
  TemplateKind Load (0.9ms)  SELECT "template_kinds".* FROM "template_kinds" WHERE (name LIKE 'PXELinux')
201
  TemplateKind Load (0.5ms)  SELECT "template_kinds".* FROM "template_kinds" WHERE (name LIKE 'PXEGrub')
202
  TemplateKind Load (0.4ms)  SELECT "template_kinds".* FROM "template_kinds" WHERE (name LIKE 'iPXE')
203
  TemplateKind Load (0.5ms)  SELECT "template_kinds".* FROM "template_kinds" WHERE (name LIKE 'provision')
204
  TemplateKind Load (0.5ms)  SELECT "template_kinds".* FROM "template_kinds" WHERE (name LIKE 'finish')
205
  TemplateKind Load (0.4ms)  SELECT "template_kinds".* FROM "template_kinds" 
206
  Setting Load (0.5ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'email_reply_address' ORDER BY name LIMIT 1
207

    
208

    
209
Started POST "/api/hosts" for 10.123.0.31 at 2014-03-05 21:54:52 +0000
210
Processing by Api::V1::HostsController#create as JSON
211
  Parameters: {"{\"host\": {\"subnet_id\": null, \"name\": \"test.hostgroup.example.com\", \"build\": \"1\", \"compute_attributes\": {\"interfaces_attributes\": {\"0\": {\"network\": \"<network>\", \"type\": \"VirtualE1000\", \"_delete\": \"\"}}, \"cluster\": \"<cluster>\", \"volumes_attributes\": {\"1\": {\"thin\": \"0\", \"datastore\": \"<datastore>\", \"name\": \"Hard disk 1\", \"size_gb\": 20}}, \"power_action\": \"start\", \"memory_mb\": 2048, \"path\": \"<path>\", \"cpus\": 1, \"start\": \"1\"}, \"hostgroup_id\": \"81\", \"medium_id\": null, \"managed\": \"true\", \"environment_id\": 40, \"provision_method\": \"build\", \"ptable_id\": 11, \"compute_resource_id\": 2, \"overwrite\": \"false\", \"enabled\": \"1\"} }"=>nil, "apiv"=>"v1"}
212
  Setting Load (1.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'authorize_login_delegation' ORDER BY name LIMIT 1
213
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'signo_sso' ORDER BY name LIMIT 1
214
  User Load (1.3ms)  SELECT "users".* FROM "users" WHERE "users"."login" = 'first.last' LIMIT 1
215
  AuthSource Load (1.2ms)  SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = 2 LIMIT 1
216
LDAP-Auth with User AD\first.last
217
DN found for first.last: CN=First Last,OU=Users,DC=example,DC=com
218
Authenticated user First Last against LDAP-AD authentication source
219
  User Load (1.4ms)  SELECT "users".* FROM "users" WHERE "users"."login" = 'admin' ORDER BY firstname LIMIT 1
220
Setting current user thread-local variable to admin
221
   (1.1ms)  BEGIN
222
   (1.4ms)  UPDATE "users" SET "last_login_on" = '2014-03-05 21:54:53.641472', "updated_at" = '2014-03-05 21:54:53.648440' WHERE "users"."id" = 6
223
   (2.1ms)  COMMIT
224
  Role Load (0.9ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Anonymous' LIMIT 1
225
   (1.1ms)  SELECT "roles".id FROM "roles" INNER JOIN "user_roles" ON "roles"."id" = "user_roles"."role_id" WHERE "user_roles"."user_id" = 6
226
  CACHE (0.0ms)  SELECT "roles".* FROM "roles" WHERE "roles"."name" = 'Anonymous' LIMIT 1
227
  Role Exists (1.1ms)  SELECT 1 AS one FROM "roles" INNER JOIN "user_roles" ON "roles"."id" = "user_roles"."role_id" WHERE "user_roles"."user_id" = 6 AND "roles"."id" = 8 LIMIT 1
228
Setting current user thread-local variable to first.last
229
Setting current user thread-local variable to nil
230
  User Load (0.7ms)  SELECT "users".* FROM "users" WHERE "users"."login" = 'first.last' LIMIT 1
231
Authorized user first.last(First Last)
232
Setting current user thread-local variable to first.last
233
   (0.6ms)  BEGIN
234
  Host::Base Exists (1.9ms)  SELECT 1 AS one FROM "hosts" WHERE "hosts"."name" IS NULL LIMIT 1
235
  Setting Load (0.6ms)  SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'root_pass' ORDER BY name LIMIT 1
236
   (0.5ms)  ROLLBACK
237
Unprocessable entity Host::Managed (id: new):
238
  Name can't be blank
239
  Name is invalid
240
  Environment can't be blank
241

    
242
  Rendered api/v1/errors/unprocessable_entity.json.rabl (9.8ms)
243
Body: {"host":{"id":null,"errors":{"name":["can't be blank","is invalid"],"environment_id":["can't be blank"]},"full_messages":["Name can't be blank","Name is invalid","Environment can't be blank"]}}
244
Completed 422 Unprocessable Entity in 1985ms (Views: 222.1ms | ActiveRecord: 64.1ms)