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"
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 ~~~
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.