Hide Forgot
I have a HOST defined using Centos 7.2 as the OS. After the machine is built sometimes the HOST definition changes itself back to Centos 7. This causes issues in that some of the templates ( partition tables etc ) are not associated to the centos 7 OS. This occurs in Katello 3.0 RC2. According to JSherril it could be this "This is likely due to the new reporting of the operating system by subscription-manager. After looking at a centos machine it appears that centos is reported as '7' instead of '7.2' by subscription manager and thus gets associated with Centos 7.0. Sadly foreman currently doesn't differentiate between Operating System for provisioning and Operating System reported via facts. I guess we'll need to turn that auto reporting off for Centos or some other workaround"
Created from redmine issue http://projects.theforeman.org/issues/14718
Upstream bug assigned to jsherril
Verified on Satellite 6.2 Snap 20.1. No OS is set for a CentOS 7 host imported into Satellite via subscription-manager facts: [root@sat-snap-rhel7 ~]# hammer -u admin -p changeme host info --name centos7.example.com Id: 5 Name: centos7.example.com Organization: Default Organization Location: Default Location Puppet CA Id: Puppet Master Id: Cert name: centos7.example.com Managed: no Installed at: Last report: Network: IP: 192.168.121.212 MAC: 52:54:00:17:44:af Domain: example.com Network interfaces: 1) Id: 6 Identifier: docker0 Type: interface MAC address: 56:84:7a:fe:97:99 IP address: 172.17.42.1 FQDN: 2) Id: 5 Identifier: eth0 Type: interface (primary, provision) MAC address: 52:54:00:17:44:af IP address: 192.168.121.212 FQDN: Operating system: Architecture: x86_64 Build: no Custom partition table:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501