[Satellite 6.2.2] - After host looses primary interface, primary interface cannot be added back to the profile

Solution In Progress - Updated -

Issue

  • After host looses primary interface, primary interface cannot be added back to the profile. It throws the error below:
Oops, we're sorry but something went wrong Host::Base#name= delegated to primary_interface.name=, but primary_interface is nil: #<Host::Managed id: 29, name: "test46", last_compile: nil, last_report: nil, updated_at: "2016-10-14 12:43:19", created_at: "2016-10-14 12:42:41", root_pass: "$5$Gccv5/7h$9AxSRhnUoqRY5rrZBcbw4spU0MvDSn7O1EZYj4...", architecture_id: 1, operatingsystem_id: 2, environment_id: 2, ptable_id: 61, medium_id: nil, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: 2, owner_id: 3, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: 1, certname: nil, image_id: nil, organization_id: 1, location_id: 2, type: "Host::Managed", otp: "bC,DdAHGlZqk", realm_id: 1, compute_profile_id: 4, provision_method: "build", content_source_id: 1, grub_pass: "$5$Gccv5/7h$9AxSRhnUoqRY5rrZBcbw4spU0MvDSn7O1EZYj4...", content_view_id: 1, lifecycle_environment_id: 1, global_status: 0, lookup_value_matcher: "fqdn=test46.libvirtnode1.prov", discovery_rule_id: nil, openscap_proxy_id: nil>

Environment

  • Red Hat Satellite 6.2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content