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

Bug 831709

Summary: SharedPort should depend on Master
Product: Red Hat Enterprise MRG Reporter: Robert Rati <rrati>
Component: condor-wallaby-base-dbAssignee: Robert Rati <rrati>
Status: CLOSED ERRATA QA Contact: Tomas Rusnak <trusnak>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.1CC: ltoscano, matt, trusnak
Target Milestone: 2.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-wallaby-base-db-1.24-1 Doc Type: Bug Fix
Doc Text:
Cause: Installing only the SharedPort feature on a node Consequence: The master daemon would stop Fix: Added a dependency on Master from the SharedPort Feature Result: It is not possible to install only SharedPort on a node and prevent the master daemon from running
Story Points: ---
Clone Of:
: 876871 (view as bug list) Environment:
Last Closed: 2013-03-06 18:44:17 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: 876871    

Description Robert Rati 2012-06-13 15:55:33 UTC
Description of problem:
The SharedPort feature in the base-db does not depend upon anything, and as a result installing it on a group/node results in a non-functional config and no indication that Master is needed.  The SharedPort feature should depend upon the Master feature.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Rati 2012-09-27 18:54:14 UTC
The SharedPort feature now depends on Master.

Fixed upstream on:
BZ831709-SharedPort-adddep-Master

Comment 4 Robert Rati 2012-11-27 14:07:39 UTC
There are a few ways to test this:
1) Look at the details of the SharedPort feature in wallaby.  In previous versions it had no dependency on the Master feature.  With this change, Master is now listed as a dependency
2) Install SharedPort on a node/group by itself and activate.  With the previous versions the activation would succeed, but the configuration on the node(s) would not be valid and condor would not start (no MASTER in DAEMON_LIST).  With this change, the wallaby activation will fail because of a missing dependency on Master.

Comment 5 Tomas Rusnak 2012-11-28 10:09:40 UTC
Reproduced with:

wallaby-0.12.5-1.el5

#  wallaby show-features SharedPort
Console Connection Established...
SharedPort
  name:  "SharedPort"
  params:  {"USE_SHARED_PORT"=>"True", "DAEMON_LIST"=>">= SHARED_PORT", "SHARED_PORT_DEBUG"=>"", "SHARED_PORT"=>"$(LIBEXEC)/condor_shared_port", "DAEMON_SOCKET_DIR"=>"$(RUN)"}
  depends:  []
  conflicts:  []
  included_features:  []
You have new mail in /var/spool/mail/root

Comment 6 Tomas Rusnak 2012-11-28 10:11:34 UTC
Retested on RHEL5/6 with:

wallaby-0.16.1-2

# wallaby show-features SharedPort
Console Connection Established...
SharedPort
  name:  "SharedPort"
  params:  {"USE_SHARED_PORT"=>"TRUE", "DAEMON_SOCKET_DIR"=>"$(RUN)", "DAEMON_LIST"=>">= SHARED_PORT", "SHARED_PORT"=>"$(LIBEXEC)/condor_shared_port", "SHARED_PORT_DEBUG"=>""}
  depends:  ["Master"]
  conflicts:  []
  included_features:  []
  annotation:  "Enables shared port"

The SharePort feature now depends on Master.

>>> VERIFIED

Comment 8 errata-xmlrpc 2013-03-06 18:44:17 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/RHSA-2013-0564.html