Project

General

Profile

Bug #24544

Fix inconsistencies w/ token scripts

Added by Marco Mambelli 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
06/17/2020
Due date:
% Done:

0%

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

Description

There are 2 token scripts:
  • creation/web_base/frontend/token_setup.sh
  • factory/tools/factory_tokenize.sh
    which need to be modified:

creation/web_base/frontend/token_setup.sh is supposedly (from the folder) a frontend only file used during the startup/reconfig/upgrade but is used only in factory/tools/factory_tokenize.sh

Then it contains some links made from system condor files. Are these needed, is it patching the Factory condor?

#    mv $GWMS_THIS_SCRIPT_DIR/$LIB ${CONDOR_DIR}/lib
#done
cd ${CONDOR_DIR}/lib 
ln -s libSciTokens.so.0.0.2 libSciTokens.so.0 
ln -s libSciTokens.so.0.0.2 libSciTokens.so 
ln -s libmunge.so.2.0.0 libmunge.so.2 
cd $LOCAL_DIR

These may need also to be fixed:
  • a version of condor should not be modified (either it supports tokens or not - modifications could cause errors if the OSes are different or the condor versions incompatible)
  • Frontend, Glidein tarball, and Factory if needed, should have the correct condor version or tokens are not supported. It should be a requirement if needed. There should be no patching

History

#1 Updated by Marco Mambelli 4 months ago

  • Priority changed from Normal to High

#2 Updated by Dennis Box 4 months ago

  • Assignee changed from Dennis Box to Marco Mambelli
  • Status changed from New to Feedback

see branch v37/25455. Removed the token scripts. Revamping all the token documentation in branch 24448 so no documentation changes here.

#3 Updated by Marco Mambelli 4 months ago

  • Assignee changed from Marco Mambelli to Dennis Box
  • Status changed from Feedback to Resolved

Also available in: Atom PDF