Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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