summary refs log tree commit diff
path: root/nixos/modules/services/computing/slurm/slurm.nix
Commit message (Collapse)AuthorAge
* treewide: fix redirected and broken URLsAnthony Roussel2023-11-11
| | | | Using the script in maintainers/scripts/update-redirected-urls.sh
* services.openssh: rename several settings (#211991)Matthieu Coudron2023-02-07
| | | | | | | | | | | | | | * services.openssh: rename several settings ... to match the sshd config format (makes transition smoother), namely: services.openssh.forwardX11 -> services.openssh.settings.X11Forwarding services.openssh.cyphers -> services.openssh.settings.Cyphers services.openssh.macs -> services.openssh.settings.Macs services.openssh.kexAlgorithms -> services.openssh.settings.KexAlgorithms services.openssh.gatewayPorts -> services.openssh.settings.GatewayPorts * release-notes: mention openssh renaming * chore: regenerated release-notes
* nixos/*: convert internal option descriptions to MDpennae2022-08-31
| | | | we'll have to do it eventually, may as well be now.
* nixos/*: automatically convert option descriptionspennae2022-08-31
| | | | | | | | | | | | conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
* nixos/*: literalDocBook -> literalMDpennae2022-08-27
| | | | no change to rendered output
* nixos/*: automatically convert option docspennae2022-08-06
|
* nixos/*: normalize manpage references to single-line formpennae2022-08-05
| | | | | | | now nix-doc-munge will not introduce whitespace changes when it replaces manpage references with the MD equivalent. no change to the manpage, changes to the HTML manual are whitespace only.
* treewide: automatically md-convert option descriptionspennae2022-07-30
| | | | | | | | | | | | | | | | | | | | | | the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
* nixos/slurm: update systemd service for slurmdMarkus Kowalewski2022-05-29
| | | | Adjust according to upstream recommendation
* nixos/slurm: fix startup of slurmdMarkus Kowalewski2022-01-31
| | | | | | | * make slurmd depend on network target to ensure basic networking is available on startup. This fixes behaviour where slurmd fails with "error: get_addr_info: getaddrinfo() failed". * Use tmpfiles.d to ensure spool directory exists on start up.
* Merge pull request #148785 from pennae/more-option-doc-staticizingGraham Christensen2021-12-17
|\ | | | | treewide: more defaultText for options
| * treewide: add literalDocBook text to options with complex defaultspennae2021-12-09
| | | | | | | | | | | | | | | | some options have default that are best described in prose, such as defaults that depend on the system stateVersion, defaults that are derivations specific to the surrounding context, or those where the expression is much longer and harder to understand than a simple text snippet.
| * treewide: set defaultText for options using simple path defaultspennae2021-12-09
| | | | | | | | | | adds defaultText for all options that set their default to a path expression using the ubiquitous `cfg` shortcut bindings.
* | nixos/*: add trivial defaultText for options with simple defaultspennae2021-12-02
|/
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos/slurm: fix creation of slurmdbd config fileMarkus Kowalewski2021-05-01
| | | | | replace cp/chmod by install to avoid security issues. See https://github.com/NixOS/nixpkgs/issues/121293
* nixos/slurm: expose to path config filesMarkus Kowalewski2021-03-10
| | | | | | This adds a new internal option, services.slurm.etcSlurm such that other modules can access slurm's config files. This is needed, for example, when a service wants to run a slurm command.
* treewide: fix double quoted strings in meta.descriptionvolth2021-01-24
| | | | Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
* nixos/slurm: fix dbdserver config file handlingMarkus Kowalewski2020-12-16
| | | | | | | Since slurm-20.11.0.1 the dbd server requires slurmdbd.conf to be in mode 600 to protect the database password. This change creates slurmdbd.conf on-the-fly at service startup and thus avoids that the database password ends up in the nix store.
* nixos/*: wether -> whetherSamuel Gräfenstein2020-07-04
|
* SLURM/NixOS: increase ulimit for IB/RDMALengyel Balázs2020-02-21
|
* nixos/slurm: add option for external slurmdbd.confMarkus Kowalewski2019-11-10
| | | | | | | | Slurmdbd requires a password database which is stored in slurmdbd.conf. A seperate config file avoids that the password ends up in the nix store. Slurmdbd does 19.5 does not support MySQL socket conections. Adapated the slurm test to provide username and password.
* nixos/slurm: fix X11 with spank moduleMarkus Kowalewski2019-11-10
| | | | | | * Fix path in module for slurm to find plugstack.conf * Fix configure flags so that slurm can be compiled without internal X11 support (required for spank-x11).
* nixos/slurm: add extraConfigPaths optionsMarkus Kowalewski2018-11-22
|
* nixos/slurm: set slurmd KillMode to processMarkus Kowalewski2018-11-20
| | | | | | | | | | | | | | | The default of systemd is to kill the the whole cgroup of a service. For slurmd this means that all running jobs get killed as well whenever the configuration is updated (and activated). To avoid this behaviour we set "KillMode=process" to kill only slurmd on reload. This is how slurm configures the systemd service. See: https://bugs.schedmd.com/show_bug.cgi?id=2095#c24 https://github.com/SchedMD/slurm/commit/508f866ea10e4c359d62d443279198082d587107
* nixos/slurm: add maintainer to module and testMarkus Kowalewski2018-10-30
|
* nixos/slurm: node/partitionName option -> listMarkus Kowalewski2018-10-30
| | | | | | | Make the node and partitionname options lists. There can be more than paratition or set of nodes. Add changes to release notes
* nixos/slurm: fix obselete string typeMarkus Kowalewski2018-10-30
|
* nixos/slurm: add slurmdbd to moduleMarkus Kowalewski2018-10-30
| | | | | * New options "services.slurm.dbdserver.[enable,config]" * Add slurmdbd to test slurm.nix
* nixos/slurm: run ctld as user and fix spool dirMarkus Kowalewski2018-10-30
| | | | | | | | * run as user 'slurm' per default instead of root * add user/group slurm to ids.nix * fix default location for the state dir of slurmctld: (/var/spool -> /var/spool/slurmctld) * Update release notes with the above changes
* nixos/slurm: add option clusterNameMarkus Kowalewski2018-09-08
| | | | | slurm 18.08 requires ClusterName to be set (set to default).
* nixos/slurm: remove propagatedBuidInputs from slurmWrappedMarkus Kowalewski2018-06-02
| | | | propagatedBuildInputs = [ cfg.package etcSlurm ]; had no effect
* slurm: add freeipmi, readline, libssh2, fix hwlocMarkus Kowalewski2018-06-02
| | | | | | | | * add freeipmi to get power meter readings * readline support for scontrol * libssh2 support for X11 supporta * Add note to enableSrunX11 in module * fix hwloc support (was detected by configure)
* nixos/slurm: Add man pages to wrapedSlurmMarkus Kowalewski2018-06-02
| | | | | | | | | The nixos module adds a new derivation to systemPackages to make sure that the binaries get the generated config file. This derivation did not contain the man pages so far. Activating the module now makes the man pages available in the system environment.
* nixos/slurm: Extend configuration optionsMarkus Kowalewski2018-06-02
| | | | | | | | * Updated SrunX11 option * Added extraPlugstackConfig parameter * Added option enableStools * Add cgroup.conf to module * Fix some typos
* nixos/slurm: fix xml tag mismatch in manualUli Baum2018-05-24
| | | | | build of nixos manual broke because of mismatched xml tags in an option description introduced in #41016.
* nixos/slurm: enable munge by default, added note to slurm descriptionMarkus Kowalewski2018-05-24
|
* slurm/module: add ProcTrackType option to unbreak default setupMarkus Kowalewski2018-05-24
|
* slurm-spank-x11: init at 0.2.5Markus Kowalewski2018-01-25
|
* slurm: 15-08-5-1 -> 17.02.6, slurm-llnl -> slurmDmitry Kalinkin2017-07-13
|
* slurm service: robust reference to slurm bin outputJoachim Fasting2016-05-28
|
* slurm service: fix typo in option descriptionJoachim Fasting2016-05-28
|
* nixos: Provide a defaultText for type = packageaszlig2016-02-17
| | | | | | | | | We don't want to build all those things along with the manual, so that's what the defaultText attribute is for. Unfortunately a few of them were missing, so let's add them. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* slurm service: improve configLancelot SIX2015-12-25
|
* slurm: impl basic configurationArseniy Seroka2015-03-07
|
* slurm: impl simple serviceArseniy Seroka2015-03-07