When registering a System to Satellite: HTTP error (500 - Internal Server Error): ERF50-2486 [Foreman::WrappedException]: Import of facts failed for host XXXX ([ActiveRecord::RecordInvalid]: Validation failed: Fact name has already been taken)
Issue
- On registering a Content Host to Satellite the following error message is printed:
[root@hostname ~]# subscription-manager register
Registering to: satellite.com:443/rhsm
Username: User
Password:XXXX
Hint: Organization "XXXX" contains following environments: Library, Library/XXX-CV, Development/XXX-CV,
Environment: XXX
HTTP error (500 - Internal Server Error): ERF50-2486 [Foreman::WrappedException]: Import of facts failed for host XXXX ([ActiveRecord::RecordInvalid]: Validation failed: Fact name has already been taken)
[root@hostname ~]# subscription-manager refresh
This system is not yet registered. Try 'subscription-manager register --help' for more information.
- Issue can be found when any kind of registration in Satellite is executed, for example when "--force" options is also used.
Environment
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.