Page MenuHomeDevCentral

Python packages for paas-docker are installed in Salt onedir, not at global level
Open, NormalPublic

Description

SaltStack moved from OS-compliant packaging to "onedir packaging" to manage its own Python version.
That means packages installed through pip are now only for Salt, provisioned in /opt/saltstack too.

As such, here what happens on paas-docker:

$ ls /opt/saltstack/salt/pypath/bin
check_container_present  check_http_200  docker-compose  dotenv  jsonschema  normalizer  wsdump.py

$ docker-compose
zsh: command not found: docker-compose

We can see the two check files and docker-compose are both intended to be available for the whole userland, not only for Salt.

Files and packages affected

  • roles/paas-docker/devel/software.sls for docker-compose
  • roles/paas-docker/monitoring/init.sls for platform-checks

Event Timeline

dereckson triaged this task as Normal priority.Aug 10 2024, 11:52
dereckson created this task.