-
Notifications
You must be signed in to change notification settings - Fork 38
Enable EESSI proxy by default #876
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
Conversation
This reverts commit 79a8898.
elelaysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a couple remarks.
And a question: to not switch to an eessi proxy, what should a client site do?
- remove control from
[squid:children]in theenvironments/site/inventory/groups - set
cvmfs_http_proxy: ''in eg.environments/site/inventory/group_vars/all.yml
The first would work, the 2nd would work but would still leave you with squid configured to be a proxy. Or alternatively setting I'm not too fussed about documenting this TBH, everyone should be running with a proxy really if using EESSI and the notes in docs/eeesi do suggest alternative configs. |
I thought both were necessary, one to not setup the proxy, the other not to use it.
Sure |
If you don't setup the proxy (i.e. no |
elelaysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
IMPORTANT: This PR impacts default services on the control node. Review docs below to assess suitability of the default configuration. It also changes
squidrole defaults.Default to running
squidon control node as a proxy for EESSI to reduce load on Stratum 1 servers and reduce latency for clients. Seedocs/eessi.ymlfor notes on proxy requirements and alternative configurations.Modify
squidrole to support two default configurations, selectable viasquid_mode:generalfor previous general/DNF proxy andeessi(the default) for EESSI clients.As part of automatic configuration for the above an inventory group_var
cluster_subnetsis now templated into the hosts.yml file. This contains dicts for each network in OpenTofu variablecluster_networkswith keysnameandcidr.Adds back testing of EESSI in StackHPC CI.
Requires an image build as changes eessi role which is copied into image.