glideinWMS / glideinwms

The glideinWMS Project
http://tinyurl.com/glideinwms
Apache License 2.0
16 stars 46 forks source link

Fix setup_x509.sh to run also periodically and output consistent exit status #198

Closed mambelli closed 2 years ago

mambelli commented 2 years ago

Fixed script to run at setup and periodically. All messages now go to stderr not to interfere w/ HTCondor startd cron. Execution is streamlined to support multiple credential types. The exit code and error_gen output are now consistent. Fixes #164 and fixes #162 Supersedes and closes #169

TODO: change the name to setup_credentials.sh and improve error messages TODO: Open a ticket to control consistency in token handling between glidein_startup.sh and setup_x509.sh (added TODO messages in files)

mambelli commented 2 years ago

I fixed the problem of non consistent idtokens directories between creation/web_base/condor_config and creation/web_base/setup_x509.sh. The gconfig_add function was fixed in a separate PR.

ddbox commented 2 years ago

I pushed (or tried to push) changes to setup_x509.sh and glidein_startup.sh. (Edit) I see my pushed changes now. Marco, do these changes work for you?