The salt minion services and salt master service get a failure showing similar errors. Journal logs showing the errors are with the salt-minion.service:
...
File "/nix/store/2fiwkq79aj64cxski7ixrf9adcqi9026-salt-3007.4/lib/python3.12/site-packages/salt/crypt.py", line 347, in _get_key_with_evict
aug 01 19:22:37 saltmaster2 salt-minion[912]: return serialization.load_pem_private_key(
aug 01 19:22:37 saltmaster2 salt-minion[912]: ^^^^^^^^^^^^^
aug 01 19:22:37 saltmaster2 salt-minion[912]: NameError: name 'serialization' is not defined
...
The shown logs with system status salt-master.service are:
...
File "/nix/store/2fiwkq79aj64cxski7ixrf9adcqi9026-salt-3007.4/lib/python3.12/site-packages/salt/crypt.py", line 347, in _get_key_with_evict
return serialization.load_pem_private_key(
NameError: name 'serialization' is not defined
During handling of the above exception, another exception occurred:
...
File "/nix/store/2fiwkq79aj64cxski7ixrf9adcqi9026-salt-3007.4/lib/python3.12/site-packages/salt/crypt.py", line 580, in __get_keys
except cryptography.exceptions.UnsupportedAlgorithm as e:
aug 01 19:22:36 saltmaster2 salt-master[831]: NameError: name 'cryptography' is not defined
...
This error blocks the use of salt. I wonder if it possible to install the previous version of salt.
Can anyone look into it? Thanks.