2016-12-02 13:44:14 80851c76 [sql] [D] Taxonomy Load (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:44:14 80851c76 [sql] [D] ConfigReport Load (0.2ms) SELECT "reports"."status" FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:44:14.477565') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:44:14 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:14 80851c76 [sql] [D] SmartProxy Load (0.3ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:44:14 80851c76 [sql] [D] Nic::Base Load (0.5ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:44:14 80851c76 [sql] [D] Subnet Load (0.4ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:44:14 80851c76 [sql] [D] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "features_smart_proxies" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features_smart_proxies"."smart_proxy_id" = $1 [["smart_proxy_id", 1]] 2016-12-02 13:44:14 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:44:14 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:44:14 80851c76 [sql] [D] FactValue Exists (0.3ms) SELECT 1 AS one FROM "fact_values" WHERE "fact_values"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:14 80851c76 [sql] [D] (0.4ms) SELECT COUNT(*) 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 (smart_proxies.id IN (1)) AND "features"."name" = 'Puppet' 2016-12-02 13:44:14 80851c76 [sql] [D] Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "legacy_puppet_hostname"]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:44:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:44:14 80851c76 [app] [I] Rendered hosts/show.html.erb within layouts/application (176.3ms) 2016-12-02 13:44:14 80851c76 [app] [I] Rendered layouts/_application_content.html.erb (0.4ms) 2016-12-02 13:44:14 80851c76 [app] [I] Rendered home/_user_dropdown.html.erb (2.1ms) 2016-12-02 13:44:14 80851c76 [app] [I] Read fragment views/tabs_and_title_records-5 (0.1ms) 2016-12-02 13:44:14 80851c76 [app] [I] Rendered home/_topbar.html.erb (6.1ms) 2016-12-02 13:44:14 80851c76 [app] [I] Rendered layouts/base.html.erb (8.0ms) 2016-12-02 13:44:14 80851c76 [app] [I] Completed 200 OK in 208ms (Views: 179.0ms | ActiveRecord: 10.1ms) 2016-12-02 13:44:14 80851c76 [sql] [D] (0.2ms) BEGIN 2016-12-02 13:44:14 80851c76 [sql] [D] SQL (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DEkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwe+iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25z\n"], ["updated_at", "2016-12-02 13:44:14.670055"], ["id", 11334]] 2016-12-02 13:44:14 80851c76 [sql] [D] (1.7ms) COMMIT 2016-12-02 13:44:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/nics" for 10.87.23.28 at 2016-12-02 13:44:15 +0000 2016-12-02 13:44:15 80851c76 [app] [I] Processing by HostsController#nics as HTML 2016-12-02 13:44:15 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:44:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.4ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:44:15 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:44:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:44:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:44:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] Taxonomy Load (0.4ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] Host::Managed Load (0.5ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:44:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/overview" for 10.87.23.28 at 2016-12-02 13:44:15 +0000 2016-12-02 13:44:15 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] (0.4ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:44:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/templates" for 10.87.23.28 at 2016-12-02 13:44:15 +0000 2016-12-02 13:44:15 80851c76 [app] [I] Processing by HostsController#templates as HTML 2016-12-02 13:44:15 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:44:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.2ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:44:15 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:44:15 80851c76 [sql] [D] Domain Load (0.4ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] (8.9ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:44:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:44:15 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:44:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:44:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (8.4ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:44:15 80851c76 [sql] [D] Taxonomy Load (1.8ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] Subnet Load (1.9ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:44:15 80851c76 [app] [I] Rendered hosts/_nics.html.erb (47.0ms) 2016-12-02 13:44:15 80851c76 [app] [I] Completed 200 OK in 66ms (Views: 37.5ms | ActiveRecord: 14.8ms) 2016-12-02 13:44:15 80851c76 [sql] [D] Host::Managed Load (3.7ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:44:15 80851c76 [sql] [D] TemplateKind Load (0.2ms) SELECT "template_kinds".* FROM "template_kinds" ORDER BY "template_kinds"."name" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] (0.3ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] (6.7ms) BEGIN 2016-12-02 13:44:15 80851c76 [sql] [D] SQL (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DUkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwe/iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIacmVkaXJlY3RfdG9f\ndXJsX2hvc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9o\nb3N0cy9idGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:44:15.425782"], ["id", 11334]] 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (3.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (2.6ms) COMMIT 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (2.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] TemplateKind Load (0.2ms) SELECT "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1 [["id", 4]] 2016-12-02 13:44:15 80851c76 [sql] [D] TemplateKind Load (0.1ms) SELECT "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:44:15 80851c76 [app] [I] Rendered hosts/_templates.html.erb (6.7ms) 2016-12-02 13:44:15 80851c76 [app] [I] Completed 200 OK in 112ms (Views: 7.1ms | ActiveRecord: 42.6ms) 2016-12-02 13:44:15 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:44:15 80851c76 [sql] [D] SQL (0.2ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DUkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwe/iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIacmVkaXJlY3RfdG9f\ndXJsX2hvc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9o\nb3N0cy9idGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:44:15.502594"], ["id", 11334]] 2016-12-02 13:44:15 80851c76 [sql] [D] (1.2ms) COMMIT 2016-12-02 13:44:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/runtime?range=7" for 10.87.23.28 at 2016-12-02 13:44:15 +0000 2016-12-02 13:44:15 80851c76 [app] [I] Processing by HostsController#runtime as HTML 2016-12-02 13:44:15 80851c76 [app] [I] Parameters: {"range"=>"7", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:44:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.2ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:44:15 80851c76 [sql] [D] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:44:15 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:44:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:44:15 80851c76 [sql] [D] Location Load (0.1ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:44:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] Taxonomy Load (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:44:15 80851c76 [sql] [D] ConfigReport Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:44:15.551995') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:44:15 80851c76 [app] [I] Rendered hosts/_runtime.html.erb (2.9ms) 2016-12-02 13:44:15 80851c76 [app] [I] Completed 200 OK in 18ms (Views: 3.2ms | ActiveRecord: 2.3ms) 2016-12-02 13:44:15 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:44:15 80851c76 [sql] [D] (0.1ms) COMMIT 2016-12-02 13:44:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/resources?range=7" for 10.87.23.28 at 2016-12-02 13:44:15 +0000 2016-12-02 13:44:15 80851c76 [app] [I] Processing by HostsController#resources as HTML 2016-12-02 13:44:15 80851c76 [app] [I] Parameters: {"range"=>"7", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:44:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.2ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:44:15 80851c76 [sql] [D] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:44:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:44:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:44:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] Taxonomy Load (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:44:15 80851c76 [sql] [D] ConfigReport Load (0.2ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:44:15.577121') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:44:15 80851c76 [app] [I] Rendered hosts/_resources.html.erb (2.8ms) 2016-12-02 13:44:15 80851c76 [app] [I] Completed 200 OK in 18ms (Views: 3.1ms | ActiveRecord: 2.4ms) 2016-12-02 13:44:15 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:44:15 80851c76 [sql] [D] (0.1ms) COMMIT 2016-12-02 13:44:15 80851c76 [app] [I] Processing by HostsController#overview as HTML 2016-12-02 13:44:15 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:44:15 80851c76 [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", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:44:15 80851c76 [sql] [D] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" 2016-12-02 13:44:15 80851c76 [sql] [D] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:44:15 80851c76 [sql] [D] (0.4ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:44:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:44:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:44:15 80851c76 [sql] [D] Location Load (0.3ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:44:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:44:15 80851c76 [sql] [D] AuthSource Load (0.3ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:44:15 80851c76 [sql] [D] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:44:15 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:15 80851c76 [sql] [D] Host::Managed Load (0.9ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:44:15 80851c76 [sql] [D] HostStatus::Status Load (0.3ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [sql] [D] (0.4ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:44:16 80851c76 [sql] [D] SmartProxy Load (0.3ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:44:16 80851c76 [sql] [D] ConfigReport Load (0.5ms) 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", 9]] 2016-12-02 13:44:16 80851c76 [sql] [D] Token Load (0.3ms) SELECT "tokens".* FROM "tokens" WHERE "tokens"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:44:16 80851c76 [sql] [D] Nic::Base Load (0.5ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:44:16 80851c76 [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]] 2016-12-02 13:44:16 80851c76 [sql] [D] Architecture Load (0.2ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:44:16 80851c76 [sql] [D] Operatingsystem Load (0.4ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:44:16 80851c76 [sql] [D] Hostgroup Load (0.5ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = $1 ORDER BY hostgroups.title LIMIT 1 [["id", 1]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:44:16 80851c76 [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", 1]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "User"]] 2016-12-02 13:44:16 80851c76 [sql] [D] (0.1ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", "t"]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:44:16 80851c76 [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" = 2 [["taxable_type", "User"]] 2016-12-02 13:44:16 80851c76 [sql] [D] CACHE (0.0ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", true]] 2016-12-02 13:44:16 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE (users.id IN (5,6,3,4,1,2,5,3,4)) AND "users"."id" = $1 ORDER BY firstname LIMIT 1 [["id", 3]] 2016-12-02 13:44:16 80851c76 [sql] [D] Setting Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "use_uuid_for_certificates"]] 2016-12-02 13:44:16 80851c76 [sql] [D] ForemanSalt::SaltEnvironment Load (0.3ms) SELECT "salt_environments".* FROM "salt_environments" WHERE "salt_environments"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:44:16 80851c76 [app] [I] Rendered hosts/_overview.html.erb (249.7ms) 2016-12-02 13:44:16 80851c76 [app] [I] Completed 200 OK in 456ms (Views: 241.4ms | ActiveRecord: 26.4ms) 2016-12-02 13:44:16 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:44:16 80851c76 [sql] [D] (0.1ms) COMMIT 2016-12-02 13:45:08 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/cancelBuild" for 10.87.23.28 at 2016-12-02 13:45:08 +0000 2016-12-02 13:45:08 80851c76 [app] [I] Processing by HostsController#cancelBuild as HTML 2016-12-02 13:45:08 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:08 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.4ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:08 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:08 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:08 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:08 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:08 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:08 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:08 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:08 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:08 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:08 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:08 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:08 80851c76 [sql] [D] Host::Managed Load (0.5ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:08 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:08 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:08 80851c76 [sql] [D] HostStatus::Status Load (0.2ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:08 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:08 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:08 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:08 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:08 80851c76 [sql] [D] Hostgroup Load (0.3ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = $1 ORDER BY hostgroups.title LIMIT 1 [["id", 1]] 2016-12-02 13:45:08 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:08 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:08 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 AND (salt_environment_id is not NULL) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:08 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:08 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:08 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 AND (subnet6_id is not NULL) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:08 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:08 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:08 80851c76 [sql] [D] Subnet Load (0.5ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:08 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:09 80851c76 [sql] [D] Host::Base Exists (0.4ms) SELECT 1 AS one FROM "hosts" WHERE ("hosts"."name" = 'bth-cde-test2.company.home' AND "hosts"."id" != 9) LIMIT 1 2016-12-02 13:45:09 80851c76 [sql] [D] HostParameter Load (0.4ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('HostParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 9]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Domain Load (0.2ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] ForemanSalt::SaltModule Exists (0.5ms) SELECT 1 AS one FROM "salt_modules" INNER JOIN "host_salt_modules" ON "salt_modules"."id" = "host_salt_modules"."salt_module_id" WHERE "host_salt_modules"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:09 80851c76 [sql] [D] ForemanSalt::SaltEnvironment Load (0.2ms) SELECT "salt_environments".* FROM "salt_environments" WHERE "salt_environments"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:09 80851c76 [sql] [D] ForemanSalt::SaltModule Load (0.3ms) SELECT "salt_modules".* FROM "salt_modules" INNER JOIN "host_salt_modules" ON "salt_modules"."id" = "host_salt_modules"."salt_module_id" WHERE "host_salt_modules"."host_id" = $1 ORDER BY salt_modules.name [["host_id", 9]] 2016-12-02 13:45:09 80851c76 [sql] [D] ForemanSalt::SaltModule Load (0.4ms) SELECT "salt_modules".* FROM "salt_modules" INNER JOIN "salt_module_environments" ON "salt_modules"."id" = "salt_module_environments"."salt_module_id" WHERE "salt_module_environments"."salt_environment_id" = $1 ORDER BY salt_modules.name [["salt_environment_id", 5]] 2016-12-02 13:45:09 80851c76 [sql] [D] Token Load (0.2ms) SELECT "tokens".* FROM "tokens" WHERE "tokens"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:09 80851c76 [sql] [D] SQL (0.2ms) DELETE FROM "tokens" WHERE "tokens"."id" = $1 [["id", 44]] 2016-12-02 13:45:09 80851c76 [sql] [D] Queueing Realm 2016-12-02 13:45:09 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Ptable Load (0.5ms) SELECT "templates".* FROM "templates" WHERE (templates.id IN (64,62,55,58,100,57,84,92,61,65,75,76,101,59,60,63,56,54)) AND "templates"."type" IN ('Ptable') AND "templates"."id" = $1 ORDER BY templates.name LIMIT 1 [["id", 101]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Ptable Exists (0.4ms) SELECT 1 AS one FROM "templates" INNER JOIN "operatingsystems_ptables" ON "templates"."id" = "operatingsystems_ptables"."ptable_id" WHERE (templates.id IN (64,62,55,58,100,57,84,92,61,65,75,76,101,59,60,63,56,54)) AND "templates"."type" IN ('Ptable') AND "operatingsystems_ptables"."operatingsystem_id" = $1 AND "templates"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 101]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Medium Load (0.3ms) SELECT "media".* FROM "media" WHERE (media.id IN (10,11,9)) AND "media"."id" = $1 ORDER BY media.name LIMIT 1 [["id", 11]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Medium Exists (0.3ms) SELECT 1 AS one FROM "media" INNER JOIN "media_operatingsystems" ON "media"."id" = "media_operatingsystems"."medium_id" WHERE (media.id IN (10,11,9)) AND "media_operatingsystems"."operatingsystem_id" = $1 AND "media"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 11]] 2016-12-02 13:45:09 80851c76 [sql] [D] Architecture Load (0.2ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] Architecture Exists (0.3ms) SELECT 1 AS one FROM "architectures" INNER JOIN "architectures_operatingsystems" ON "architectures"."id" = "architectures_operatingsystems"."architecture_id" WHERE "architectures_operatingsystems"."operatingsystem_id" = $1 AND "architectures"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", "t"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", true]] 2016-12-02 13:45:09 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE (users.id IN (5,6,3,4,1,2,5,3,4)) AND "users"."id" = $1 ORDER BY firstname LIMIT 1 [["id", 3]] 2016-12-02 13:45:09 80851c76 [sql] [D] Nic::Base Load (0.2ms) SELECT "nics".* FROM "nics" WHERE "nics"."virtual" = $1 AND "nics"."managed" = $2 AND "nics"."mac" = $3 [["virtual", "f"], ["managed", "t"], ["mac", "a2:be:48:d8:3f:31"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Domain Load (0.2ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:09 80851c76 [sql] [D] Taxonomy Exists (0.4ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Location"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Taxonomy Exists (0.3ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 AND "taxonomies"."id" = $4 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Location"], ["id", 2]] 2016-12-02 13:45:09 80851c76 [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", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] Taxonomy Exists (0.3ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Organization"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Taxonomy Exists (0.3ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 AND "taxonomies"."id" = $4 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Organization"], ["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] Nic::Base Load (0.2ms) SELECT "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "172.18.102.9"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Nic::Base Load (0.2ms) SELECT "nics".* FROM "nics" WHERE "nics"."domain_id" = $1 AND "nics"."name" = $2 [["domain_id", 1], ["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:09 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] (0.3ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:09 80851c76 [sql] [D] ProvisioningTemplate Load (1.5ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:09 80851c76 [sql] [D] ProvisioningTemplate Load (1.5ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "media".* FROM "media" WHERE (media.id IN (10,11,9)) AND "media"."id" = $1 ORDER BY media.name LIMIT 1 [["id", 11]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:09 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:09 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:09 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:09 80851c76 [sql] [D] Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "discovery_reboot"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:09 80851c76 [sql] [D] ProvisioningTemplate Load (0.3ms) SELECT "templates".* FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "templates"."name" = $1 ORDER BY templates.name LIMIT 1 [["name", "PXEGrub2 default local boot"]] 2016-12-02 13:45:09 80851c76 [templates] [I] Rendering template 'PXEGrub2 default local boot' 2016-12-02 13:45:09 80851c76 [sql] [D] Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "safemode_render"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Template Load (0.2ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "pxegrub2_chainload"], ["snippet", "t"]] 2016-12-02 13:45:09 80851c76 [templates] [I] Rendering template 'pxegrub2_chainload' 2016-12-02 13:45:09 80851c76 [sql] [I] Deploying TFTP PXEGrub2 configuration for bth-cde-test2.company.home 2016-12-02 13:45:09 80851c76 [sql] [D] Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "proxy_request_timeout"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "ssl_certificate"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "ssl_ca_file"]] 2016-12-02 13:45:09 80851c76 [sql] [D] Setting Load (0.1ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "ssl_priv_key"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:09 80851c76 [sql] [D] ProvisioningTemplate Load (0.4ms) SELECT "templates".* FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "templates"."name" = $1 ORDER BY templates.name LIMIT 1 [["name", "PXELinux default local boot"]] 2016-12-02 13:45:09 80851c76 [templates] [I] Rendering template 'PXELinux default local boot' 2016-12-02 13:45:09 80851c76 [sql] [D] Template Load (0.2ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "pxelinux_chainload"], ["snippet", "t"]] 2016-12-02 13:45:09 80851c76 [templates] [I] Rendering template 'pxelinux_chainload' 2016-12-02 13:45:09 80851c76 [sql] [I] Deploying TFTP PXELinux configuration for bth-cde-test2.company.home 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:09 80851c76 [sql] [D] ProvisioningTemplate Load (0.4ms) SELECT "templates".* FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "templates"."name" = $1 ORDER BY templates.name LIMIT 1 [["name", "PXEGrub default local boot"]] 2016-12-02 13:45:09 80851c76 [templates] [I] Rendering template 'PXEGrub default local boot' 2016-12-02 13:45:09 80851c76 [sql] [D] Template Load (0.3ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "pxegrub_chainload"], ["snippet", "t"]] 2016-12-02 13:45:09 80851c76 [templates] [I] Rendering template 'pxegrub_chainload' 2016-12-02 13:45:09 80851c76 [sql] [I] Deploying TFTP PXEGrub configuration for bth-cde-test2.company.home 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."location_id" = 2 AND "hosts"."type" IN ('Host::Managed') AND "hosts"."id" = $1 LIMIT 1 [["id", 9]] 2016-12-02 13:45:09 80851c76 [sql] [D] (0.7ms) SELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = $1 AND "audits"."auditable_type" = $2 [["auditable_id", 9], ["auditable_type", "Host"]] 2016-12-02 13:45:09 80851c76 [sql] [D] SQL (0.6ms) INSERT INTO "audits" ("action", "audited_changes", "auditable_id", "auditable_type", "user_id", "username", "auditable_name", "created_at", "version", "request_uuid", "remote_address") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["action", "update"], ["audited_changes", "---\nbuild:\n- true\n- false\n"], ["auditable_id", 9], ["auditable_type", "Host"], ["user_id", 5], ["username", "Maurice Mouw"], ["auditable_name", "bth-cde-test2.company.home"], ["created_at", "2016-12-02 13:45:09.492624"], ["version", 55], ["request_uuid", "c17f027e-0cce-4034-8757-06bcee3ee813"], ["remote_address", "10.87.23.28"]] 2016-12-02 13:45:09 80851c76 [sql] [D] SQL (0.7ms) UPDATE "hosts" SET "build" = $1, "updated_at" = $2 WHERE "hosts"."id" = $3 [["build", "f"], ["updated_at", "2016-12-02 13:45:09.458357"], ["id", 9]] 2016-12-02 13:45:09 80851c76 [sql] [D] (2.4ms) COMMIT 2016-12-02 13:45:09 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:09 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:09 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:09 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:09 80851c76 [app] [I] Host bth-cde-test2.company.home is built, accepting Salt key 2016-12-02 13:45:10 80851c76 [sql] [D] custom hook before_provision on bth-cde-test2.company.home will be executed if defined. 2016-12-02 13:45:10 80851c76 [app] [I] Redirected to https://mgtforeman.company.home/hosts/bth-cde-test2.company.home 2016-12-02 13:45:10 80851c76 [app] [I] Completed 302 Found in 1143ms (ActiveRecord: 38.8ms) 2016-12-02 13:45:10 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] SQL (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7D0kiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf0iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIacmVkaXJlY3RfdG9f\ndXJsX2hvc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9o\nb3N0cy9idGgtY2RlLXRlc3QyLmhpdHQuaG9tZUkiHF90dXJib2xpbmtzX3Jl\nZGlyZWN0X3RvBjsARiI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9o\nb3N0cy9idGgtY2RlLXRlc3QyLmhpdHQuaG9tZUkiCmZsYXNoBjsAVHsHSSIM\nZGlzY2FyZAY7AFRbAEkiDGZsYXNoZXMGOwBUewZJIgtub3RpY2UGOwBGSSI3\nQ2FuY2VsZWQgcGVuZGluZyBidWlsZCBmb3IgYnRoLWNkZS10ZXN0Mi5oaXR0\nLmhvbWUGOwBU\n"], ["updated_at", "2016-12-02 13:45:10.053841"], ["id", 11334]] 2016-12-02 13:45:10 80851c76 [sql] [D] (1.3ms) COMMIT 2016-12-02 13:45:10 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home" for 10.87.23.28 at 2016-12-02 13:45:10 +0000 2016-12-02 13:45:10 80851c76 [app] [I] Processing by HostsController#show as HTML 2016-12-02 13:45:10 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:10 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.4ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:10 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:10 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:10 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:10 80851c76 [sql] [D] AuthSource Load (0.3ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Taxonomy Load (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:10 80851c76 [sql] [D] ConfigReport Load (0.3ms) SELECT "reports"."status" FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:45:10.200008') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] Nic::Base Load (0.4ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:10 80851c76 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "features_smart_proxies" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features_smart_proxies"."smart_proxy_id" = $1 [["smart_proxy_id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] FactValue Exists (0.3ms) SELECT 1 AS one FROM "fact_values" WHERE "fact_values"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] (0.4ms) SELECT COUNT(*) 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 (smart_proxies.id IN (1)) AND "features"."name" = 'Puppet' 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:10 80851c76 [app] [I] Rendered hosts/show.html.erb within layouts/application (95.0ms) 2016-12-02 13:45:10 80851c76 [app] [I] Rendered layouts/_application_content.html.erb (1.1ms) 2016-12-02 13:45:10 80851c76 [app] [I] Rendered home/_user_dropdown.html.erb (3.2ms) 2016-12-02 13:45:10 80851c76 [app] [I] Read fragment views/tabs_and_title_records-5 (0.2ms) 2016-12-02 13:45:10 80851c76 [app] [I] Rendered home/_topbar.html.erb (12.4ms) 2016-12-02 13:45:10 80851c76 [app] [I] Rendered layouts/base.html.erb (16.3ms) 2016-12-02 13:45:10 80851c76 [app] [I] Completed 200 OK in 137ms (Views: 110.5ms | ActiveRecord: 8.5ms) 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] SQL (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DUkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf2iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZA\nFkkiN0NhbmNlbGVkIHBlbmRpbmcgYnVpbGQgZm9yIGJ0aC1jZGUtdGVzdDIu\naGl0dC5ob21lBjsAVA==\n"], ["updated_at", "2016-12-02 13:45:10.322355"], ["id", 11334]] 2016-12-02 13:45:10 80851c76 [sql] [D] (1.2ms) COMMIT 2016-12-02 13:45:10 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/resources?range=7" for 10.87.23.28 at 2016-12-02 13:45:10 +0000 2016-12-02 13:45:10 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/overview" for 10.87.23.28 at 2016-12-02 13:45:10 +0000 2016-12-02 13:45:10 80851c76 [app] [I] Processing by HostsController#resources as HTML 2016-12-02 13:45:10 80851c76 [app] [I] Parameters: {"range"=>"7", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:10 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/runtime?range=7" for 10.87.23.28 at 2016-12-02 13:45:10 +0000 2016-12-02 13:45:10 80851c76 [app] [I] Processing by HostsController#overview as HTML 2016-12-02 13:45:10 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:10 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/templates" for 10.87.23.28 at 2016-12-02 13:45:10 +0000 2016-12-02 13:45:10 80851c76 [app] [I] Processing by HostsController#runtime as HTML 2016-12-02 13:45:10 80851c76 [app] [I] Parameters: {"range"=>"7", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:10 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (9.1ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:10 80851c76 [app] [I] Processing by HostsController#templates as HTML 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:10 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:10 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.3ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:10 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (4.6ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:10 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (10.5ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:10 80851c76 [sql] [D] (4.6ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:10 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (2.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:10 80851c76 [sql] [D] (2.4ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:10 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:10 80851c76 [sql] [D] (2.8ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:10 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:10 80851c76 [sql] [D] Location Load (1.6ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:10 80851c76 [sql] [D] (1.7ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:10 80851c76 [sql] [D] (2.5ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:10 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:10 80851c76 [sql] [D] AuthSource Load (1.0ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] Location Load (1.5ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:10 80851c76 [sql] [D] Location Load (1.6ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:10 80851c76 [sql] [D] (1.7ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:10 80851c76 [sql] [D] (1.8ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Location Load (0.3ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:10 80851c76 [sql] [D] AuthSource Load (1.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] AuthSource Load (2.6ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] (1.7ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] AuthSource Load (1.7ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] (1.7ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (2.4ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (0.4ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Taxonomy Load (1.4ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] (1.9ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (3.8ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Host::Managed Load (2.9ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:10 80851c76 [sql] [D] Taxonomy Load (3.5ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] Taxonomy Load (2.1ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] Host::Managed Load (2.3ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:10 80851c76 [sql] [D] Taxonomy Load (6.5ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] Host::Managed Load (2.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:10 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:10 80851c76 [sql] [D] TemplateKind Load (3.2ms) SELECT "template_kinds".* FROM "template_kinds" ORDER BY "template_kinds"."name" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] HostStatus::Status Load (6.3ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] ConfigReport Load (0.3ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:45:10.547545') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [app] [I] Rendered hosts/_resources.html.erb (15.2ms) 2016-12-02 13:45:10 80851c76 [app] [I] Completed 200 OK in 57ms (Views: 17.7ms | ActiveRecord: 25.0ms) 2016-12-02 13:45:10 80851c76 [sql] [D] (2.4ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:10 80851c76 [sql] [D] (3.8ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] SmartProxy Load (0.4ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] (20.8ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.6ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] SQL (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf2iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZJ\nIgtub3RpY2UGOwBGSSI3Q2FuY2VsZWQgcGVuZGluZyBidWlsZCBmb3IgYnRo\nLWNkZS10ZXN0Mi5oaXR0LmhvbWUGOwBUSSIacmVkaXJlY3RfdG9fdXJsX2hv\nc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9ob3N0cy9i\ndGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:45:10.584177"], ["id", 11334]] 2016-12-02 13:45:10 80851c76 [sql] [D] (2.2ms) COMMIT 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.3ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/nics" for 10.87.23.28 at 2016-12-02 13:45:10 +0000 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [app] [I] Processing by HostsController#nics as HTML 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:10 80851c76 [sql] [D] ConfigReport Load (0.6ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:45:10.556170') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [app] [I] Rendered hosts/_runtime.html.erb (51.9ms) 2016-12-02 13:45:10 80851c76 [app] [I] Completed 200 OK in 93ms (Views: 27.8ms | ActiveRecord: 50.1ms) 2016-12-02 13:45:10 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] SQL (0.3ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf2iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZJ\nIgtub3RpY2UGOwBGSSI3Q2FuY2VsZWQgcGVuZGluZyBidWlsZCBmb3IgYnRo\nLWNkZS10ZXN0Mi5oaXR0LmhvbWUGOwBUSSIacmVkaXJlY3RfdG9fdXJsX2hv\nc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9ob3N0cy9i\ndGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:45:10.608666"], ["id", 11334]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (5.3ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:10 80851c76 [sql] [D] (1.9ms) COMMIT 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (0.6ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:10 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:10 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:10 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (6.5ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] Host::Managed Load (0.5ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] Nic::Base Load (6.5ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] ConfigReport Load (77.6ms) 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", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] (10.5ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:10 80851c76 [sql] [D] Nic::Base Load (0.2ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:10 80851c76 [sql] [D] Domain Load (0.2ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:10 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:10 80851c76 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (11.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [app] [I] Rendered hosts/_nics.html.erb (33.5ms) 2016-12-02 13:45:10 80851c76 [app] [I] Completed 200 OK in 65ms (Views: 18.3ms | ActiveRecord: 32.9ms) 2016-12-02 13:45:10 80851c76 [sql] [D] Domain Load (0.2ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (4.7ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] Architecture Load (4.6ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] (10.3ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] (0.1ms) COMMIT 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (3.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Operatingsystem Load (3.6ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (6.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] (6.5ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (3.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Hostgroup Load (0.5ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = $1 ORDER BY hostgroups.title LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:10 80851c76 [sql] [D] ProvisioningTemplate Load (1.3ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:10 80851c76 [sql] [D] Organization Load (0.4ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:10 80851c76 [sql] [D] (0.3ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", "t"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.1ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:10 80851c76 [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" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:10 80851c76 [sql] [D] CACHE (0.0ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", true]] 2016-12-02 13:45:10 80851c76 [sql] [D] TemplateKind Load (0.3ms) SELECT "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1 [["id", 4]] 2016-12-02 13:45:10 80851c76 [sql] [D] User Load (0.5ms) SELECT "users".* FROM "users" WHERE (users.id IN (5,6,3,4,1,2,5,3,4)) AND "users"."id" = $1 ORDER BY firstname LIMIT 1 [["id", 3]] 2016-12-02 13:45:10 80851c76 [sql] [D] ForemanSalt::SaltEnvironment Load (0.4ms) SELECT "salt_environments".* FROM "salt_environments" WHERE "salt_environments"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:10 80851c76 [app] [I] Rendered hosts/_overview.html.erb (182.7ms) 2016-12-02 13:45:10 80851c76 [app] [I] Completed 200 OK in 226ms (Views: 78.8ms | ActiveRecord: 132.7ms) 2016-12-02 13:45:10 80851c76 [sql] [D] (0.2ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] SQL (0.4ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf2iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZJ\nIgtub3RpY2UGOwBGSSI3Q2FuY2VsZWQgcGVuZGluZyBidWlsZCBmb3IgYnRo\nLWNkZS10ZXN0Mi5oaXR0LmhvbWUGOwBUSSIacmVkaXJlY3RfdG9fdXJsX2hv\nc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9ob3N0cy9i\ndGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:45:10.736532"], ["id", 11334]] 2016-12-02 13:45:10 80851c76 [sql] [D] TemplateKind Load (10.7ms) SELECT "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:10 80851c76 [app] [I] Rendered hosts/_templates.html.erb (30.8ms) 2016-12-02 13:45:10 80851c76 [app] [I] Completed 200 OK in 226ms (Views: 22.8ms | ActiveRecord: 94.2ms) 2016-12-02 13:45:10 80851c76 [sql] [D] (4.7ms) COMMIT 2016-12-02 13:45:10 80851c76 [sql] [D] (1.4ms) BEGIN 2016-12-02 13:45:10 80851c76 [sql] [D] SQL (0.4ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf2iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZJ\nIgtub3RpY2UGOwBGSSI3Q2FuY2VsZWQgcGVuZGluZyBidWlsZCBmb3IgYnRo\nLWNkZS10ZXN0Mi5oaXR0LmhvbWUGOwBUSSIacmVkaXJlY3RfdG9fdXJsX2hv\nc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9ob3N0cy9i\ndGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:45:10.745645"], ["id", 11334]] 2016-12-02 13:45:10 80851c76 [sql] [D] (1.4ms) COMMIT 2016-12-02 13:45:11 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/review_before_build" for 10.87.23.28 at 2016-12-02 13:45:11 +0000 2016-12-02 13:45:11 80851c76 [app] [I] Processing by HostsController#review_before_build as */* 2016-12-02 13:45:11 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:11 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.3ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:11 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:11 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:11 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:11 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:11 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:11 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:11 80851c76 [sql] [D] AuthSource Load (0.1ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:11 80851c76 [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", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:11 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Hostgroup Load (0.3ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = $1 ORDER BY hostgroups.title LIMIT 1 [["id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 AND (salt_environment_id is not NULL) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 AND (subnet6_id is not NULL) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:11 80851c76 [sql] [D] Host::Base Exists (0.4ms) SELECT 1 AS one FROM "hosts" WHERE ("hosts"."name" = 'bth-cde-test2.company.home' AND "hosts"."id" != 9) LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] HostParameter Load (0.4ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('HostParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Domain Load (0.2ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] ForemanSalt::SaltModule Exists (0.5ms) SELECT 1 AS one FROM "salt_modules" INNER JOIN "host_salt_modules" ON "salt_modules"."id" = "host_salt_modules"."salt_module_id" WHERE "host_salt_modules"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] ForemanSalt::SaltEnvironment Load (0.3ms) SELECT "salt_environments".* FROM "salt_environments" WHERE "salt_environments"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:11 80851c76 [sql] [D] ForemanSalt::SaltModule Load (0.3ms) SELECT "salt_modules".* FROM "salt_modules" INNER JOIN "host_salt_modules" ON "salt_modules"."id" = "host_salt_modules"."salt_module_id" WHERE "host_salt_modules"."host_id" = $1 ORDER BY salt_modules.name [["host_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] ForemanSalt::SaltModule Load (0.4ms) SELECT "salt_modules".* FROM "salt_modules" INNER JOIN "salt_module_environments" ON "salt_modules"."id" = "salt_module_environments"."salt_module_id" WHERE "salt_module_environments"."salt_environment_id" = $1 ORDER BY salt_modules.name [["salt_environment_id", 5]] 2016-12-02 13:45:11 80851c76 [sql] [D] Queueing Realm 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Ptable Load (0.3ms) SELECT "templates".* FROM "templates" WHERE (templates.id IN (64,62,55,58,100,57,84,92,61,65,75,76,101,59,60,63,56,54)) AND "templates"."type" IN ('Ptable') AND "templates"."id" = $1 ORDER BY templates.name LIMIT 1 [["id", 101]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Ptable Exists (0.3ms) SELECT 1 AS one FROM "templates" INNER JOIN "operatingsystems_ptables" ON "templates"."id" = "operatingsystems_ptables"."ptable_id" WHERE (templates.id IN (64,62,55,58,100,57,84,92,61,65,75,76,101,59,60,63,56,54)) AND "templates"."type" IN ('Ptable') AND "operatingsystems_ptables"."operatingsystem_id" = $1 AND "templates"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 101]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Medium Load (0.3ms) SELECT "media".* FROM "media" WHERE (media.id IN (10,11,9)) AND "media"."id" = $1 ORDER BY media.name LIMIT 1 [["id", 11]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Medium Exists (0.4ms) SELECT 1 AS one FROM "media" INNER JOIN "media_operatingsystems" ON "media"."id" = "media_operatingsystems"."medium_id" WHERE (media.id IN (10,11,9)) AND "media_operatingsystems"."operatingsystem_id" = $1 AND "media"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 11]] 2016-12-02 13:45:11 80851c76 [sql] [D] Architecture Load (0.2ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] Architecture Exists (0.3ms) SELECT 1 AS one FROM "architectures" INNER JOIN "architectures_operatingsystems" ON "architectures"."id" = "architectures_operatingsystems"."architecture_id" WHERE "architectures_operatingsystems"."operatingsystem_id" = $1 AND "architectures"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", "t"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", true]] 2016-12-02 13:45:11 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE (users.id IN (5,6,3,4,1,2,5,3,4)) AND "users"."id" = $1 ORDER BY firstname LIMIT 1 [["id", 3]] 2016-12-02 13:45:11 80851c76 [sql] [D] TemplateKind Load (0.2ms) SELECT "template_kinds".* FROM "template_kinds" 2016-12-02 13:45:11 80851c76 [sql] [D] (0.3ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.3ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "template_kinds".* FROM "template_kinds" 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.1ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:11 80851c76 [app] [I] Rendering company-companygroup - pxelinux 2016-12-02 13:45:11 80851c76 [templates] [I] Rendering template 'company-companygroup - disklayout' 2016-12-02 13:45:11 80851c76 [sql] [D] Taxonomy Load (0.4ms) SELECT "taxonomies".* FROM "taxonomies" WHERE 1=0 ORDER BY (case when taxonomies.ancestry is null then 0 else 1 end), taxonomies.ancestry 2016-12-02 13:45:11 80851c76 [sql] [D] OrganizationParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('OrganizationParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] CommonParameter Load (0.3ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('CommonParameter') ORDER BY parameters.name 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE 1=0 ORDER BY (case when taxonomies.ancestry is null then 0 else 1 end), taxonomies.ancestry 2016-12-02 13:45:11 80851c76 [sql] [D] LocationParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('LocationParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 2]] 2016-12-02 13:45:11 80851c76 [sql] [D] DomainParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('DomainParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] SubnetParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('SubnetParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] OsParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('OsParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 5]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [sql] [D] GroupParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('GroupParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 2]] 2016-12-02 13:45:11 80851c76 [sql] [D] GroupParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('GroupParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('HostParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "Enable_Smart_Variables_in_ENC"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [sql] [D] (0.4ms) 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"]] 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) 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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) 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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] (0.3ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] (0.3ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] HostClass Load (0.2ms) SELECT "host_classes".* FROM "host_classes" WHERE "host_classes"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] (0.3ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] VariableLookupKey Load (0.9ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] LookupValue Load (0.3ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] VariableLookupKey Load (0.3ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:11 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [templates] [I] Rendering template 'company-companygroup - pxelinux' 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] Setting Load (0.5ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "unattended_url"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "features_smart_proxies" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features_smart_proxies"."smart_proxy_id" = $1 [["smart_proxy_id", 1]] 2016-12-02 13:45:11 80851c76 [sql] [D] Token Load (0.2ms) SELECT "tokens".* FROM "tokens" WHERE "tokens"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:11 80851c76 [sql] [D] Setting Load (0.1ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = $1 ORDER BY "settings"."name" ASC LIMIT 1 [["name", "foreman_url"]] 2016-12-02 13:45:11 80851c76 [app] [I] Rendering company-companygroup - provisioning 2016-12-02 13:45:11 80851c76 [templates] [I] Rendering template 'company-companygroup - disklayout' 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:11 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:11 80851c76 [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"]] 2016-12-02 13:45:11 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:11 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.1ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:11 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.1ms) 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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.1ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup - provisioning' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] Template Load (0.3ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "company-companygroup_kickstart_firewall_setup"], ["snippet", "t"]] 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup_kickstart_firewall_setup' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] Template Load (0.4ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "company-companygroup_kickstart_repositories_setup"], ["snippet", "t"]] 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup_kickstart_repositories_setup' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] Template Load (0.4ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "company-companygroup_kickstart_packages_setup"], ["snippet", "t"]] 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup_kickstart_packages_setup' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup - disklayout' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.1ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] Template Load (0.5ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "company-companygroup_kickstart_networking_setup"], ["snippet", "t"]] 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup_kickstart_networking_setup' 2016-12-02 13:45:12 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 AND "nics"."managed" = $3 ORDER BY "nics"."identifier" ASC [["host_id", 9], ["type", "Nic::Bond"], ["managed", "t"]] 2016-12-02 13:45:12 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 AND "nics"."managed" = $3 ORDER BY "nics"."identifier" ASC [["host_id", 9], ["type", "Nic::Managed"], ["managed", "t"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:12 80851c76 [sql] [D] Template Load (0.3ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "company-companygroup_kickstart_populate_etc_company_configuration_setup"], ["snippet", "t"]] 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup_kickstart_populate_etc_company_configuration_setup' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] Template Load (0.4ms) SELECT "templates".* FROM "templates" WHERE "templates"."name" = $1 AND "templates"."snippet" = $2 ORDER BY "templates"."id" ASC LIMIT 1 [["name", "company-companygroup_saltstack_minion"], ["snippet", "t"]] 2016-12-02 13:45:12 80851c76 [templates] [I] Rendering template 'company-companygroup_saltstack_minion' 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:12 80851c76 [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"]] 2016-12-02 13:45:12 80851c76 [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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:12 80851c76 [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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:12 80851c76 [sql] [D] (0.5ms) SELECT COUNT(*) FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" IN (1, 1, 1) 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:12 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:12 80851c76 [sql] [D] SmartProxy Load (0.4ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" IN (1, 1, 1) ORDER BY smart_proxies.name 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "features".* FROM "features" INNER JOIN "features_smart_proxies" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features_smart_proxies"."smart_proxy_id" = $1 [["smart_proxy_id", 1]] 2016-12-02 13:45:12 80851c76 [sql] [D] Feature Load (0.3ms) SELECT "features".* FROM "features" 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "features".* FROM "features" 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "features".* FROM "features" 2016-12-02 13:45:12 80851c76 [sql] [D] CACHE (0.0ms) SELECT "features".* FROM "features" 2016-12-02 13:45:12 80851c76 [sql] [D] Feature Load (0.5ms) SELECT "features".* FROM "features" WHERE "features"."name" IN ('Puppet', 'Puppet CA', 'Salt', 'TFTP') 2016-12-02 13:45:12 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:12 80851c76 [app] [I] Rendered hosts/review_before_build.html.erb (5.4ms) 2016-12-02 13:45:12 80851c76 [app] [I] Completed 200 OK in 1512ms (Views: 8.2ms | ActiveRecord: 81.0ms) 2016-12-02 13:45:12 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:12 80851c76 [sql] [D] SQL (0.2ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf3iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZJ\nIgtub3RpY2UGOwBGSSI3Q2FuY2VsZWQgcGVuZGluZyBidWlsZCBmb3IgYnRo\nLWNkZS10ZXN0Mi5oaXR0LmhvbWUGOwBUSSIacmVkaXJlY3RfdG9fdXJsX2hv\nc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9ob3N0cy9i\ndGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:45:12.822606"], ["id", 11334]] 2016-12-02 13:45:12 80851c76 [sql] [D] (1.6ms) COMMIT 2016-12-02 13:45:13 80851c76 [app] [I] Started PUT "/hosts/bth-cde-test2.company.home/setBuild?auth_object=bth-cde-test2.company.home&permission=build_hosts" for 10.87.23.28 at 2016-12-02 13:45:13 +0000 2016-12-02 13:45:13 80851c76 [app] [I] Processing by HostsController#setBuild as HTML 2016-12-02 13:45:13 80851c76 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"327zFjCgkYIDvJyUfOSyTX06L8q8JQasi7KBBPapmcHr71MXo2vBXvnVjof8TBEIWLWQexthjwuoJZxqGypCpA==", "commit"=>"Build", "auth_object"=>"bth-cde-test2.company.home", "permission"=>"build_hosts", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:13 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.3ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:13 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:13 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:13 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:13 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:13 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:13 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:13 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:13 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:13 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:13 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:13 80851c76 [sql] [D] HostStatus::Status Load (0.2ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:13 80851c76 [sql] [D] Token Load (0.2ms) SELECT "tokens".* FROM "tokens" WHERE "tokens"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Hostgroup Load (0.3ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = $1 ORDER BY hostgroups.title LIMIT 1 [["id", 1]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 AND (salt_environment_id is not NULL) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 AND (subnet6_id is not NULL) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:13 80851c76 [sql] [D] Host::Base Exists (0.3ms) SELECT 1 AS one FROM "hosts" WHERE ("hosts"."name" = 'bth-cde-test2.company.home' AND "hosts"."id" != 9) LIMIT 1 2016-12-02 13:45:13 80851c76 [sql] [D] HostParameter Load (0.3ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('HostParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 9]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:13 80851c76 [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]] 2016-12-02 13:45:13 80851c76 [sql] [D] ForemanSalt::SaltModule Exists (0.3ms) SELECT 1 AS one FROM "salt_modules" INNER JOIN "host_salt_modules" ON "salt_modules"."id" = "host_salt_modules"."salt_module_id" WHERE "host_salt_modules"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:13 80851c76 [sql] [D] ForemanSalt::SaltEnvironment Load (0.2ms) SELECT "salt_environments".* FROM "salt_environments" WHERE "salt_environments"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:13 80851c76 [sql] [D] ForemanSalt::SaltModule Load (0.3ms) SELECT "salt_modules".* FROM "salt_modules" INNER JOIN "host_salt_modules" ON "salt_modules"."id" = "host_salt_modules"."salt_module_id" WHERE "host_salt_modules"."host_id" = $1 ORDER BY salt_modules.name [["host_id", 9]] 2016-12-02 13:45:13 80851c76 [sql] [D] ForemanSalt::SaltModule Load (0.3ms) SELECT "salt_modules".* FROM "salt_modules" INNER JOIN "salt_module_environments" ON "salt_modules"."id" = "salt_module_environments"."salt_module_id" WHERE "salt_module_environments"."salt_environment_id" = $1 ORDER BY salt_modules.name [["salt_environment_id", 5]] 2016-12-02 13:45:13 80851c76 [sql] [D] Queueing Realm 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Ptable Load (0.3ms) SELECT "templates".* FROM "templates" WHERE (templates.id IN (64,62,55,58,100,57,84,92,61,65,75,76,101,59,60,63,56,54)) AND "templates"."type" IN ('Ptable') AND "templates"."id" = $1 ORDER BY templates.name LIMIT 1 [["id", 101]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [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" = 2 [["taxable_type", "Template"]] 2016-12-02 13:45:13 80851c76 [sql] [D] Ptable Exists (0.3ms) SELECT 1 AS one FROM "templates" INNER JOIN "operatingsystems_ptables" ON "templates"."id" = "operatingsystems_ptables"."ptable_id" WHERE (templates.id IN (64,62,55,58,100,57,84,92,61,65,75,76,101,59,60,63,56,54)) AND "templates"."type" IN ('Ptable') AND "operatingsystems_ptables"."operatingsystem_id" = $1 AND "templates"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 101]] 2016-12-02 13:45:13 80851c76 [sql] [D] CACHE (0.1ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:13 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Medium Load (0.3ms) SELECT "media".* FROM "media" WHERE (media.id IN (10,11,9)) AND "media"."id" = $1 ORDER BY media.name LIMIT 1 [["id", 11]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Medium Exists (0.3ms) SELECT 1 AS one FROM "media" INNER JOIN "media_operatingsystems" ON "media"."id" = "media_operatingsystems"."medium_id" WHERE (media.id IN (10,11,9)) AND "media_operatingsystems"."operatingsystem_id" = $1 AND "media"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 11]] 2016-12-02 13:45:14 80851c76 [sql] [D] Architecture Load (0.2ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Architecture Exists (0.2ms) SELECT 1 AS one FROM "architectures" INNER JOIN "architectures_operatingsystems" ON "architectures"."id" = "architectures_operatingsystems"."architecture_id" WHERE "architectures_operatingsystems"."operatingsystem_id" = $1 AND "architectures"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", "t"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", true]] 2016-12-02 13:45:14 80851c76 [sql] [D] User Load (0.3ms) SELECT "users".* FROM "users" WHERE (users.id IN (5,6,3,4,1,2,5,3,4)) AND "users"."id" = $1 ORDER BY firstname LIMIT 1 [["id", 3]] 2016-12-02 13:45:14 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."virtual" = $1 AND "nics"."managed" = $2 AND "nics"."mac" = $3 [["virtual", "f"], ["managed", "t"], ["mac", "a2:be:48:d8:3f:31"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Exists (0.4ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Location"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Exists (0.3ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 AND "taxonomies"."id" = $4 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Location"], ["id", 2]] 2016-12-02 13:45:14 80851c76 [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", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Exists (0.3ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Organization"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Exists (0.3ms) SELECT 1 AS one FROM "taxonomies" INNER JOIN "taxable_taxonomies" ON "taxonomies"."id" = "taxable_taxonomies"."taxonomy_id" WHERE "taxable_taxonomies"."taxable_id" = $1 AND "taxable_taxonomies"."taxable_type" = $2 AND "taxonomies"."type" = $3 AND "taxonomies"."id" = $4 LIMIT 1 [["taxable_id", 1], ["taxable_type", "Subnet"], ["type", "Organization"], ["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Nic::Base Load (0.2ms) SELECT "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "172.18.102.9"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Nic::Base Load (0.2ms) SELECT "nics".* FROM "nics" WHERE "nics"."domain_id" = $1 AND "nics"."name" = $2 [["domain_id", 1], ["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.3ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.3ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "media".* FROM "media" WHERE (media.id IN (10,11,9)) AND "media"."id" = $1 ORDER BY media.name LIMIT 1 [["id", 11]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:14 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:14 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:14 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:14 80851c76 [sql] [D] Using host queue 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.3ms) DELETE FROM "fact_values" WHERE (host_id = 9) 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.2ms) DELETE FROM "reports" WHERE (host_id = 9) 2016-12-02 13:45:14 80851c76 [sql] [D] (0.4ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [I] Skipping TFTP PXEGrub2 configuration for bth-cde-test2.company.home 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [templates] [I] Rendering template 'company-companygroup - pxelinux' 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies".* FROM "taxonomies" WHERE 1=0 ORDER BY (case when taxonomies.ancestry is null then 0 else 1 end), taxonomies.ancestry 2016-12-02 13:45:14 80851c76 [sql] [D] OrganizationParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('OrganizationParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] CommonParameter Load (0.3ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('CommonParameter') ORDER BY parameters.name 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE 1=0 ORDER BY (case when taxonomies.ancestry is null then 0 else 1 end), taxonomies.ancestry 2016-12-02 13:45:14 80851c76 [sql] [D] LocationParameter Load (0.3ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('LocationParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 2]] 2016-12-02 13:45:14 80851c76 [sql] [D] DomainParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('DomainParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] SubnetParameter Load (0.3ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('SubnetParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] OsParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('OsParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 5]] 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Load (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Hostgroup Load (0.3ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = 2 ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:14 80851c76 [sql] [D] GroupParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('GroupParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 2]] 2016-12-02 13:45:14 80851c76 [sql] [D] GroupParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('GroupParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] HostParameter Load (0.2ms) SELECT "parameters".* FROM "parameters" WHERE "parameters"."type" IN ('HostParameter') AND "parameters"."reference_id" = $1 ORDER BY parameters.name [["reference_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" IN (2, 1) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry 2016-12-02 13:45:14 80851c76 [sql] [D] (0.3ms) 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"]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) 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", 1], ["host_type", "Hostgroup"]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) 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", 9], ["host_type", "Host::Base"]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT "config_group_classes"."puppetclass_id" FROM "config_group_classes" WHERE 1=0 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT "hostgroup_classes"."puppetclass_id" FROM "hostgroup_classes" WHERE "hostgroup_classes"."hostgroup_id" IN (2, 1) 2016-12-02 13:45:14 80851c76 [sql] [D] HostClass Load (0.1ms) SELECT "host_classes".* FROM "host_classes" WHERE "host_classes"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT puppetclasses.id FROM "puppetclasses" WHERE 1=0 2016-12-02 13:45:14 80851c76 [sql] [D] VariableLookupKey Load (0.4ms) SELECT "lookup_keys".* FROM "lookup_keys" INNER JOIN "lookup_values" ON "lookup_values"."lookup_key_id" = "lookup_keys"."id" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:14 80851c76 [sql] [D] LookupValue Load (0.3ms) SELECT "lookup_values".* FROM "lookup_values" WHERE 1=0 AND "lookup_values"."lookup_key_id" IN (SELECT "lookup_keys"."id" FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key) 2016-12-02 13:45:14 80851c76 [sql] [D] VariableLookupKey Load (0.2ms) SELECT "lookup_keys".* FROM "lookup_keys" WHERE "lookup_keys"."type" IN ('VariableLookupKey') AND 1=0 ORDER BY lookup_keys.key 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "features_smart_proxies" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features_smart_proxies"."smart_proxy_id" = $1 [["smart_proxy_id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [I] Deploying TFTP PXELinux configuration for bth-cde-test2.company.home 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [I] Skipping TFTP PXEGrub configuration for bth-cde-test2.company.home 2016-12-02 13:45:14 80851c76 [sql] [I] Fetching required TFTP boot files for bth-cde-test2.company.home 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Medium"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Medium Exists (0.2ms) SELECT 1 AS one FROM "media" INNER JOIN "media_operatingsystems" ON "media"."id" = "media_operatingsystems"."medium_id" WHERE (media.id IN (10,11,9)) AND "media_operatingsystems"."operatingsystem_id" = $1 AND "media"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 11]] 2016-12-02 13:45:14 80851c76 [sql] [D] Architecture Exists (0.2ms) SELECT 1 AS one FROM "architectures" INNER JOIN "architectures_operatingsystems" ON "architectures"."id" = "architectures_operatingsystems"."architecture_id" WHERE "architectures_operatingsystems"."operatingsystem_id" = $1 AND "architectures"."id" = $2 LIMIT 1 [["operatingsystem_id", 5], ["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."location_id" = 2 AND "hosts"."type" IN ('Host::Managed') AND "hosts"."id" = $1 LIMIT 1 [["id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.7ms) SELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = $1 AND "audits"."auditable_type" = $2 [["auditable_id", 9], ["auditable_type", "Host"]] 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.4ms) INSERT INTO "audits" ("action", "audited_changes", "auditable_id", "auditable_type", "user_id", "username", "auditable_name", "created_at", "version", "request_uuid", "remote_address") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id" [["action", "update"], ["audited_changes", "---\nbuild:\n- false\n- true\n"], ["auditable_id", 9], ["auditable_type", "Host"], ["user_id", 5], ["username", "Maurice Mouw"], ["auditable_name", "bth-cde-test2.company.home"], ["created_at", "2016-12-02 13:45:14.397283"], ["version", 56], ["request_uuid", "21236c7a-3b88-4e22-b744-741ca89774e3"], ["remote_address", "10.87.23.28"]] 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.6ms) UPDATE "hosts" SET "build" = $1, "updated_at" = $2 WHERE "hosts"."id" = $3 [["build", "t"], ["updated_at", "2016-12-02 13:45:14.360989"], ["id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.5ms) INSERT INTO "tokens" ("value", "expires", "host_id") VALUES ($1, $2, $3) RETURNING "id" [["value", "6222b0bb-a65f-484a-bf07-3d6b4ba695e7"], ["expires", "2016-12-02 19:45:13.981043"], ["host_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] (1.4ms) COMMIT 2016-12-02 13:45:14 80851c76 [sql] [D] custom hook after_build on bth-cde-test2.company.home will be executed if defined. 2016-12-02 13:45:14 80851c76 [app] [I] Redirected to https://mgtforeman.company.home/hosts/bth-cde-test2.company.home 2016-12-02 13:45:14 80851c76 [app] [I] Completed 302 Found in 504ms (ActiveRecord: 36.9ms) 2016-12-02 13:45:14 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.2ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf5iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsASSIMZmxhc2hlcwY7AFR7BkkiC25vdGljZQY7AEZJ\nIj1FbmFibGVkIGJ0aC1jZGUtdGVzdDIuaGl0dC5ob21lIGZvciByZWJ1aWxk\nIG9uIG5leHQgYm9vdAY7AFRJIhpyZWRpcmVjdF90b191cmxfaG9zdHMGOwBU\nIj9odHRwczovL21ndGZvcmVtYW4uaGl0dC5ob21lL2hvc3RzL2J0aC1jZGUt\ndGVzdDIuaGl0dC5ob21l\n"], ["updated_at", "2016-12-02 13:45:14.414341"], ["id", 11334]] 2016-12-02 13:45:14 80851c76 [sql] [D] (1.1ms) COMMIT 2016-12-02 13:45:14 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home" for 10.87.23.28 at 2016-12-02 13:45:14 +0000 2016-12-02 13:45:14 80851c76 [app] [I] Processing by HostsController#show as HTML 2016-12-02 13:45:14 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:14 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.3ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:14 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:14 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:14 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:14 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:14 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:14 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:14 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:14 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] Host::Managed Load (0.5ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:14 80851c76 [sql] [D] ConfigReport Load (0.2ms) SELECT "reports"."status" FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:45:14.560248') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.3ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:14 80851c76 [sql] [D] Subnet Load (0.3ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "features_smart_proxies" ON "features"."id" = "features_smart_proxies"."feature_id" WHERE "features_smart_proxies"."smart_proxy_id" = $1 [["smart_proxy_id", 1]] 2016-12-02 13:45:14 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] FactValue Exists (0.2ms) SELECT 1 AS one FROM "fact_values" WHERE "fact_values"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:14 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:14 80851c76 [sql] [D] (0.4ms) SELECT COUNT(*) 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 (smart_proxies.id IN (1)) AND "features"."name" = 'Puppet' 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:14 80851c76 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 AND "nics"."type" = $2 ORDER BY "nics"."identifier" ASC LIMIT 1 [["host_id", 9], ["type", "Nic::BMC"]] 2016-12-02 13:45:14 80851c76 [app] [I] Rendered hosts/show.html.erb within layouts/application (45.1ms) 2016-12-02 13:45:14 80851c76 [app] [I] Rendered layouts/_application_content.html.erb (0.4ms) 2016-12-02 13:45:14 80851c76 [app] [I] Rendered home/_user_dropdown.html.erb (2.3ms) 2016-12-02 13:45:14 80851c76 [app] [I] Read fragment views/tabs_and_title_records-5 (0.1ms) 2016-12-02 13:45:14 80851c76 [app] [I] Rendered home/_topbar.html.erb (7.1ms) 2016-12-02 13:45:14 80851c76 [app] [I] Rendered layouts/base.html.erb (9.1ms) 2016-12-02 13:45:14 80851c76 [app] [I] Completed 200 OK in 75ms (Views: 52.7ms | ActiveRecord: 5.9ms) 2016-12-02 13:45:14 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:14 80851c76 [sql] [D] SQL (0.2ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DUkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf6iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZA\nFkkiPUVuYWJsZWQgYnRoLWNkZS10ZXN0Mi5oaXR0LmhvbWUgZm9yIHJlYnVp\nbGQgb24gbmV4dCBib290BjsAVA==\n"], ["updated_at", "2016-12-02 13:45:14.619873"], ["id", 11334]] 2016-12-02 13:45:14 80851c76 [sql] [D] (1.2ms) COMMIT 2016-12-02 13:45:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/overview" for 10.87.23.28 at 2016-12-02 13:45:15 +0000 2016-12-02 13:45:15 80851c76 [app] [I] Processing by HostsController#overview as HTML 2016-12-02 13:45:15 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.4ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:15 80851c76 [sql] [D] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:15 80851c76 [sql] [D] (0.4ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] Host::Managed Load (0.2ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:15 80851c76 [sql] [D] HostStatus::Status Load (0.3ms) SELECT "host_status".* FROM "host_status" WHERE "host_status"."host_id" = $1 [["host_id", 9]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [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" = 2 [["taxable_type", "SmartProxy"]] 2016-12-02 13:45:15 80851c76 [sql] [D] SmartProxy Load (0.2ms) SELECT "smart_proxies".* FROM "smart_proxies" WHERE (smart_proxies.id IN (1)) AND "smart_proxies"."id" = $1 ORDER BY smart_proxies.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:15 80851c76 [sql] [D] ConfigReport Load (0.3ms) 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", 9]] 2016-12-02 13:45:15 80851c76 [sql] [D] Token Load (0.2ms) SELECT "tokens".* FROM "tokens" WHERE "tokens"."host_id" = $1 LIMIT 1 [["host_id", 9]] 2016-12-02 13:45:15 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:15 80851c76 [sql] [D] Domain Load (0.2ms) SELECT "domains".* FROM "domains" WHERE (domains.id IN (1)) AND "domains"."id" = $1 ORDER BY domains.name LIMIT 1 [["id", 1]] 2016-12-02 13:45:15 80851c76 [sql] [D] Architecture Load (0.3ms) SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:15 80851c76 [sql] [D] Operatingsystem Load (0.3ms) SELECT "operatingsystems".* FROM "operatingsystems" WHERE "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [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" = 2 [["taxable_type", "Hostgroup"]] 2016-12-02 13:45:15 80851c76 [sql] [D] Hostgroup Load (0.4ms) SELECT "hostgroups".* FROM "hostgroups" WHERE (hostgroups.id IN (1,2)) AND "hostgroups"."id" = $1 ORDER BY hostgroups.title LIMIT 1 [["id", 1]] 2016-12-02 13:45:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/templates" for 10.87.23.28 at 2016-12-02 13:45:15 +0000 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:15 80851c76 [sql] [D] Organization Load (0.4ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 1]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", "t"]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [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" = 2 [["taxable_type", "User"]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "users"."id" FROM "users" WHERE "users"."admin" = $1 [["admin", true]] 2016-12-02 13:45:15 80851c76 [sql] [D] User Load (0.4ms) SELECT "users".* FROM "users" WHERE (users.id IN (5,6,3,4,1,2,5,3,4)) AND "users"."id" = $1 ORDER BY firstname LIMIT 1 [["id", 3]] 2016-12-02 13:45:15 80851c76 [sql] [D] ForemanSalt::SaltEnvironment Load (0.2ms) SELECT "salt_environments".* FROM "salt_environments" WHERE "salt_environments"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [app] [I] Rendered hosts/_overview.html.erb (57.1ms) 2016-12-02 13:45:15 80851c76 [app] [I] Completed 200 OK in 78ms (Views: 55.4ms | ActiveRecord: 7.1ms) 2016-12-02 13:45:15 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:15 80851c76 [sql] [D] SQL (0.2ms) UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3 [["data", "BAh7DkkiCXVzZXIGOgZFRmkKSSIPZXhwaXJlc19hdAY7AEZsKwf7iEFYSSIL\nbG9jYWxlBjsARiIHZW5JIhBfY3NyZl90b2tlbgY7AEZJIjFOSUdnQVpQTFVO\nejZhUklUZ0tpalJTV1B2N0duUkltbkk1Y2RidTJEMjJVPQY7AEZJIiJyZWRp\ncmVjdF90b191cmxfb3JnYW5pemF0aW9ucwY7AFQiL2h0dHBzOi8vbWd0Zm9y\nZW1hbi5oaXR0LmhvbWUvb3JnYW5pemF0aW9uc0kiEGxvY2F0aW9uX2lkBjsA\nRmkHSSIecmVkaXJlY3RfdG9fdXJsX2xvY2F0aW9ucwY7AFQiK2h0dHBzOi8v\nbWd0Zm9yZW1hbi5oaXR0LmhvbWUvbG9jYXRpb25zSSIKZmxhc2gGOwBUewdJ\nIgxkaXNjYXJkBjsAVFsGSSILbm90aWNlBjsARkkiDGZsYXNoZXMGOwBUewZJ\nIgtub3RpY2UGOwBGSSI9RW5hYmxlZCBidGgtY2RlLXRlc3QyLmhpdHQuaG9t\nZSBmb3IgcmVidWlsZCBvbiBuZXh0IGJvb3QGOwBUSSIacmVkaXJlY3RfdG9f\ndXJsX2hvc3RzBjsAVCI/aHR0cHM6Ly9tZ3Rmb3JlbWFuLmhpdHQuaG9tZS9o\nb3N0cy9idGgtY2RlLXRlc3QyLmhpdHQuaG9tZQ==\n"], ["updated_at", "2016-12-02 13:45:15.141663"], ["id", 11334]] 2016-12-02 13:45:15 80851c76 [sql] [D] (1.1ms) COMMIT 2016-12-02 13:45:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/runtime?range=7" for 10.87.23.28 at 2016-12-02 13:45:15 +0000 2016-12-02 13:45:15 80851c76 [app] [I] Processing by HostsController#runtime as HTML 2016-12-02 13:45:15 80851c76 [app] [I] Parameters: {"range"=>"7", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (0.4ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:15 80851c76 [sql] [D] User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:15 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/nics" for 10.87.23.28 at 2016-12-02 13:45:15 +0000 2016-12-02 13:45:15 80851c76 [sql] [D] AuthSource Load (0.4ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:15 80851c76 [sql] [D] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:15 80851c76 [app] [I] Processing by HostsController#nics as HTML 2016-12-02 13:45:15 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:15 80851c76 [app] [I] Started GET "/hosts/bth-cde-test2.company.home/resources?range=7" for 10.87.23.28 at 2016-12-02 13:45:15 +0000 2016-12-02 13:45:15 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] Host::Managed Load (0.2ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:15 80851c76 [app] [I] Processing by HostsController#resources as HTML 2016-12-02 13:45:15 80851c76 [app] [I] Parameters: {"range"=>"7", "id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (6.4ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:15 80851c76 [sql] [D] ActiveRecord::SessionStore::Session Load (1.9ms) SELECT "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 [["session_id", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:15 80851c76 [sql] [D] ConfigReport Load (0.4ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:45:15.180383') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:45:15 80851c76 [sql] [D] User Load (1.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [app] [I] Rendered hosts/_runtime.html.erb (4.1ms) 2016-12-02 13:45:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:15 80851c76 [app] [I] Completed 200 OK in 25ms (Views: 6.4ms | ActiveRecord: 4.0ms) 2016-12-02 13:45:15 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:15 80851c76 [sql] [D] (0.1ms) COMMIT 2016-12-02 13:45:15 80851c76 [sql] [D] User Load (2.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:15 80851c76 [sql] [D] (1.0ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:15 80851c76 [sql] [D] (0.3ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:15 80851c76 [sql] [D] Location Load (0.3ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:15 80851c76 [sql] [D] (10.6ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:15 80851c76 [sql] [D] Nic::Base Load (0.3ms) SELECT "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC [["host_id", 9]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] (2.8ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:15 80851c76 [sql] [D] AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] Taxonomy Load (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] Host::Managed Load (0.4ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:15 80851c76 [sql] [D] (15.2ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [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" = 2 [["taxable_type", "Domain"]] 2016-12-02 13:45:15 80851c76 [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]] 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] ConfigReport Load (0.3ms) SELECT "reports".* FROM "reports" WHERE "reports"."type" IN ('ConfigReport') AND "reports"."host_id" = $1 AND (reported_at > '2016-11-25 13:45:15.215654') ORDER BY "reports"."reported_at" ASC [["host_id", 9]] 2016-12-02 13:45:15 80851c76 [app] [I] Rendered hosts/_resources.html.erb (10.7ms) 2016-12-02 13:45:15 80851c76 [app] [I] Completed 200 OK in 47ms (Views: 13.1ms | ActiveRecord: 19.6ms) 2016-12-02 13:45:15 80851c76 [sql] [D] (2.9ms) SELECT DISTINCT "taxable_taxonomies"."taxable_id" FROM "taxable_taxonomies" WHERE "taxable_taxonomies"."taxable_type" = $1 AND "taxable_taxonomies"."taxonomy_id" = 2 [["taxable_type", "Subnet"]] 2016-12-02 13:45:15 80851c76 [sql] [D] (1.5ms) BEGIN 2016-12-02 13:45:15 80851c76 [sql] [D] Subnet Load (1.2ms) SELECT "subnets".* FROM "subnets" WHERE (subnets.id IN (1)) AND "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] 2016-12-02 13:45:15 80851c76 [app] [I] Rendered hosts/_nics.html.erb (32.4ms) 2016-12-02 13:45:15 80851c76 [app] [I] Completed 200 OK in 58ms (Views: 13.0ms | ActiveRecord: 31.0ms) 2016-12-02 13:45:15 80851c76 [sql] [D] (2.1ms) COMMIT 2016-12-02 13:45:15 80851c76 [sql] [D] (0.8ms) BEGIN 2016-12-02 13:45:15 80851c76 [sql] [D] (0.1ms) COMMIT 2016-12-02 13:45:15 80851c76 [app] [I] Processing by HostsController#templates as HTML 2016-12-02 13:45:15 80851c76 [app] [I] Parameters: {"id"=>"bth-cde-test2.company.home"} 2016-12-02 13:45:15 80851c76 [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", "80851c76109d84eb4c88b034e7d998da"]] 2016-12-02 13:45:15 80851c76 [sql] [D] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" 2016-12-02 13:45:15 80851c76 [sql] [D] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current user thread-local variable to mouw 2016-12-02 13:45:15 80851c76 [sql] [D] (0.4ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') 2016-12-02 13:45:15 80851c76 [app] [D] Setting current organization thread-local variable to none 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') 2016-12-02 13:45:15 80851c76 [sql] [D] Location Load (0.2ms) SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') AND "taxonomies"."id" = $1 ORDER BY "taxonomies"."title" ASC LIMIT 1 [["id", 2]] 2016-12-02 13:45:15 80851c76 [app] [D] Setting current location thread-local variable to location 2016-12-02 13:45:15 80851c76 [sql] [D] AuthSource Load (0.4ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 [["id", 3]] 2016-12-02 13:45:15 80851c76 [sql] [D] (0.3ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] (0.2ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] Taxonomy Load (0.4ms) SELECT "taxonomies"."id" FROM "taxonomies" WHERE (taxonomies.id = 2 or taxonomies.ancestry like '2/%' or taxonomies.ancestry = '2') ORDER BY "taxonomies"."title" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] Host::Managed Load (0.9ms) SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."location_id" = 2 AND "hosts"."name" = $1 ORDER BY "hosts"."id" ASC LIMIT 1 [["name", "bth-cde-test2.company.home"]] 2016-12-02 13:45:15 80851c76 [sql] [D] TemplateKind Load (0.6ms) SELECT "template_kinds".* FROM "template_kinds" ORDER BY "template_kinds"."name" ASC 2016-12-02 13:45:15 80851c76 [sql] [D] (0.4ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.6ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.2ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'Bootdisk' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'finish' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'iPXE' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'kexec' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'POAP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.1ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'provision' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXEGrub2' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'PXELinux' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'script' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.8ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'user_data' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] CACHE (0.0ms) SELECT templates.id FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (0.9ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "template_combinations" ON "template_combinations"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "template_combinations"."hostgroup_id" = 1 AND "template_combinations"."environment_id" IS NULL ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] ProvisioningTemplate Load (1.0ms) SELECT "templates".* FROM "templates" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems_provisioning_templates"."provisioning_template_id" = "templates"."id" INNER JOIN "operatingsystems" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" INNER JOIN "template_kinds" ON "template_kinds"."id" = "templates"."template_kind_id" INNER JOIN "os_default_templates" ON "os_default_templates"."provisioning_template_id" = "templates"."id" WHERE "templates"."type" IN ('ProvisioningTemplate') AND (templates.id IN (3,5,6,7,8,9,21,2,4,10,14,16,20,12,13,17,18,19,22,23,24,25,27,28,29,30,33,36,37,38,32,35,39,40,41,42,45,47,77,78,44,46,49,79,51,53,66,67,69,70,71,72,73,74,80,81,82,83,84,85,86,87,88,91,89,90,68,95,96,97,98,99,104,105,106,100,102,1,11,15,26,107,108,31,34,43,48,50,109,52,110,111,112,113,114,93,94)) AND "operatingsystems"."id" = 5 AND "template_kinds"."name" = 'ZTP' AND "os_default_templates"."operatingsystem_id" = 5 ORDER BY templates.name LIMIT 1 2016-12-02 13:45:15 80851c76 [sql] [D] TemplateKind Load (0.2ms) SELECT "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1 [["id", 4]] 2016-12-02 13:45:15 80851c76 [sql] [D] TemplateKind Load (0.4ms) SELECT "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1 [["id", 1]] 2016-12-02 13:45:15 80851c76 [app] [I] Rendered hosts/_templates.html.erb (36.6ms) 2016-12-02 13:45:15 80851c76 [app] [I] Completed 200 OK in 395ms (Views: 43.5ms | ActiveRecord: 39.9ms) 2016-12-02 13:45:15 80851c76 [sql] [D] (0.1ms) BEGIN 2016-12-02 13:45:15 80851c76 [sql] [D] (0.1ms) COMMIT