Bug 1397308

Summary: every rhn_check call creates 'Updated system release' record in system history
Product: [Community] Spacewalk Reporter: Ales Dujicek <adujicek>
Component: ClientsAssignee: Ondrej Gajdusek <ogajduse>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.5CC: bharrington, eherget, ogajduse, pstudeni, redhat-bugzilla, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-27 19:27:51 UTC Type: Bug
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:    
Bug Blocks: 1310034, 1484117    

Description Ales Dujicek 2016-11-22 09:27:22 UTC
Description of problem:

Every rhn_check call on client creates new 'Updated system release' record in System History on the server

https://satellite/rhn/systems/details/history/History.do?sid=1000100684&

Type 	Status 	Summary 	Time
 (n/a) 	Updated system release from 24 to 24 	Tue Nov 22 04:18:17 EST 2016
(n/a) 	Updated system release from 24 to 24 	Tue Nov 22 04:17:36 EST 2016 


Version-Release number of selected component (if applicable):
rhn-check-2.5.16-1.fc24
rhn-check-2.7.1-1.fc24

How reproducible:
always

Steps to Reproduce:
1. register Fedora client to Spacewalk or Satellite
2. rhn_check
3. see https://satellite/rhn/systems/details/history/History.do?sid=sistem_id

Actual results:
rhn_check creates new Updated system release from 24 to 24 records in System History

Expected results:
at most one update system release message when release version is really changed

Additional info:
could not reproduce on RHEL

Comment 1 Ondrej Gajdusek 2017-06-14 15:11:16 UTC
*** Bug 1379892 has been marked as a duplicate of this bug. ***

Comment 2 Ondrej Gajdusek 2017-06-14 15:13:00 UTC
*** Bug 1409432 has been marked as a duplicate of this bug. ***

Comment 3 Ondrej Gajdusek 2017-06-19 12:48:29 UTC
This bug is not reproducible with rhn-check >= 2.7.3-1, d94017eb49a6161673b6999339d9d6e1d5953612 fixes it. This commit is associated with BZ#1414579.

Comment 4 Eric Herget 2017-09-27 19:27:51 UTC
Spacewalk 2.7 has been released.

https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27