Fix salt dependencies, such as jinja2 (Isvegg++) #124
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
salt-common
andsalt-minion
depends on a lot of python libraries, with poor version management.This has previously broken several hosts, such as
eirin
anddemiurgen
, in passing, and now breaks other hosts, such asisvegg
andorchid
.We could replace salt-minion with a homebrew one, for example bundling specific library versions in a pip virtual environment, rather than relying on compatible libraries in the debian repositories.
Since we already have some custom packages, something like a debian respository with all custom packages would probably be smart.
╰( ͡° ͜ʖ ͡° )つ──☆*:・゚
sudo pip install salt
Just for the record, the failing packages are the packages from the upstream apt repositories?
yes.
The new packages from packages.broadcom.com (ref https://saltproject.io/blog/salt-project-package-repo-migration-and-guidance/) are packaged differently than the old upstream ones. For better or for worse, they bundle all necessary deps and put the entire thing in
/opt/saltstack
. If we point our machines there, everything should probably just work.When I say they bundle all deps, it goes quite deep. A ton of precompiled shared libs like
libkrb5
andliblzma
(no openssl though), as well as a vendored python instance.