Actions
Bug #19628
closedTrying to provision discovered host leads to "Host not found"
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Description
Foreman v1.15.0, Discovery plugin is v9.0.0
Choosing to provision a discovered host with the 'Create Host' fails upon submitting, instead just reporting a "Host not found" error.
Instead choosing to 'Quick Create' the host works fine, and the data can be updated afterwards.
2017-05-23T10:43:08 f9d09593 [app] [I] Started PATCH "/hosts/193061" for 10.1.130.2 at 2017-05-23 10:43:08 +0000 2017-05-23T10:43:08 f9d09593 [app] [I] Processing by HostsController#update as */* 2017-05-23T10:43:08 f9d09593 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"M8I5aLZFLlD+LTGf5Wpyhebl8u8rjX2tdfnnDWHMbepmL/LzrYyEWjvYFkbSrHBV2f/VYBmEhSkeW6eKRtiwIQ==", "host"=>{"name"=>"mac002481e10627", "hostgroup_id"=>"12", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"00:24:81:e1:06:26", "identifier"=>"enp5s0f0", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "subnet6_id"=>"", "ip"=>"", "ip6"=>"", "managed"=>"0", "primary"=>"0", "provision"=>"0", "execution"=>"0", "tag"=>"", "attached_to"=>"", "id"=>"311740"}, "1"=>{"_destroy"=>"0", "mac"=>"00:24:81:e1:06:27", "identifier"=>"enp5s0f1", "name"=>"mac002481e10627", "domain_id"=>"", "subnet_id"=>"1", "subnet6_id"=>"", "ip"=>"10.2.10.17", "ip6"=>"2001:6b0:17:f080:cafe:beef:fee1:627", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "tag"=>"", "attached_to"=>"", "id"=>"311739"}, "2"=>{"_destroy"=>"0", "mac"=>"00:24:81:e1:06:25", "identifier"=>"ipmi", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "subnet6_id"=>"", "ip"=>"172.31.0.222", "ip6"=>"", "managed"=>"0", "primary"=>"0", "provision"=>"0", "execution"=>"0", "username"=>"", "provider"=>"IPMI", "id"=>"311741"}}, "architecture_id"=>"1", "operatingsystem_id"=>"21", "build"=>"0", "medium_id"=>"1", "ptable_id"=>"71", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "is_owned_by"=>"2-Users", "enabled"=>"1", "model_id"=>"13", "comment"=>"", "overwrite"=>"false"}, "discovered_host"=>{"puppetclass_ids"=>[""]}, "fakepassword"=>"[FILTERED]", "bare_metal_capabilities"=>"build", "id"=>"193061"} 2017-05-23T10:43:08 f9d09593 [app] [I] Current user: ace (administrator) 2017-05-23T10:43:08 f9d09593 [app] [I] Rendered common/404.html.erb within layouts/application (8.0ms) 2017-05-23T10:43:08 f9d09593 [app] [I] Rendered layouts/_application_content.html.erb (1.0ms) 2017-05-23T10:43:08 f9d09593 [app] [I] Rendered layouts/base.html.erb (5.9ms) 2017-05-23T10:43:08 f9d09593 [app] [I] Completed 404 Not Found in 56ms (Views: 21.0ms | ActiveRecord: 3.6ms)
Updated by Dominic Cleal over 7 years ago
- Project changed from Foreman to Discovery
Updated by Tomer Brisker over 7 years ago
- Is duplicate of Bug #19414: Discovery host form errors out with Please try to update your request added
Actions