Bug #14718
closedHost OS changes in Host definition
Description
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"