Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1321104 - Configuration status is getting marked out of sync incorrectly
Configuration status is getting marked out of sync incorrectly
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Reporting (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity high (vote)
: Beta
: Unused
Assigned To: Dominic Cleal
sthirugn@redhat.com
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-24 12:46 EDT by Stephen Benjamin
Modified: 2016-07-27 05:28 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 05:28:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 13883 None None None 2016-03-28 09:29 EDT
Red Hat Product Errata RHBA-2016:1501 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 08:28:58 EDT

  None (edit)
Description Stephen Benjamin 2016-03-24 12:46:04 EDT
Description of problem:
Host's last report was 22 minutes ago, but it shows out of sync in the UI.

irb(main):026:0> time_ago_in_words(host.last_report)
=> "25 minutes"
irb(main):027:0> host.get_status(HostStatus::ConfigurationStatus)
=> #<HostStatus::ConfigurationStatus id: 9, type: "HostStatus::ConfigurationStatus", status: 117440512, host_id: 4, reported_at: "2016-03-24 04:21:21">
irb(main):028:0> host.get_status(HostStatus::ConfigurationStatus).to_label
=> "Out of sync"
irb(main):029:0> Setting[:puppet_interval]
=> 30

Version-Release number of selected component (if applicable):
6.2 Snap 5.1

How reproducible:
Always

Steps to Reproduce:
1. Create a host managed by puppet


Actual results:
Some time after the first report shows up, the host will go to out of sync

Expected results:
Host shows OK up to Setting[:puppet_interval] after report

Additional info:
Comment 1 Stephen Benjamin 2016-03-24 12:46:29 EDT
Created redmine issue http://projects.theforeman.org/issues/14352 from this bug
Comment 2 Bryan Kearney 2016-03-24 14:08:48 EDT
Upstream bug component is Provisioning
Comment 3 Bryan Kearney 2016-03-25 04:08:46 EDT
Upstream bug component is Reporting
Comment 4 Brad Buckingham 2016-03-28 09:24:33 EDT
Based on the upstream comment on http://projects.theforeman.org/issues/14352 , I am updating the bugzilla to reference an issue that appears to already solve the behavior raised.  That issue is http://projects.theforeman.org/issues/13883.
Comment 9 sthirugn@redhat.com 2016-04-01 17:36:05 EDT
Verified with 2 hosts (using libvirt compute resource).  Status was shown good after several reports.  (see screenshots)

Verified in Satellite 6.2-beta-snap-6
Comment 14 errata-xmlrpc 2016-07-27 05:28:53 EDT
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

Note You need to log in before you can comment on or make changes to this bug.