Skip to content

Commit

Permalink
Added debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Nilsson committed Sep 4, 2024
1 parent 280791f commit ab2a03d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8.1.62
3.8.1.62-2
2 changes: 1 addition & 1 deletion pilot/util/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
RELEASE = '3' # released number should be fixed at 3 for Pilot 3
VERSION = '8' # version number is '1' for first release, '0' until then, increased for bigger updates
REVISION = '1' # revision number should be reset to '0' for every new version release, increased for small updates
BUILD = '62' # build number should be reset to '1' for every new development cycle
BUILD = '62-2' # build number should be reset to '1' for every new development cycle

SUCCESS = 0
FAILURE = 1
Expand Down
4 changes: 4 additions & 0 deletions pilot/util/https.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ def get_local_oidc_token_info() -> tuple[str or None, str or None]:
# origin of the token (panda_dev.pilot, ..)
auth_origin = os.environ.get('OIDC_AUTH_ORIGIN', os.environ.get('PANDA_AUTH_ORIGIN'))

logger.debug(f'auth_token={auth_token}, auth_origin={auth_origin}')
logger.debug(f'OIDC_AUTH_TOKEN={os.environ.get("OIDC_AUTH_TOKEN")}, OIDC_AUTH_ORIGIN={os.environ.get("OIDC_AUTH_ORIGIN")}')
logger.debug(f'PANDA_AUTH_TOKEN={os.environ.get("PANDA_AUTH_TOKEN")}, PANDA_AUTH_ORIGIN={os.environ.get("PANDA_AUTH_ORIGIN")}')

return auth_token, auth_origin


Expand Down

0 comments on commit ab2a03d

Please sign in to comment.