Project

General

Profile

Bug #8827 » ProductionAPI.log

Log entry for failing to create Windows host via API - Benjamin Roberts, 01/13/2015 05:27 PM

 
Started POST "/api/hosts" for 10.10.24.85 at 2015-01-14 09:13:36 +1100
Processing by Api::V2::HostsController#create as JSON
Parameters: {"host"=>{"provision_method"=>"image", "name"=>"vm-3", "image_id"=>13, "compute_resource_id"=>3, "hostgroup_id"=>5, "root_pass"=>"[FILTERED]", "compute_attributes"=>{"memory"=>"2147483648", "volumes_attributes"=>{"new_volum
es"=>{"size_gb"=>"", "preallocate"=>"0", "_delete"=>"", "id"=>"", "storage_domain"=>"9f81eeca-c537-45d9-a315-cc40450802aa"}, "new_1421018766999"=>{"_delete"=>"", "bootable"=>"true", "id"=>"7", "storage_domain"=>"9f81eeca-c537-45d9-a315-c
c40450802aa", "size_gb"=>"80", "preallocate"=>"0"}}, "template"=>"6b0fcbb8-beb5-4776-af52-49aa88054fc3", "interfaces_attributes"=>{"new_interfaces"=>{"network"=>"d69cfc29-e009-43ba-841d-42f9ab7a9fc7", "name"=>"", "_delete"=>""}, "new_142
1018766988"=>{"network"=>"cbbda965-a5dd-41b2-9351-9ae3c601daee", "name"=>"nic1", "_delete"=>""}}, "cores"=>"1", "cluster"=>"3127ca60-d2da-47c1-b361-7daeef172d59"}}, "apiv"=>"v2"}
Expire fragment views/tabs_and_title_records-5 (0.2ms)
Authorized user opsnet(opsnet)
Unprocessable entity Host::Managed (id: new):
IP address is invalid

Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (1.0ms)
Completed 422 Unprocessable Entity in 97ms (Views: 11.5ms | ActiveRecord: 24.8ms)
(4-4/4)