While trying to create a New Host in Red Hat Satellite 6.x it fails with "Failed to save: Name has already been taken, MAC address has already been taken"

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.x

Issue

  • Creating a New host in Red Hat Satellite 6.x fails with below trace back :
 Parameters: {"utf8"=>"?", "authenticity_token"=>"y1/Vx0240vhpU5WkgXNgtqWSvmmfIxcN52HY15FpHO8=", "host"=>{"name"=>"sndrhel002", "organization_id"=>"3", "location_id"=>"4", "hostgroup_id"=>"7", "compute_resource_id"=>"", "environment_id"=>"10", "content_source_id"=>"1", "puppet_ca_proxy_id"=>"1", "puppet_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "domain_id"=>"1", "realm_id"=>"", "mac"=>"00:50:56:b8:6f:07", "subnet_id"=>"1", "ip"=>"", "interfaces_attributes"=>{"new_interfaces"=>{"_destroy"=>"false", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"", "domain_id"=>"", "subnet_id"=>"", "ip"=>"", "managed"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>""}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"7", "ptable_id"=>"7", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"8-Users", "enabled"=>"1", "model_id"=>"1", "comment"=>"", "overwrite"=>"false"}, "hostgroup"=>{"lifecycle_environment_id"=>"8", "content_view_id"=>"8"}}
2016-02-03 14:56:19 [I] Failed to save: Name has already been taken, MAC address has already been taken ~~~

Resolution

  • The host was not associated to a particular organization, so confirm whether it is listed under Any Context.
  • Delete the host which is listed and try to provision it again.

For more KB articles/solutions related to Red Hat Satellite 6.x Provisioning Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Provisioning related Issues.

Root Cause

  • Go to Any Context in Red Hat Satellite web UI, host was present in Hosts > All Hosts tab.
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.