Bug 1426373

Summary: Operating System Property of Host is reset by puppet fact, breaking "rebuild".
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.4CC: bbuckingham, bkearney, cfouant, djuran, hjensas, inecas, javier.ramirez, jcallaha, jhunt, jnikolak, jpriddy, jswensso, katello-bugs, mhulan, msomasun, nshaik, ohadlevy, oshtaier, shughes, sjagtap, sjr, smercurio, sreber, sthirugn, tbrisker, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1155704 Environment:
Last Closed: 2018-02-21 16:54:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1155704    
Bug Blocks: 1115190, 1267521, 1287901    
Attachments:
Description Flags
Test passed none

Comment 1 Sanket Jagtap 2017-12-08 14:00:55 UTC
Test for this is automated and have passed in Satellite 6.3.0 snap 27

Test: https://github.com/SatelliteQE/robottelo/blob/master/tests/foreman/ui/test_contenthost.py#L452

Steps:
1. Create a new host entry using content host self registration
procedure
2. Check that there is a new setting added "Ignore facts for
operating system", and set it to true.
3. Upload the facts that were read from initial host, but with a
change in all the operating system fields to a different OS or
version.
4. Verify that the host OS isn't updated.
5. Set the setting in step 2 to false.
6. Upload same modified facts from step 3.
7. Verify that the host OS is updated.
8. Verify that new OS is created

Comment 2 Sanket Jagtap 2017-12-08 14:01:25 UTC
Created attachment 1364878 [details]
Test passed

Comment 3 Satellite Program 2018-02-21 16:54:17 UTC
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/RHSA-2018:0336