default Slurm Accounting SSL certificate to be combined certs required for Azure MySQL Database#504
Conversation
There was a problem hiding this comment.
Pull request overview
Updates Slurm accounting SSL certificate handling so that the default option installs a combined CA bundle (per Azure MySQL TLS root rotation guidance) and writes it to AzureCA.pem for SlurmDBD to use.
Changes:
- Add a “Combined Certs” option (and make it the default) for the accounting certificate URL in the cluster template.
- Implement installer logic to download three CA certs, convert/assemble them, and write the combined PEM to
${config_dir}/AzureCA.pem.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| templates/slurm.txt | Adds “Combined Certs” entry and sets it as the default value for the accounting SSL certificate parameter. |
| azure-slurm-install/install.py | Adds _install_combined_certs() and wires it into accounting setup when the “Combined Certs” option is selected. |
1a94460 to
94cb695
Compare
f9cb7e0 to
4e7a565
Compare
4e7a565 to
4b5616f
Compare
0ae4a1a to
a8443d8
Compare
995efe9 to
8aaefd0
Compare
13259cb to
0892a4f
Compare
| Config.Entries := {[Value=""], [Value="AzureCA.pem"]} | ||
| DefaultValue = "" | ||
| Config.Entries := {[Value=""], [Value="AzureCA_bundle.pem"]} | ||
| DefaultValue = "AzureCA_bundle.pem" |
There was a problem hiding this comment.
I understand this was done before-- but this is weird. This is saying "Either its a URL or its a string that actually points to a file we know about"...
IMO just remove the default value.
There was a problem hiding this comment.
okay so when this value is empty we should always point StorageParameters=SSL_CA=/etc/slurm/AzureCA_bundle.pem? Right now in the code if you leave acct_cert_url empty then we comment out StorageParameters in slurmdbd.conf
|
And when custom ssl is enabled both certs are avail in /etc/slurm but slurmdbd.conf points to CustomCA.pem
|
d43687f to
06a396a
Compare
06a396a to
597b303
Compare
…d for Azure MySQL Database
- Package bundled cert during build time
- Always install and link bundled cert
- Point slurmdbd.conf to AzureCA_{version}.pem when no custom ssl cert is specified
- install and link custom cert in addition to bundled cert when specified in template and point slurmdbd.conf to CustomCA.pem
597b303 to
1fa5d23
Compare


Always install three SSL certificatetes and combine them to AzureCA{version}.pem as advised by Azure during root certificate rotation. https://learn.microsoft.com/en-us/azure/mysql/flexible-server/security-tls-root-certificate-rotation#steps
Additionally, install optional custom SSL cert slurm.accounting.certificate specified by user in template
The three certificates installed are