-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v8.0.31] Unexpected configuration result when installing TokenManager #7274
Comments
I just noticed I was missing a level in my Tornado config, i.e. it's now
I haven't tried to backtrack and install the service again the old fashioned way, but while I can see that the port number is my fault, I'm not sure the old school install was. |
This is indeed a Tornado only service (it is also indicated in https://dirac.readthedocs.io/en/integration/AdministratorGuide/HowTo/pilotsWithTokens.html#launching-the-tokenmanagerhandler). |
Thanks.
TokenDB is not mentioned in |
I doubt this DB will actually be used for anything. |
I don't really care, but I don't like stacktraces in my log files that don't mean anything (well, I don't like any trackbacks at all, but this is worse). |
TokenDB is effectively only used for interacting with User tokens. For the case of pilots submissions the only effectively used part is this: https://github.com/DIRACGrid/DIRAC/blob/rel-v8r0/src/DIRAC/FrameworkSystem/Service/TokenManagerHandler.py#L185-L243 If no-one is right now using user tokens, nor planning to use user tokens in DIRAC (and before DiracX) then we can do a massive simplification. |
Don't simplify yet. We may need it for the DMS (I don't know yet) |
@marianne013 can the issue be closed? |
I just saw that error (TokenDB) again yesterday and afaik the integration version of the instructions still has no mention of this one way or another. Following instructions should not result in tracebacks, so I don't think this is fixed. |
Hi,
I just followed fairly blindly the instructions given here:
https://dirac.readthedocs.io/en/integration/AdministratorGuide/HowTo/pilotsWithTokens.html
My tornado config (which existed before installing this service) reads:
Tornado/Port = 8444
The above instructions tell me to install the TokenManager using
No error. This results in the service being installed the 'classic' way:
but at the same time the configuration generated reads:
(note the port).
If this is meant to run exclusively as a tornado service, could that please be reflected in the instructions, and why does it have the incorrect port number ?
The text was updated successfully, but these errors were encountered: