2017-01-13 09:29:45 51818603 [sql] [D] CACHE (0.0ms) SELECT "config_groups".id FROM "config_groups" INNER JOIN "host_config_groups" ON "config_groups"."id" = "host_config_groups"."config_group_id" WHERE "host_config_groups"."host_id" = $1 AND "host_config_groups"."host_type" = $2 ORDER BY config_groups.name [["host_id", 2], ["host_type", "Hostgroup"]] 2017-01-13 09:29:45 51818603 [sql] [D] CACHE (0.0ms) SELECT "config_groups".id FROM "config_groups" INNER JOIN "host_config_groups" ON "config_groups"."id" = "host_config_groups"."config_group_id" WHERE "host_config_groups"."host_id" = $1 AND "host_config_groups"."host_type" = $2 ORDER BY config_groups.name [["host_id", 29], ["host_type", "Host::Base"]] 2017-01-13 09:29:45 51818603 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2017-01-13 09:29:45 51818603 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" = 2 2017-01-13 09:29:45 51818603 [sql] [D] Puppetclass Load (0.5ms) SELECT DISTINCT "puppetclasses".* FROM "puppetclasses" INNER JOIN "environment_classes" ON "puppetclasses"."id" = "environment_classes"."puppetclass_id" WHERE "environment_classes"."environment_id" = $1 AND "puppetclasses"."id" IN (1, 12, 8, 11, 13, 39, 42, 43) ORDER BY puppetclasses.name [["environment_id", 1]] 2017-01-13 09:29:45 51818603 [app] [I] Rendered text template (0.0ms) 2017-01-13 09:29:45 51818603 [app] [I] Completed 200 OK in 155ms (Views: 0.7ms | ActiveRecord: 17.4ms) 2017-01-13 09:29:45 51818603 [sql] [D] (0.1ms) BEGIN 2017-01-13 09:29:45 51818603 [sql] [D] SQL (0.2ms) INSERT INTO "sessions" ("session_id", "data", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["session_id", "20103010175d8255c63d31e7706d1a9d"], ["data", "BAh7BkkiC2xvY2FsZQY6BkVGSSIHZW4GOwBG\n"], ["created_at", "2017-01-13 17:29:45.467824"], ["updated_at", "2017-01-13 17:29:45.467824"]] 2017-01-13 09:29:45 51818603 [sql] [D] (2.2ms) COMMIT 2017-01-13 09:29:48 22df6130 [app] [I] Started POST "/api/config_reports" for 10.49.60.40 at 2017-01-13 09:29:48 -0800 2017-01-13 09:29:48 22df6130 [app] [D] Value for params[:config_report][:logs] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information. 2017-01-13 09:29:48 22df6130 [app] [I] Processing by Api::V2::ConfigReportsController#create as JSON 2017-01-13 09:29:48 22df6130 [app] [I] Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"} 2017-01-13 09:29:48 22df6130 [app] [D] Examining client certificate to extract dn and sans 2017-01-13 09:29:48 22df6130 [app] [D] Client sent certificate with subject 'foreman01.corp.bardel.ca' and subject alt names '["foreman01.corp.bardel.ca", "puppet", "puppet.corp.bardel.ca"]' 2017-01-13 09:29:48 22df6130 [sql] [D] SmartProxy Load (0.8ms) SELECT "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features"."name" = 'Puppet' ORDER BY smart_proxies.name 2017-01-13 09:29:48 22df6130 [app] [D] Verifying request from ["foreman01.corp.bardel.ca", "puppet", "puppet.corp.bardel.ca"] against ["foreman01.corp.bardel.ca", "foreman01.corp.bardel.ca"] 2017-01-13 09:29:48 22df6130 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."lower_login" = $1 LIMIT 1 [["lower_login", "foreman_api_admin"]] 2017-01-13 09:29:48 22df6130 [app] [D] Setting current user thread-local variable to foreman_api_admin 2017-01-13 09:29:48 22df6130 [app] [I] processing report for icinga01.corp.bardel.ca 2017-01-13 09:29:48 22df6130 [app] [D] Report: {"host"=>"icinga01.corp.bardel.ca", "reported_at"=>"2017-01-13 17:29:41 UTC", "status"=>{"applied"=>0, "restarted"=>0, "failed"=>0, "failed_restarts"=>0, "skipped"=>0, "pending"=>0}, "metrics"=>{"resources"=>{"changed"=>0, "failed"=>0, "failed_to_restart"=>0, "out_of_sync"=>0, "restarted"=>0, "scheduled"=>0, "skipped"=>0, "total"=>57}, "time"=>{"anchor"=>0.002405669, "config_retrieval"=>1.660888495, "exec"=>0.201921468, "file"=>0.130047822, "file_line"=>0.0042432189999999995, "filebucket"=>0.000149692, "mount"=>0.000941225, "package"=>0.005194570000000001, "schedule"=>0.000966542, "service"=>0.106165418, "ssh_authorized_key"=>0.002046948, "total"=>2.115498367, "user"=>0.000527299}, "changes"=>{"total"=>0}, "events"=>{"failure"=>0, "success"=>0, "total"=>0}}, "logs"=>nil} 2017-01-13 09:29:48 22df6130 [sql] [D] Host::Base Load (0.6ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."certname" = $1 LIMIT 1 [["certname", "icinga01.corp.bardel.ca"]] 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 1]] 2017-01-13 09:29:48 22df6130 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 29]] 2017-01-13 09:29:48 22df6130 [sql] [D] Domain Load (0.3ms) SELECT "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) COMMIT 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] Report Exists (0.4ms) SELECT 1 AS one FROM "reports" WHERE ("reports"."reported_at" = '2017-01-13 17:29:41.000000' AND "reports"."host_id" = 29 AND "reports"."type" = 'ConfigReport') LIMIT 1 2017-01-13 09:29:48 22df6130 [sql] [D] SQL (0.6ms) INSERT INTO "reports" ("host_id", "reported_at", "status", "metrics", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["host_id", 29], ["reported_at", "2017-01-13 17:29:41.000000"], ["status", 0], ["metrics", "--- !ruby/hash:ActionController::Parameters\nresources: !ruby/hash:ActionController::Parameters\n changed: 0\n failed: 0\n failed_to_restart: 0\n out_of_sync: 0\n restarted: 0\n scheduled: 0\n skipped: 0\n total: 57\ntime: !ruby/hash:ActionController::Parameters\n anchor: 0.002405669\n config_retrieval: 1.660888495\n exec: 0.201921468\n file: 0.130047822\n file_line: 0.0042432189999999995\n filebucket: 0.000149692\n mount: 0.000941225\n package: 0.005194570000000001\n schedule: 0.000966542\n service: 0.106165418\n ssh_authorized_key: 0.002046948\n total: 2.115498367\n user: 0.000527299\nchanges: !ruby/hash:ActionController::Parameters\n total: 0\nevents: !ruby/hash:ActionController::Parameters\n failure: 0\n success: 0\n total: 0\n"], ["created_at", "2017-01-13 17:29:48.093324"], ["updated_at", "2017-01-13 17:29:48.093324"]] 2017-01-13 09:29:48 22df6130 [sql] [D] (70.0ms) COMMIT 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] SQL (0.9ms) UPDATE "hosts" SET "last_report" = $1, "updated_at" = $2 WHERE "hosts"."id" = $3 [["last_report", "2017-01-13 17:29:41.000000"], ["updated_at", "2017-01-13 17:29:48.170317"], ["id", 29]] 2017-01-13 09:29:48 22df6130 [sql] [D] (8.5ms) COMMIT 2017-01-13 09:29:48 22df6130 [app] [I] Imported report for icinga01.corp.bardel.ca in 0.11 seconds 2017-01-13 09:29:48 22df6130 [sql] [D] HostStatus::Status Load (0.4ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 29]] 2017-01-13 09:29:48 22df6130 [sql] [D] ConfigReport Load (0.4ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND "reports"."type" IN ('ConfigReport') ORDER BY reports.id DESC LIMIT 1 [["host_id", 29]] 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] HostStatus::Status Exists (0.5ms) SELECT 1 AS one FROM "host_status" WHERE ("host_status"."host_id" = 29 AND "host_status"."id" != 57 AND "host_status"."type" = 'HostStatus::ConfigurationStatus') LIMIT 1 2017-01-13 09:29:48 22df6130 [sql] [D] SQL (0.3ms) UPDATE "host_status" SET "reported_at" = $1 WHERE "host_status"."id" = $2 [["reported_at", "2017-01-13 17:29:41.000000"], ["id", 57]] 2017-01-13 09:29:48 22df6130 [sql] [D] (2.0ms) COMMIT 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] HostStatus::Status Exists (0.4ms) SELECT 1 AS one FROM "host_status" WHERE ("host_status"."host_id" = 29 AND "host_status"."id" != 53 AND "host_status"."type" = 'HostStatus::BuildStatus') LIMIT 1 2017-01-13 09:29:48 22df6130 [sql] [D] SQL (0.2ms) UPDATE "host_status" SET "reported_at" = $1 WHERE "host_status"."id" = $2 [["reported_at", "2017-01-13 17:29:48.195949"], ["id", 53]] 2017-01-13 09:29:48 22df6130 [sql] [D] (5.9ms) COMMIT 2017-01-13 09:29:48 22df6130 [sql] [D] ForemanTasks::Task::DynflowTask Load (0.5ms) SELECT "foreman_tasks_tasks".* FROM "foreman_tasks_tasks" INNER JOIN "foreman_tasks_locks" ON "foreman_tasks_locks"."task_id" = "foreman_tasks_tasks"."id" WHERE "foreman_tasks_tasks"."type" IN ('ForemanTasks::Task::DynflowTask') AND "foreman_tasks_tasks"."label" = $1 AND "foreman_tasks_locks"."resource_id" = 29 AND "foreman_tasks_locks"."resource_type" = 'Host::Managed' [["label", "Actions::RemoteExecution::RunHostJob"]] 2017-01-13 09:29:48 22df6130 [sql] [D] HostStatus::Status Load (0.2ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 29]] 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] (0.2ms) COMMIT 2017-01-13 09:29:48 22df6130 [sql] [D] Host::Managed Load (0.6ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."id" = $1 LIMIT 1 [["id", 29]] 2017-01-13 09:29:48 22df6130 [sql] [D] Log Load (0.4ms) SELECT "logs".* FROM "logs" WHERE "logs"."report_id" = $1 ORDER BY logs.id [["report_id", 607911]] 2017-01-13 09:29:48 22df6130 [app] [I] Rendered api/v2/config_reports/create.json.rabl (10.6ms) 2017-01-13 09:29:48 22df6130 [app] [D] Body: {"metrics":{"resources":{"changed":0,"failed":0,"failed_to_restart":0,"out_of_sync":0,"restarted":0,"scheduled":0,"skipped":0,"total":57},"time":{"anchor":0.002405669,"config_retrieval":1.660888495,"exec":0.201921468,"file":0.130047822,"file_line":0.0042432189999999995,"filebucket":0.000149692,"mount":0.000941225,"package":0.005194570000000001,"schedule":0.000966542,"service":0.106165418,"ssh_authorized_key":0.002046948,"total":2.115498367,"user":0.000527299},"changes":{"total":0},"events":{"failure":0,"success":0,"total":0}},"created_at":"2017-01-13 17:29:48 UTC","updated_at":"2017-01-13 17:29:48 UTC","id":607911,"host_id":29,"host_name":"icinga01.corp.bardel.ca","reported_at":"2017-01-13 17:29:41 UTC","status":{"applied":0,"restarted":0,"failed":0,"failed_restarts":0,"skipped":0,"pending":0},"logs":[],"summary":"Success"} 2017-01-13 09:29:48 22df6130 [app] [I] Completed 201 Created in 166ms (Views: 10.6ms | ActiveRecord: 96.6ms) 2017-01-13 09:29:48 22df6130 [sql] [D] (0.3ms) BEGIN 2017-01-13 09:29:48 22df6130 [sql] [D] SQL (0.4ms) INSERT INTO "sessions" ("session_id", "data", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["session_id", "1d9d3aa7a463cf89a2c19191f2c73f6a"], ["data", "BAh7BkkiC2xvY2FsZQY6BkVGSSIHZW4GOwBG\n"], ["created_at", "2017-01-13 17:29:48.231041"], ["updated_at", "2017-01-13 17:29:48.231041"]] 2017-01-13 09:29:48 22df6130 [sql] [D] (3.4ms) COMMIT 2017-01-13 09:29:49 34b21bd9 [app] [I] Started DELETE "/hosts/win7-test002.corp.bardel.ca" for 10.49.78.200 at 2017-01-13 09:29:49 -0800 2017-01-13 09:29:49 34b21bd9 [app] [I] Processing by HostsController#destroy as HTML 2017-01-13 09:29:49 34b21bd9 [app] [I] Parameters: {"authenticity_token"=>"lvbL8/bK7WKuoopM3UcKltWpIGd0Tz5ZKasHQer3VG0CnxRdo6eFT8ZAXp4//pkvwCoR+qQWn1ic0+p5bNELcQ==", "id"=>"win7-test002.corp.bardel.ca"} 2017-01-13 09:29:49 34b21bd9 [sql] [D] ActiveRecord::SessionStore::Session Load (0.5ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "34b21bd9fbc3904c7a787e74b0ebc512"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 4]] 2017-01-13 09:29:49 34b21bd9 [app] [D] Setting current user thread-local variable to kcarrasco 2017-01-13 09:29:49 34b21bd9 [sql] [D] Usergroup Load (0.5ms) SELECT "usergroups".* FROM "usergroups" INNER JOIN "cached_usergroup_members" ON "usergroups"."id" = "cached_usergroup_members"."usergroup_id" WHERE "cached_usergroup_members"."user_id" = $1 ORDER BY usergroups.name [["user_id", 4]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2017-01-13 09:29:49 34b21bd9 [sql] [D] Organization Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2017-01-13 09:29:49 34b21bd9 [app] [D] Setting current organization thread-local variable to Bardel/Systems 2017-01-13 09:29:49 34b21bd9 [sql] [D] AuthSource Load (0.4ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.8ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2017-01-13 09:29:49 34b21bd9 [sql] [D] Taxonomy Load (0.5ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '1/2/%' or taxonomies.ancestry = '1/2') ORDER BY "taxonomies"."title" ASC 2017-01-13 09:29:49 34b21bd9 [sql] [D] Host::Managed Load (0.7ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."organization_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "win7-test002.corp.bardel.ca"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:49 34b21bd9 [sql] [D] FactValue Load (0.3ms) SELECT "fact_values".* FROM "fact_values" WHERE "fact_values"."host_id" = $1 [["host_id", 356]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Nic::Base Load (0.4ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 356]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '1/2/%' or taxonomies.ancestry = '1/2') ORDER BY "taxonomies"."title" ASC 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" IN (2, 1) [["taxable_type", "Domain"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '1/2/%' or taxonomies.ancestry = '1/2') ORDER BY "taxonomies"."title" ASC 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.1ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" IN (2, 1) [["taxable_type", "Domain"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Domain Load (0.3ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '1/2/%' or taxonomies.ancestry = '1/2') ORDER BY "taxonomies"."title" ASC 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" IN (2, 1) [["taxable_type", "Subnet"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (6,11,1,9,3)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.3ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] SmartProxy Load (0.3ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (4,3,2,1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 2]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 2]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (4,3,2,1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 2]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "proxy_request_timeout"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "ssl_certificate"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "ssl_ca_file"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "ssl_priv_key"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '1/2/%' or taxonomies.ancestry = '1/2') ORDER BY "taxonomies"."title" ASC 2017-01-13 09:29:49 34b21bd9 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" IN (2, 1) [["taxable_type", "ComputeResource"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '1/2/%' or taxonomies.ancestry = '1/2') ORDER BY "taxonomies"."title" ASC 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" IN (2, 1) [["taxable_type", "ComputeResource"]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] ComputeResource Load (0.4ms) SELECT "compute_resources".* FROM "compute_resources" WHERE (compute_resources.id IN (6,5,9,2)) AND "compute_resources"."id" = $1 ORDER BY compute_resources.name LIMIT 1 [["id", 9]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (4,3,2,1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 2]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] CACHE (0.0ms) SELECT smart_proxies.id FROM "smart_proxies" 2017-01-13 09:29:49 34b21bd9 [sql] [D] SmartProxy Load (0.4ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (4,3,2,1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] SQL (0.3ms) DELETE FROM "nics" WHERE "nics"."type" IN ('Nic::Managed', 'Nic::BMC', 'Nic::Bond', 'Nic::Bridge') AND "nics"."id" = $1 [["id", 546]] 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [sql] [D] Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "query_local_nameservers"]] 2017-01-13 09:29:49 34b21bd9 [app] [I] Delete the DNS A record for win7-test002.corp.bardel.ca/10.49.60.101 2017-01-13 09:29:49 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:49 34b21bd9 [app] [I] Delete the DNS PTR record for 10.49.60.101/win7-test002.corp.bardel.ca 2017-01-13 09:29:50 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:50 34b21bd9 [sql] [D] Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "dns_conflict_timeout"]] 2017-01-13 09:29:50 34b21bd9 [sql] [D] Architecture Load (0.3ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 3]] 2017-01-13 09:29:50 34b21bd9 [app] [I] Delete DHCP reservation for win7-test002.corp.bardel.ca-00:1a:4a:16:01:6f/10.49.60.101 2017-01-13 09:29:54 34b21bd9 [app] [W] Failed to parse response: | Changed the current scope context to 10.49.60.0 scope. | | Command completed successfully. | -> 757: unexpected token at 'Changed the current scope context to 10.49.60.0 scope. | | Command completed successfully. | ' 2017-01-13 09:29:54 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:54 34b21bd9 [sql] [W] Rolling back due to a problem: [#"00000000-0000-0000-0000-000000000009", "name"=>"nic1"}, execution: true, ip6: "", subnet6_id: nil>, :del_dhcp], @timestamp=2017-01-13 17:29:54 UTC>] 2017-01-13 09:29:54 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:54 34b21bd9 [app] [I] Add DNS PTR record for 10.49.60.101/win7-test002.corp.bardel.ca 2017-01-13 09:29:55 34b21bd9 [sql] [D] Using host queue 2017-01-13 09:29:55 34b21bd9 [app] [I] Add DNS A record for win7-test002.corp.bardel.ca/10.49.60.101 2017-01-13 09:29:55 34b21bd9 [sql] [D] (0.3ms) ROLLBACK 2017-01-13 09:29:55 34b21bd9 [app] [W] Action failed | ActiveRecord::RecordNotDestroyed: Failed to destroy the record | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/persistence.rb:185:in `destroy!' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/has_many_association.rb:171:in `each' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/has_many_association.rb:171:in `delete_records' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:525:in `remove_records' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:518:in `block in delete_or_destroy' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:183:in `block in transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in `transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:182:in `transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:518:in `delete_or_destroy' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:279:in `destroy' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/collection_association.rb:223:in `destroy_all' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/has_many_association.rb:27:in `handle_dependency' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/associations/builder/association.rb:146:in `block in add_destroy_callbacks' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:448:in `instance_exec' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:448:in `block in make_lambda' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:164:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:164:in `block in halting' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `block in call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `each' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:504:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_destroy_callbacks' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/callbacks.rb:292:in `destroy' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:281:in `block in destroy' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:220:in `transaction' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/transactions.rb:281:in `destroy' | /usr/share/foreman/app/controllers/hosts_controller.rb:122:in `destroy' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /opt/theforeman/tfm/root/usr/share/gems/gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:455:in `public_send' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:455:in `block in make_lambda' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `block in halting' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `block in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /usr/share/foreman/app/controllers/concerns/application_shared.rb:14:in `set_timezone' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:432:in `block in make_lambda' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `block in halting' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `block in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:432:in `block in make_lambda' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `block in halting' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `block in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /opt/theforeman/tfm/root/usr/share/gems/gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:455:in `public_send' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:455:in `block in make_lambda' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:312:in `block in halting' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:497:in `block in around' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:196:in `dispatch' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:237:in `block in action' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:43:in `serve' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in `block in serve' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `each' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `serve' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.3.6/lib/apipie/static_dispatcher.rb:65:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.3.6/lib/apipie/extractor/recorder.rb:132:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.3.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/etag.rb:24:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/conditionalget.rb:38:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/head.rb:13:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call' | /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/session/abstract/id.rb:225:in `context' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/session/abstract/id.rb:220:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in `call_app' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:22:in `call' | /usr/share/foreman/lib/middleware/tagged_logging.rb:18:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/methodoverride.rb:22:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/runtime.rb:18:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/sendfile.rb:113:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:518:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:165:in `call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in `public_send' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in `method_missing' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:66:in `block in call' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:50:in `each' | /opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/urlmap.rb:50:in `call' | /usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request' | /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request' | /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop' | /usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' 2017-01-13 09:29:55 34b21bd9 [app] [I] Rendered common/500.html.erb within layouts/application (10.9ms) 2017-01-13 09:29:55 34b21bd9 [app] [I] Rendered layouts/_application_content.html.erb (0.5ms) 2017-01-13 09:29:55 34b21bd9 [app] [I] Rendered layouts/base.html.erb (2.3ms) 2017-01-13 09:29:55 34b21bd9 [app] [I] Completed 500 Internal Server Error in 5935ms (Views: 17.0ms | ActiveRecord: 11.4ms) 2017-01-13 09:29:55 34b21bd9 [sql] [D] (0.2ms) BEGIN 2017-01-13 09:29:55 34b21bd9 [sql] [D] SQL (0.5ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DUkiEW9yaWdpbmFsX3VyaQY6BkVGIgYvSSIJdXNlcgY7AEZpCUkiD2V4\ncGlyZXNfYXQGOwBGbCsHnRx5WEkiC2xvY2FsZQY7AEYiB2VuSSIQX2NzcmZf\ndG9rZW4GOwBGSSIxbEduZnJsVnRhQzFvNHRUUzRybVR1UldETVozUVdhRUJ0\nWGp0T0lZbVh4dz0GOwBGSSIicmVkaXJlY3RfdG9fdXJsX29yZ2FuaXphdGlv\nbnMGOwBUIiZodHRwczovL2ZvcmVtYW4wMS5jb3JwLmJhcmRlbC5jYS9JIhRv\ncmdhbml6YXRpb25faWQGOwBGaQdJIhpyZWRpcmVjdF90b191cmxfaG9zdHMG\nOwBUIkdodHRwczovL2ZvcmVtYW4wMS5jb3JwLmJhcmRlbC5jYS9ob3N0cy93\naW43LXRlc3QwMDIuY29ycC5iYXJkZWwuY2E=\n"], ["updated_at", "2017-01-13 17:29:55.436043"], ["id", 2437831]] 2017-01-13 09:29:55 34b21bd9 [sql] [D] (1.5ms) COMMIT