Project

General

Profile

Actions

Bug #12013

closed

Cannot provision host because MAC address is supposedly taken

Added by Simon Wydooghe about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I cannot provision a new virtual host because the MAC address is taken supposedly. I've provided two screenshots.
The first one show's the error. The second shows a search I did for that specific MAC address which turned out
empty. So I have no idea where Foreman is getting the information that this MAC exists somewhere.

The log file shows this:

2015-09-30T16:22:25 [app] [I] Started PUT "/discovered_hosts/mac525400e862b9" for 10.30.6.143 at 2015-09-30 16:22:25 +0200
2015-09-30T16:22:25 [app] [I] Processing by DiscoveredHostsController#update as */*
2015-09-30T16:22:25 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"L9Dovkmtyzt5qUEq0H7WEw78UnIpmWUK6d33qQOzhqg=", "host"=>{"name"=>"vidyo1", "hostgroup_id"=>"10", "environment_id"=>"1", "puppet_ca_proxy_id"=>"1", "puppet_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"52:54:00:e8:62:b9", "iden2015-09-30T16:22:25 [app] [I] Started PUT "/discovered_hosts/mac525400e862b9" for 10.30.6.143 at 2015-09-30 16:22:25 +0200
2015-09-30T16:22:25 [app] [I] Processing by DiscoveredHostsController#update as */*
2015-09-30T16:22:25 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"L9Dovkmtyzt5qUEq0H7WEw78UnIpmWUK6d33qQOzhqg=", "host"=>{"name"=>"vidyo1", "hostgroup_id"=>"10", "environment_id"=>"1", "puppet_ca_proxy_id"=>"1", "puppet_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"52:54:00:e8:62:b9", "identifier"=>"eth0", "name"=>"vidyo1", "domain_id"=>"1", "subnet_id"=>"2", "ip"=>"10.30.202.49", "managed"=>"1", "primary"=>"1", "provision"=>"1", "tag"=>"", "attached_to"=>"", "id"=>"88348"}}, "architecture_id"=>"1", "operatingsystem_id"=>"3", "build"=>"1", "medium_id"=>"9", "ptable_id"=>"67", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"3-Users", "enabled"=>"1", "model_id"=>"13252", "comment"=>"", "overwrite"=>"false"}, "id"=>"mac525400e862b9"}
2015-09-30T16:22:26 [app] [I] Failed to save: Mac has already been takentifier"=>"eth0", "name"=>"vidyo1", "domain_id"=>"1", "subnet_id"=>"2", "ip"=>"10.30.202.49", "managed"=>"1", "primary"=>"1", "provision"=>"1", "tag"=>"", "attached_to"=>"", "id"=>"88348"}}, "architecture_id"=>"1", "operatingsystem_id"=>"3", "build"=>"1", "medium_id"=>"9", "ptable_id"=>"67", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"3-Users", "enabled"=>"1", "model_id"=>"13252", "comment"=>"", "overwrite"=>"false"}, "id"=>"mac525400e862b9"}
2015-09-30T16:22:26 [app] [I] Failed to save: Mac has already been taken

Anything I can do to help with this?


Files

1443622817.png View 1443622817.png 73.4 KB Simon Wydooghe, 09/30/2015 10:27 AM
1443622876.png View 1443622876.png 17.8 KB Simon Wydooghe, 09/30/2015 10:27 AM

Related issues 2 (1 open1 closed)

Related to Foreman - Tracker #2409: NetworkingNew

Actions
Related to Foreman - Feature #11972: Implement regex for option ignore_puppet_facts_for_provisioningClosedMarek Hulán09/26/2015Actions
Actions

Also available in: Atom PDF