sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

592
active users

#salt

0 posts0 participants0 posts today

From my fridge, noticed this morning at breakfast.

Sodium percentage of daily value (Canada)

~30 grams of fermented/pickled things in jars.

American Asparagus (3 spears) 10%
Korean Kimchi 15%
Lebanese Veg 25% (2 pieces)
German Sauerkraut 28%
Greek Stuffed Olives (4) 30%

Curiously the veg salt is super noticeable compared to the others.

#food#salt#health

Bug de Salt 3007.4 et 3006.12

Salt est l’outil que j’utilise chez Framasoft pour gérer la configuration des serveurs, y pousser des commandes, etc.
Il est de plus une pierre angulaire de Framaspace car on passe par lui pour déployer de nouveaux espaces (ou en supprimer) sur les serveurs.

D’habitude, ça fonctionne très bien, mais les dernières versions des deux versions disponibles (3007 et 3006) ont bien fichu le bazar : les minions tombait en timeout régulièrement. Ils étaient encore connectés au master, mais ne répondaient plus.

Bonne nouvelle : le problème a déjà été rapporté sur Github.

Meilleure nouvelle : il semblerait que deux des patchs suggérés dans la discussion règlent le problème !

Maintenant, comment appliquer ces patchs à tous ses minions ? Personnellement, j’en ai 126 et j’avais tout sauf envie d’aller sur chaque serveur 😅
La réponse est relativement simple : en faisant comme d’habitude et en utilisant salt 😁

Premièrement, préparer un script pour appliquer les patchs, dans le dossier des recettes salt. Dans mon cas, je l’ai mis à /srv/salt/fix-salt.sh :

cat <<EOF > /srv/salt/fix-salt.sh#!/bin/bashsed -i -e 's/^                elif self._creds\["aes"\] != creds\["aes"\]:/                elif (self._creds["aes"] != creds["aes"]) or (self._creds["session"] != creds["session"]):/' \\    '/opt/saltstack/salt/lib/python3.10/site-packages/salt/crypt.py'# Avoid patching again if already patchedif ! grep -q 'if data and data == b"bad load"' '/opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/client.py'; then    sed -i -e 's/upload the results to the master/&\n            if data and data == b"bad load":\n                yield self.auth.authenticate()\n                data = yield self.transport.send(\n                    self._package_load(load, nonce),\n                    timeout=timeout,\n                )/' \\    '/opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/client.py'fiEOFchmod +x /srv/salt/fix-salt.sh

Ensuite, on redémarre le master, pour forcer les minions à se reconnecter et donc à de nouveau répondre.

systemctl restart salt-master

Après quelques minutes, on vérifie que tout le monde répond :

salt \* test.ping

Puis on exécute le script partout :

salt \* cmd.script salt://fix-salt.sh

On s’assure que le logiciel at est bien installé partout, car on va en avoir besoin, petit à petit pour éviter que la commande soit lancée partout en même temps et que des machines virtuelles sur le même hôte ne fassent gratter les disques :

salt -b 5 \* pkg.install at

Enfin on programme un redémarrage des minions :

salt \* cmd.run 'echo "systemctl restart salt-minion" | at now + 1 minute'

Pourquoi passer par at pour redémarrer les minions et pas par la commande salt \* minion.restart ou salt \* cmd.run "systemctl restart salt-minion" ?
Et bien tout simplement parce que le minion n’aime pas être redémarré par une commande à laquelle il doit répondre. Chez moi, ce genre de commande finit toujours par me retourner une erreur, soit que le minion n’a pas répondu (puisqu’il redémarre), soit qu’il ne redémarre pas correctement. Avec at, au moins, je suis tranquille 🙂

saltproject.ioSaltproject.io

"'So far, #Salt has been the primary configuration management tool integrated tightly with #SUSE Multi Linux Manager, and will continue to be available through it. But – true to SUSE’s promise of “choice happens” – we are excited to announce a major addition: #Ansible will be introduced as an integrated part of SUSE Linux Enterprise Server (#SLES) itself.'"

suse.com/c/streamlining-your-s

www.suse.comStreamlining Your SUSE Linux Environment: Ansible Getting...%%excerpt%% SUSE is supporting Ansible as part of SUSE Linux E...

So I bought some in-store made peanut butter. The label should have said "Salt with peanut flavoring. I do keep an eye on my salt intake. A little odd for a natural/farmers/not the most obnoxious grocers, but mistakes happen. Salt is natural!!!
Anyway, I have a stash of roasted sunflower and pumpkin seeds, so I got out the old Kitchen Aide and pureed the seeds and mixed it with the PB. It looks like pea-soup, but the salt-to nut- ratio is greatly improved.

Replied in thread

@lalah

An Ioniq 5 just drove 400,000 miles, 12 to 16 years of normal drive distance, and its battery is 87% of new health.

Batteries are going to be cheaper, longer lasting and less hard to source and build than many warned.

Salt batteties, cheap plentiful salt batteries are rolling out for utilities and cars already.

energylivenews.com/2025/03/28/

warpnews.org/green-tech/seasal

MICHELADA

1½ oz lime juice
2 dashes Maggi liquid seasoning
4 dashes Worcestershire sauce
2 dashes Tabasco sauce
12 oz Mexican lager beer

Garnish: salted rim, lime wheel
Method: First, salt the rim of the glass by rubbing it with a cut-open lime and rolling it in a shallow bowl filled with Tahín or salt. Now build the drink in glass, adding ingredients in the order listed. Once the beer is in, garnish with a lime wheel and add a few small ice cubes then serve.

Maggi seasoning is really easy to find in Germany, but if not by you then soy sauce is a decent substitute. Tabasco also up for substitution according to your prefs. What isn’t negotiable is drinking this in the sunshine!

One more mod if you’re feeling sassy is to serve with a side of danger, a neat shot alongside that someone can add as they wish. Tequila and Mezcal are excellent choices!

🔗 https://potentpotables.app/drinks/michelada/

#alcohol #cocktail #cocktails #lime #juice #maggi #soy #worcester #worcestershire #tabasco #sauce #mexican #lager #beer #tahin #chili #salt #garnish #HomeBar #mixology #drinkstodon #fedithirst