Ticket 11613

Summary: Add custom-compute-install metadata to login node to allow customization.
Product: Slurm Reporter: tmiddelkoop <tmiddelkoop>
Component: GCPAssignee: Broderick Gardner <broderick>
Status: RESOLVED FIXED QA Contact:
Severity: C - Contributions    
Priority: --- CC: nick
Version: 21.08.x   
Hardware: Linux   
OS: Linux   
Site: Google Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed: Slurm-GCP 4.0.3
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---
Attachments: 0001-Add-custom-compute-install-metadata-to-login-node.patch

Description tmiddelkoop@internet2.edu 2021-05-13 09:05:19 MDT
Created attachment 19474 [details]
0001-Add-custom-compute-install-metadata-to-login-node.patch

The login nodes do not apply either the custom-compute-install or custom-controller-install scripts.  To make the login nodes more compute-like the following patch adds custom-compute-install to the instance metadata in Terraform to be applied by the setup.py script.  This was used to allow adding profile scripts to /etc/profile.d that was needed on the login and compute nodes (spack).
Comment 1 Nick Ihli 2021-11-12 15:55:46 MST
The login node is setup to be like the compute node so the custom-compute-install should already work for the login node. Were finding that to not work? What version of the slurm-gcp scripts are you using?

Thanks,
Nick
Comment 2 tmiddelkoop@internet2.edu 2021-11-12 16:01:32 MST
I don't recall. Non-prod so feel free to close bug.
Comment 3 Broderick Gardner 2022-01-18 10:49:56 MST
This was fixed at some point in v4 of slurm-gcp.