Project

General

Profile

Actions

Bug #19628

closed

Trying to provision discovered host leads to "Host not found"

Added by Alexander Olofsson almost 7 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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)

Related issues 1 (0 open1 closed)

Is duplicate of Discovery - Bug #19414: Discovery host form errors out with Please try to update your requestClosedTomer Brisker04/27/2017Actions
Actions #1

Updated by Dominic Cleal almost 7 years ago

  • Project changed from Foreman to Discovery
Actions #2

Updated by Tomer Brisker almost 7 years ago

  • Is duplicate of Bug #19414: Discovery host form errors out with Please try to update your request added
Actions #3

Updated by Tomer Brisker almost 7 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF