Project

General

Profile

Bug #4173 » production.log

Frank Wall, 01/23/2014 08:34 PM

 

Started GET "/unattended/built?token=0173a870-053f-4eac-af15-74c096c78960" for 89.163.185.83 at 2014-01-23 18:38:29 +0100
Processing by UnattendedController#built as */*
Parameters: {"token"=>"0173a870-053f-4eac-af15-74c096c78960"}
Host::Managed Load (1.4ms) SELECT hosts.* FROM `hosts` INNER JOIN `tokens` ON `tokens`.`host_id` = `hosts`.`id` WHERE `hosts`.`type` IN ('Host::Managed') AND `tokens`.`value` = '0173a870-053f-4eac-af15-74c096c78960' AND (expires >= '2014-01-23 17:38:29') LIMIT 1
Operatingsystem Load (0.4ms) SELECT `operatingsystems`.* FROM `operatingsystems` WHERE `operatingsystems`.`id` = 9 ORDER BY operatingsystems.name LIMIT 1
Found testhost001.install.example.com
User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`login` = 'admin' LIMIT 1
Setting current user thread-local variable to admin
unattended: testhost001.install.example.com is Built!
Setting Load (1.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'update_ip_from_built_request' ORDER BY name LIMIT 1
 (0.4ms) BEGIN
Subnet Load (0.4ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY vlanid LIMIT 1
Domain Load (0.3ms) SELECT `domains`.* FROM `domains` WHERE `domains`.`id` = 5 ORDER BY domains.name LIMIT 1
LookupValue Load (0.5ms) SELECT `lookup_values`.* FROM `lookup_values` WHERE `lookup_values`.`match` = 'fqdn=testhost001.install.example.com'
Host::Base Exists (0.5ms) SELECT 1 AS one FROM `hosts` WHERE (`hosts`.`name` = BINARY 'testhost001.install.example.com' AND `hosts`.`id` != 28) LIMIT 1
SmartProxy Load (0.3ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY smart_proxies.name LIMIT 1
ComputeResource Load (0.3ms) SELECT `compute_resources`.* FROM `compute_resources` WHERE `compute_resources`.`id` = 2 ORDER BY compute_resources.name LIMIT 1
Host::Managed Exists (0.6ms) SELECT 1 AS one FROM `hosts` WHERE `hosts`.`type` IN ('Host::Managed') AND (`hosts`.`ip` = BINARY '172.16.99.105' AND `hosts`.`id` != 28) LIMIT 1
CACHE (0.0ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY vlanid LIMIT 1
 (0.5ms) ROLLBACK
Failed to set Build on testhost001.install.example.com: undefined method `symbolize_keys' for nil:NilClass
Completed 409 Conflict in 192.7ms (ActiveRecord: 8.6ms)




Started GET "/hosts/testhost001.install.example.com/cancelBuild" for 88.128.80.7 at 2014-01-23 18:39:01 +0100
Processing by HostsController#cancelBuild as HTML
Parameters: {"id"=>"testhost001.install.example.com"}
User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
Setting current user thread-local variable to admin
 (0.3ms) SELECT COUNT(*) FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Organization')
Setting current organization thread-local variable to none
 (0.7ms) SELECT COUNT(*) FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Location')
Setting current location thread-local variable to none
SQL (0.4ms) SELECT id FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Location') LIMIT 1
SQL (0.4ms) SELECT id FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Organization') LIMIT 1
Host::Base Load (0.6ms) SELECT `hosts`.* FROM `hosts` WHERE `hosts`.`name` = 'testhost001.install.example.com' LIMIT 1
 (0.7ms) BEGIN
Subnet Load (0.8ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY vlanid LIMIT 1
Domain Load (0.7ms) SELECT `domains`.* FROM `domains` WHERE `domains`.`id` = 5 ORDER BY domains.name LIMIT 1
LookupValue Load (0.6ms) SELECT `lookup_values`.* FROM `lookup_values` WHERE `lookup_values`.`match` = 'fqdn=testhost001.install.example.com'
Host::Base Exists (0.4ms) SELECT 1 AS one FROM `hosts` WHERE (`hosts`.`name` = BINARY 'testhost001.install.example.com' AND `hosts`.`id` != 28) LIMIT 1
SmartProxy Load (0.6ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY smart_proxies.name LIMIT 1
ComputeResource Load (0.5ms) SELECT `compute_resources`.* FROM `compute_resources` WHERE `compute_resources`.`id` = 2 ORDER BY compute_resources.name LIMIT 1
Host::Managed Exists (0.4ms) SELECT 1 AS one FROM `hosts` WHERE `hosts`.`type` IN ('Host::Managed') AND (`hosts`.`ip` = BINARY '172.16.99.105' AND `hosts`.`id` != 28) LIMIT 1
CACHE (0.0ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY vlanid LIMIT 1
Operatingsystem Load (0.4ms) SELECT `operatingsystems`.* FROM `operatingsystems` WHERE `operatingsystems`.`id` = 9 ORDER BY operatingsystems.name LIMIT 1
 (0.4ms) ROLLBACK
Failed to set Build on testhost001.install.example.com: undefined method `symbolize_keys' for nil:NilClass
Failed to save:
Redirected to https://fw.example.com/hosts/new
Completed 302 Found in 81.2ms (ActiveRecord: 8.7ms)




Started GET "/hosts/testhost001.install.example.com/cancelBuild" for 88.128.80.7 at 2014-01-23 18:39:04 +0100
Processing by HostsController#cancelBuild as HTML
Parameters: {"id"=>"testhost001.install.example.com"}
User Load (1.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 LIMIT 1
Setting current user thread-local variable to admin
 (14.1ms) SELECT COUNT(*) FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Organization')
Setting current organization thread-local variable to none
 (1.2ms) SELECT COUNT(*) FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Location')
Setting current location thread-local variable to none
SQL (3.8ms) SELECT id FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Location') LIMIT 1
SQL (1.2ms) SELECT id FROM `taxonomies` WHERE `taxonomies`.`type` IN ('Organization') LIMIT 1
Host::Base Load (0.9ms) SELECT `hosts`.* FROM `hosts` WHERE `hosts`.`name` = 'testhost001.install.example.com' LIMIT 1
 (1.0ms) BEGIN
Subnet Load (1.8ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY vlanid LIMIT 1
Domain Load (1.6ms) SELECT `domains`.* FROM `domains` WHERE `domains`.`id` = 5 ORDER BY domains.name LIMIT 1
LookupValue Load (3.8ms) SELECT `lookup_values`.* FROM `lookup_values` WHERE `lookup_values`.`match` = 'fqdn=testhost001.install.example.com'
Host::Base Exists (3.1ms) SELECT 1 AS one FROM `hosts` WHERE (`hosts`.`name` = BINARY 'testhost001.install.example.com' AND `hosts`.`id` != 28) LIMIT 1
SmartProxy Load (0.9ms) SELECT `smart_proxies`.* FROM `smart_proxies` WHERE `smart_proxies`.`id` = 2 ORDER BY smart_proxies.name LIMIT 1
ComputeResource Load (1.4ms) SELECT `compute_resources`.* FROM `compute_resources` WHERE `compute_resources`.`id` = 2 ORDER BY compute_resources.name LIMIT 1
Host::Managed Exists (8.8ms) SELECT 1 AS one FROM `hosts` WHERE `hosts`.`type` IN ('Host::Managed') AND (`hosts`.`ip` = BINARY '172.16.99.105' AND `hosts`.`id` != 28) LIMIT 1
CACHE (0.0ms) SELECT `subnets`.* FROM `subnets` WHERE `subnets`.`id` = 2 ORDER BY vlanid LIMIT 1
Operatingsystem Load (4.1ms) SELECT `operatingsystems`.* FROM `operatingsystems` WHERE `operatingsystems`.`id` = 9 ORDER BY operatingsystems.name LIMIT 1
 (0.6ms) ROLLBACK
Failed to set Build on testhost001.install.example.com: undefined method `symbolize_keys' for nil:NilClass
Failed to save:
Redirected to https://fw.example.com/hosts/new
Completed 302 Found in 247.1ms (ActiveRecord: 49.8ms)

(1-1/2)