Bug 1140180

Summary: incorrect config file diff count
Product: Red Hat Satellite 5 Reporter: Tomas Lestach <tlestach>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Studeník <pstudeni>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 560CC: cperry, jrussler, mmello, pstudeni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.8-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 09:54:29 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: 465198, 1127215, 1127217, 1127641    

Description Tomas Lestach 2014-09-10 12:35:26 UTC
Description of problem:
Once a config file diff count is set to a non-zero number, it never gets re-set back to zero.

Version-Release number of selected component (if applicable):
sat570 (and older)

How reproducible:
always

Steps to Reproduce:
1. deploy a configuration file for a server
2. modify the file on the client machine
3. hit 'Single Run Schedule' button on the https://<sat5-fqdn>/rhn/admin/BunchDetail.do?label=compare-configs-bunch page and run rhn-check --v on the client machine
4. verify the 'Configs' column for the system on https://<sat5-fqdn>/rhn/systems/Overview.do page is non-zero
5. re-deploy the same config file and run rhn-check on the client machine
6. check the 'Configs' column for the system on https://<sat5-fqdn>/rhn/systems/Overview.do page

Actual results:
same non-zero number as in point 4)

Expected results:
0

Additional info:
https://www.redhat.com/archives/spacewalk-list/2014-September/msg00054.html

Comment 1 Tomas Lestach 2014-09-10 12:38:00 UTC
spacewalk.git: ba7c68c8bf3af6084929917db32d6116cab4c12b

Comment 4 Grant Gainey 2014-11-13 16:12:24 UTC
*** Bug 1132090 has been marked as a duplicate of this bug. ***

Comment 6 Pavel Studeník 2014-12-03 10:45:50 UTC
Reproducer is 

1. deploy a configuration file for a server
2. modify the file on the client machine
3. hit 'Single Run Schedule' button on the https://<sat5-fqdn>/rhn/admin/BunchDetail.do?label=compare-configs-bunch page and run rhn-check --v on the client machine
4. verify the 'Configs' column for the system on https://<sat5-fqdn>/rhn/systems/Overview.do page is non-zero
5. re-deploy the same config file and run rhn-check on the client machine
6. check the 'Configs' column for the system on https://<sat5-fqdn>/rhn/systems/Overview.do page

---> need run schedule again <---
7. hit 'Single Run Schedule' button on the https://<sat5-fqdn>/rhn/admin/BunchDetail.do?label=compare-configs-bunch page and run rhn-check --v on the client machine

verified with package spacewalk-java-2.3.8-81.el6sat.noarch

Comment 7 Clifford Perry 2015-01-13 09:54:29 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff

Comment 8 Tomas Lestach 2015-04-09 12:23:06 UTC
*** Bug 1181242 has been marked as a duplicate of this bug. ***