Ticket 6059

Summary: request modifications to gcp scripts
Product: Slurm Reporter: Bill Abbott <babbott>
Component: GCPAssignee: Brian Christiansen <brian>
Status: RESOLVED INFOGIVEN QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: sts
Version: 17.11.7   
Hardware: Linux   
OS: Linux   
Site: Rutgers Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---

Description Bill Abbott 2018-11-20 10:48:47 MST
We have a proof of concept between SchedMD, Google and Rutgers to work on the gcp scripts.  I'd like to request:

1. The ability to include a local script for site customizations, so modifying the main script won't get wiped out when you come out with a new version.

2. The ability to specify the name of the VPC - I need to deploy into a project with an existing VPC.

3. The ability to use OpenHPC packages to install rather than downloading the current tarball and installing that way.  We have a federation built on OpenHPC and the more similar the GCP cluster can be, the better.
Comment 2 Brian Christiansen 2018-11-21 16:23:31 MST
Thanks for the requests. We'll consider #1 and #3.

For #2, see:
https://github.com/SchedMD/slurm-gcp/blob/master/slurm.jinja.schema#L246
https://github.com/SchedMD/slurm-gcp/blob/master/slurm.jinja.schema#L251
Comment 3 Bill Abbott 2018-12-10 12:01:07 MST
thanks
Comment 4 Brian Christiansen 2019-03-07 16:20:05 MST
For #1, we added the following files that can be used to keep custom installations without changes to repo getting in the way. The files will just be executed, so they can be whatever scripting language you want.

scripts/custom-compute-install
scripts/custom-controller-install

https://github.com/SchedMD/slurm-gcp/commit/62e536f9de91
Comment 5 Brian Christiansen 2020-04-14 12:03:43 MDT
Closing as we don't currently have plans to implement #3.