pulp_installer does not install psycopg2 on certain managed systems
As documented in https://pulp.plan.io/issues/6725 , users must install psycopg2 on a managed system for it to work. I believe that it is currently installed for some distros but not others.
The design of the geerinlingguy.postgresql role, or if neessary the pulp_database role that wraps it, has always been to install psycopg2. If it is not being installed for the distro's default python interpreter, this is a bug.
#11 Updated by email@example.com 3 months ago
It looks like psycopg2 is not installed the dockerfile used by
molecule create. But please confirm, such as by running the container it creates: https://github.com/pulp/pulp_installer/blob/master/molecule/scenario_resources/Dockerfile.j2
We pass vars to the geerlingguy.postgresql role in our pulp_database role. Including the package name. It is likely that we no longer need to set these vars or have the user install psycopg2; that geerlingguy.postgresql has been updated to install the correct psycopg2 package it needs.
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|01a3be7c7e1cd0066374fc4794901dc530112f57.
Please register to edit this issue