Project

General

Profile

Actions

Bug #1340

closed

can't remove host due to dhcp issue

Added by Corey Osman over 12 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Unable to save
DHCP Settings for puppetdemo1.demo.corp task failed with the following error: 400 Bad Request

I am unable to remove the host or change the IP because foreman cannot remove the reservation from the dhcp server.


Processing HostsController#update (for 192.0.248.104 at 2011-11-17 19:52:12) [PUT]
  Parameters: {"commit"=>"Submit", "action"=>"update", "_method"=>"put", "authenticity_token"=>"/L+9rIwt9kTkNHUXd6uhltKCWPbjEOvLxMC3sMStH24=", "id"=>"puppetdemo1.demo.corp", "controller"=>"hosts", "host"=>{"comment"=>"", "architecture_id"=>"1", "subnet_id"=>"", "managed"=>"1", "puppetproxy_id"=>"3", "name"=>"puppetdemo1", "sp_mac"=>"", "puppetmaster_name"=>"puppetprod1.demo.corp", "sp_name"=>"", "mac"=>"00:50:56:bb:03:5e", "domain_id"=>"1", "enabled"=>"1", "root_pass"=>"[FILTERED]", "medium_id"=>"6", "hostgroup_id"=>"5", "is_owned_by"=>"2-Users", "ptable_id"=>"1", "sp_subnet_id"=>"", "ip"=>"10.20.0.198", "environment_id"=>"1", "model_id"=>"", "disk"=>"", "sp_ip"=>"", "puppetclass_ids"=>[""], "operatingsystem_id"=>"11"}}
Delete DHCP reservation for puppetdemo1.demo.corp-00:50:56:bb:03:5e/192.0.19.198
DHCP Settings for puppetdemo1.demo.corp task failed with the following error: 400 Bad Request
Rolling back due to a problem: DHCP Settings for puppetdemo1.demo.corp     5     failed     puppetdemo1.demo.corpdel_dhcp
Failed to save: DHCP Settings for puppetdemo1.demo.corp task failed with the following error: 400 Bad Request
Rendering template within layouts/application
Rendering hosts/edit
Completed in 3601ms (View: 348, DB: 14) | 200 OK [https://foreman/hosts/puppetdemo1.demo.corp]

Actions

Also available in: Atom PDF