Skip to content
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

glideclientglobal_manifests generated too often in current configuration #286

Open
StevenCTimm opened this issue Nov 4, 2020 · 3 comments
Assignees
Labels
operations Issue filed by Operations team

Comments

@StevenCTimm
Copy link
Contributor

glideclientglobal_manifests is being regenerated with every run of the resource_request channel every five minutes.
This is overkill, it only needs to be generated every time that the decision engine reconfigures, or that a secret changes.
It is difficult to debug in the current configuration because the block ends up being ephemeral and only there for a few seconds out of the 5-minute channel life time, making it very hard to dump and debug.

@StevenCTimm StevenCTimm added the operations Issue filed by Operations team label Nov 4, 2020
@StevenCTimm
Copy link
Contributor Author

Bruno coimbra mentioned in glideinWMS meeting that there was a problem with the hashing function that the glideinwms frontend had been using in python3, because the hashing seed gets reset with every new process. Glideinwms has implemented a new hashing function. should see if this can be ported into the decision engine fork of this code.

@mambelli
Copy link
Contributor

mambelli commented Nov 2, 2021

@StevenCTimm the hashing problem has been fixed in GlideinWMS. I see you reopened this. Can it be closed?

@StevenCTimm
Copy link
Contributor Author

I closed it by accident on Jan 13.
The libs in question that do this hashing, inherit from glideinwms libs and we are now running 3.9.3
I haven't checked the underlying data blocks to see if the hashes change that often.

But it's more than a hashing issue.. it's the fact that we are generating glideclientglobal manifests on
every run of the resource_request channel when we really wouldn't need to.. they rarely change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operations Issue filed by Operations team
Projects
None yet
Development

No branches or pull requests

3 participants