g5k-postinstall merge requestshttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests2024-03-28T22:10:18+01:00https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/99Regenerate keys of petitprince cluster for bug #142502024-03-28T22:10:18+01:00JACQUOT Pierrepierre.jacquot@inria.frRegenerate keys of petitprince cluster for bug #14250JACQUOT Pierrepierre.jacquot@inria.frJACQUOT Pierrepierre.jacquot@inria.frhttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/98[nvidia-fabricmanager] add debian12 for sirius and grat2024-03-28T14:05:20+01:00POUILLOUX Laurent[nvidia-fabricmanager] add debian12 for sirius and gratDebian 12 n'est pas inclus dans le test qui permet d'activer nvidia-fabricmanager sur les machines équipées de nvswitchDebian 12 n'est pas inclus dans le test qui permet d'activer nvidia-fabricmanager sur les machines équipées de nvswitchhttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/97[nvidia-fabricmanager] add chuc #152962024-03-12T09:10:26+01:00POUILLOUX Laurent[nvidia-fabricmanager] add chuc #15296Chuc a 4 cartes interconnectées par un nvswitch.Chuc a 4 cartes interconnectées par un nvswitch.https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/96[deploy-post-install] update sql query to fix bug #152012024-03-20T08:49:26+01:00POUILLOUX Laurent[deploy-post-install] update sql query to fix bug #15201https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/95Add Strasbourg and Fleckenstein cluster to g5k-postinstall2024-01-18T16:45:13+01:00JACQUOT Pierrepierre.jacquot@inria.frAdd Strasbourg and Fleckenstein cluster to g5k-postinstallRelated to Strasbourg and Fleckenstein's installation.Related to Strasbourg and Fleckenstein's installation.JACQUOT Pierrepierre.jacquot@inria.frJACQUOT Pierrepierre.jacquot@inria.frhttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/94Generate SSH keys for grostiti2024-01-10T17:24:42+01:00RINGOT PatriceGenerate SSH keys for grostitihttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/93[rennes] add paradoxe keys2024-01-10T15:52:38+01:00Nicolas Perrin[rennes] add paradoxe keyshttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/92[nancy][grosminet] Generate SSH keys for grosminet-12023-12-22T10:38:55+01:00EISENBART Theo[nancy][grosminet] Generate SSH keys for grosminet-1https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/91[toulouse][montcalm-10] Generate SSH key for montcalm-102023-12-13T18:19:42+01:00JACQUOT Pierrepierre.jacquot@inria.fr[toulouse][montcalm-10] Generate SSH key for montcalm-10JACQUOT Pierrepierre.jacquot@inria.frJACQUOT Pierrepierre.jacquot@inria.frhttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/90[debian10] fix bug 148782023-10-04T13:53:39+02:00CHI Yao[debian10] fix bug 14878https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/89[rennes][abacusX][roazhonX] mass add SSH keys2023-09-20T08:52:13+02:00Nicolas Perrin[rennes][abacusX][roazhonX] mass add SSH keysTo ease Igrida to MC clusters inclusion.
Generated with help of dedicated branch https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/524To ease Igrida to MC clusters inclusion.
Generated with help of dedicated branch https://gitlab.inria.fr/grid5000/reference-repository/-/merge_requests/524https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/88[hack] rework chroot setup/fix resolv.conf bug on ubuntu2023-09-13T14:21:02+02:00Pierre Neyron[hack] rework chroot setup/fix resolv.conf bug on ubuntuOn ubuntu 20.04, /etc/resolv.conf is a symlink to
/run/systemd/resolve/resolv.conf
Must be restored after the chroot hack, or the final system won't have a
working dns resolution, because /etc/resolv.conf is empty.On ubuntu 20.04, /etc/resolv.conf is a symlink to
/run/systemd/resolve/resolv.conf
Must be restored after the chroot hack, or the final system won't have a
working dns resolution, because /etc/resolv.conf is empty.https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/87[estats] regenerate ssh host keys for estats-{2..12} so that each node has a ...2023-08-31T15:16:38+02:00Pierre Neyron[estats] regenerate ssh host keys for estats-{2..12} so that each node has a different one.```
for d in 172.16.121.{2..12}; do
rm $d/*
for t in ecdsa ed25519 rsa; do
ssh-keygen -t $t -f $d/ssh_host_${t}_key -N "" -C "estats-${d##*.}.toulouse.grid5000.fr"
done
done
``````
for d in 172.16.121.{2..12}; do
rm $d/*
for t in ecdsa ed25519 rsa; do
ssh-keygen -t $t -f $d/ssh_host_${t}_key -N "" -C "estats-${d##*.}.toulouse.grid5000.fr"
done
done
```Alexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/86Add no-module option that can also be set by Kadeploy custom variables2023-08-29T15:26:19+02:00Alexandre MERLINAdd no-module option that can also be set by Kadeploy custom variablesPour https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14831
Coté configuration des sagittaire, il suffira d'ajouter dans la conf du cluster:
```conf
custom_variables:
KADEPLOY_PI_NO_MODULE = 1
```Pour https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=14831
Coté configuration des sagittaire, il suffira d'ajouter dans la conf du cluster:
```conf
custom_variables:
KADEPLOY_PI_NO_MODULE = 1
```Alexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/85split into 2 lines for Lmod/bookworm compatibility2023-08-23T07:56:30+02:00CHI Yaosplit into 2 lines for Lmod/bookworm compatibilitychanges in `/etc/profile.d/lmod.sh` for debian bookworm:
```
MODULEPATH_INIT="/etc/lmod/modulespath"
if [ -f ${MODULEPATH_INIT} ]; then
for str in $(cat ${MODULEPATH_INIT} | sed 's/#.*$//'); do # Allow end-of-line comments.
...changes in `/etc/profile.d/lmod.sh` for debian bookworm:
```
MODULEPATH_INIT="/etc/lmod/modulespath"
if [ -f ${MODULEPATH_INIT} ]; then
for str in $(cat ${MODULEPATH_INIT} | sed 's/#.*$//'); do # Allow end-of-line comments.
for dir in $str; do
if [ -d $dir ]; then
export MODULEPATH=$(/usr/share/lmod/lmod/libexec/addto --append MODULEPATH $dir)
fi
done
done
else
```
modulespath needs to be splitted into 2 lines to work finehttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/84set modulespath for debian buster-x642023-08-10T15:24:20+02:00CHI Yaoset modulespath for debian buster-x64moved from environnement-recipes>install_and_configure_modle_command.ppmoved from environnement-recipes>install_and_configure_modle_command.pphttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/83Allow forcing the net configuration2023-06-14T08:30:57+02:00Pierre NeyronAllow forcing the net configurationIf not running g5k-postinstall on the target machineIf not running g5k-postinstall on the target machinehttps://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/82Harden the get_site function2023-06-14T08:29:36+02:00Pierre NeyronHarden the get_site functionRaise an error if the IP is unknown, instead of returning SITE_IP_RANGE
itself!Raise an error if the IP is unknown, instead of returning SITE_IP_RANGE
itself!https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/81Fix error in the module section when using the --no-ref-api option2023-06-13T14:59:32+02:00Pierre NeyronFix error in the module section when using the --no-ref-api optionTraceback (most recent call last):
g5k-postinstall:837:in `<main>': undefined method `[]' for nil:NilClass
(NoMethodError)Traceback (most recent call last):
g5k-postinstall:837:in `<main>': undefined method `[]' for nil:NilClass
(NoMethodError)https://gitlab.inria.fr/grid5000/g5k-postinstall/-/merge_requests/80Bypass some steps if norefapi is set2023-06-13T14:57:37+02:00Nicolas PerrinBypass some steps if norefapi is set