Bug 747037

Summary: quartz connects to svn.terracotta.org
Product: Red Hat Satellite 5 Reporter: Tomas Lestach <tlestach>
Component: OtherAssignee: Tomas Lestach <tlestach>
Status: CLOSED ERRATA QA Contact: Matej Kollar <mkollar>
Severity: low Docs Contact:
Priority: medium    
Version: 540CC: cperry, mkollar, mmraka, mzazrivec, pmutha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.39-110 spacewalk-search-1.2.3-4 Doc Type: Bug Fix
Doc Text:
Consequence: quartz, what is a scheduling core of taskomatic and rhn-search connects to svn.terracotta.org server and checks for updates Result: quartz doesn't try to connect to svn.terracotta.org or any other servers
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-31 01:56:50 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:    
Bug Blocks: 715348    

Description Tomas Lestach 2011-10-18 16:06:21 UTC
Description of problem:
quartz has an UpdateChecker job, that checks for new updates every week and is enabled by default. It downloads
http://svn.terracotta.org/svn/tc/update-checker/quartz-update-list.properties
parses the file and if there're updates, it logs following message:

LOG.info("New Quartz update(s) found: " + sb.toString()); 

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

How reproducible:
always

Steps to Reproduce:
1. Just install and run satellite
2. Check your firewall settings / enable quartz logging

Actual results:
quartz checks for updates

Expected results:
quartz doesn't check for updates

Additional info:
Easiest fix shall be to place:

org.terracotta.quartz.skipUpdateCheck = false
    (to disable the check within the UpdateCheck job)
org.quartz.scheduler.skipUpdateCheck = false
    (to disable UpdateCheck job to be scheduled)

into /etc/rhn/default/rhn_org_quartz.conf
and restart rhn-satellite.

Comment 2 Michael Mráka 2011-11-28 10:33:32 UTC
Default has been fixed in spacewalk master by
commit dbfe95385bc8843b91473b64036b616f374e3ea7
    747037 - disable connects to svn.terracotta.org
    value should be true actually ;)
commit e70f745f99abb59a4ada9583066453ee6173e42f
    747037 - disable connects to svn.terracotta.org

Fixed upstream package: spacewalk-java-1.6.80-1

Comment 5 Tomas Lestach 2012-01-04 17:43:26 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
quartz, what is a scheduling core of taskomatic connects to svn.terracotta.org server and checks for updates
Result:
quartz doesn't try to connect to svn.terracotta.org or any other servers

Comment 7 Michael Mráka 2012-01-18 13:19:35 UTC
Quartz is also used in rhn-search; two more commits in spacewalk master:
commit 311b1592b6972e62f6a6d47010b28a7f9061d9b6
    include quartz.properties to rpm
commit 2cdadfcaa09df98930a72665adbb9ddc56664ac0
    747037 - disable connects to svn.terracotta.org from rhn-search

Comment 8 Michael Mráka 2012-01-18 13:40:05 UTC
Backported to SATELLITE-5.4 as
commit 35efd632c5c18ed46084a018eb277fcce2e790a6
    include quartz.properties to rpm
commit f9975db40ebb5ea2def32cef6cdb3bf3fdd71c20
    include quartz.properties to rpm 
commit 739f09a15706a2fd90492f42a2ea70df5fb6232f
    747037 - disable connects to svn.terracotta.org from rhn-search

Comment 10 Tomas Lestach 2012-01-26 10:54:49 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1,4 @@
 Consequence:
-quartz, what is a scheduling core of taskomatic connects to svn.terracotta.org server and checks for updates
+quartz, what is a scheduling core of taskomatic and rhn-search connects to svn.terracotta.org server and checks for updates
 Result:
 quartz doesn't try to connect to svn.terracotta.org or any other servers

Comment 11 errata-xmlrpc 2012-01-31 01:56:50 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.

http://rhn.redhat.com/errata/RHBA-2012-0072.html