Project

General

Profile

Bug #2642

Do we need collector port defined in the Frontend section of ini file as well?

Added by Parag Mhashilkar almost 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
John Weigand
Category:
Ini-Installer
Target version:
Start date:
04/11/2012
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

Mike Wang brought this issue. His following ini file did not work and failed with error ====
... validating username: gfrontend
... validating condor_email_address:
... validating x509_proxy:
/cdf/local/home/gfrontend/.globus/x509_service_proxy
... validating x509_gsi_dn:
/DC=org/DC=doegrids/OU=Services/CN=fcdfhead20int.fnal.gov
... validating collector port: 0
ERROR: collector_port option must be a positive value: 0 ====

ini (6.35 KB) ini Parag Mhashilkar, 04/11/2012 11:27 AM

History

#1 Updated by John Weigand over 7 years ago

I am not seeing this problem.

The information provided is not telling me enough about
just what Mike was trying to install/validate when he got
this error.

A vofrontend does not need nor does it attempt to validate
the condor port. Only the wms and user collectors require
this.

When you mention a "VOFrontend install" are you referring to
the set of 3 glidein services (user collector, submit and
real vofrontend) on a single node?

Are you really asking..
Can we provide a default if the user does not enter the port
or sets it to zero (why he would do that I am clueless)?

This can be done so long as Condor NEVER changes the default
port. I know it has not changed in FOREVER, but who knows.

Let me know what is desired.

John Weigand

#2 Updated by John Weigand over 7 years ago

  • Status changed from New to Feedback
  • Assignee changed from John Weigand to Parag Mhashilkar

Parag,

Can you give me some feedback on my questions?

John Weigand

#3 Updated by Parag Mhashilkar over 7 years ago

Yea, it is safe to assume a default collector port of 9618 if not specified by the user. This will make the collector_port optional in ini file

#4 Updated by Parag Mhashilkar over 7 years ago

  • Assignee changed from Parag Mhashilkar to John Weigand

#5 Updated by John Weigand over 7 years ago

  • Assignee changed from John Weigand to Parag Mhashilkar
  • Target version changed from v2_7_x to v2_6_2

The collector_port option in the WMSCollector and UserCollector sections
of the ini file is now optional. If not specified, it will default
to port 9618.

branch_v2plus_2642 hash: 5ffed3c1643517230676333ea67105c87a1be5f9

Files affected:
- install/services/Condor.py
- install/services/UserCollector.py
- install/services/VOFrontend.py
- install/services/WMSCollector.py

John Weigand

#6 Updated by John Weigand over 7 years ago

Also made the UserCollector number_of_secondary_collectors optional.
It already defaulted to zero.

Files affected:
- install/services/UserCollector.py
- install/services/VOFrontend.py
- install/services/WMSCollector.py

branch_v2plus_2642 hash: 6b98c8305caf3a05c74dc908de1ce0163242a0c6

Done now.

John Weigand

#7 Updated by Parag Mhashilkar over 7 years ago

  • Assignee changed from Parag Mhashilkar to John Weigand

Looks ok to merge. Please also update doc with the default values used for the port

#8 Updated by John Weigand over 7 years ago

  • Status changed from Feedback to Resolved

Doc has been updated in:
- branch_v2plus: doc/components/configuration_install.html
- hash: 6d7b7c814b890521d0a8850d38c2d27ba10ca482

- master: doc/components/collector_install.html and doc/factory/install.html
- hash: df10c1ae0bd8a60ab532b89a63e768a36438b164

All changes cherry-pick into master for install/services files.

John Weigand

#9 Updated by Parag Mhashilkar about 7 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF