Ticket 11613 - Add custom-compute-install metadata to login node to allow customization.
Summary: Add custom-compute-install metadata to login node to allow customization.
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: GCP (show other tickets)
Version: 21.08.x
Hardware: Linux Linux
: C - Contributions
Assignee: Broderick Gardner
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2021-05-13 09:05 MDT by tmiddelkoop@internet2.edu
Modified: 2022-01-18 10:49 MST (History)
1 user (show)

See Also:
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 (1012 bytes, application/mbox)
2021-05-13 09:05 MDT, tmiddelkoop@internet2.edu
Details

Note You need to log in before you can comment on or make changes to this ticket.
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.