Project

General

Profile

Bug #15357

Reregistering a client after upgrade fails 'Validation failed: Interfaces host must have one primary interface'

Added by Justin Sherrill about 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Upgrades
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

After upgrading to 2.4, if you try to re-register an existing system you get an error:

[root@client ~]# subscription-manager register --force
The system with UUID 2f982f65-42d8-468f-ab32-78ade30ec777 has been unregistered
Registering to: centos7-2-4.example.com:443/rhsm
Username: admin
Password: 
Validation failed: Interfaces host must have one primary interface

Associated revisions

Revision beb1fffe (diff)
Added by Justin Sherrill about 6 years ago

Fixes #15357 - ensure valid interfaces after upgrade (#6111)

prior to upgrading a couple of situtations can occur that prevent
re-registration of hosts via sub-man

1) a system was already registered, and a host was create during the
migration, but since facts were not imported there are no valid
interfaces
2) a host exists without any interfaces, and has no facts. This may
not actually happen in the wild but there is nothing stopping it
from happening, so its handled here

History

#1 Updated by Justin Sherrill about 6 years ago

  • Bugzilla link set to 1344449

#2 Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6111 added

#3 Updated by Justin Sherrill about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF