Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1159037

Summary: Issue Changins System Currency Weights/Multipliers
Product: [Community] Spacewalk Reporter: Waldirio M Pinheiro <waldirio.pinheiro>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-31 09:48:00 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: 1484117    

Description Waldirio M Pinheiro 2014-10-30 18:10:16 UTC
Description of problem:
Changing the configuration according documentation (https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.6/html-single/Getting_Started_Guide/index.html, item 4.2.1.9), the values of total score should change but still the same.

I added  lines in /etc/rhn/rhn.conf like bellow, changing crit from 32 to 64 and my client registered have 2 crit., so the total value should be 2*64 = 128, but still in 64.

###
sc.crit = 64
sc.imp = 16
sc.mod = 8
sc.low = 4
sc.bug = 2
sc.enh = 1
###

Restart the spacewalk server (spacewalk-service restart)

Version-Release number of selected component (if applicable):
2.2

How reproducible:
100%

Steps to Reproduce:
1. Change the /etc/rhn/rhn.conf
2. Add lines like above
3. Restart service
4. Check the score in webui or using spacewalk-report (same result)

Actual results:
Still using the default value.

Expected results:
Correct value.

Additional info:

Comment 1 Tomas Lestach 2014-10-31 09:48:00 UTC
The Sat5.6 documentation is wrong. (I reported Bug 1159236.)

Please use (in case of spacewalk-java >= 1.10.49):

# default values for system currency multipliers
# needed by spacewalk-report for system currency report

# multiplier for critical security errata
java.sc_crit = 32

# multiplier for important security errata
java.sc_imp = 16

# multiplier for moderate important security errata
java.sc_mod = 8

# multiplier for low important security errata
java.sc_low = 4

# multiplier for bugfix errra
java.sc_bug = 2

# multiplier for ehnancement errata
java.sc_enh = 1


Closing as NOTABUG. Thank you for your bug report!

Comment 2 Eric Herget 2017-09-28 18:10:12 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.