cloudera-labs / cloudera.cluster

An Ansible collection for lifecycle and management of Cloudera CDP Private Cloud resources on bare metal, IaaS, and PaaS.
Apache License 2.0
32 stars 48 forks source link

Fixes for PvC running on PvC with sidecar FreeIPA #120

Closed jimright closed 1 year ago

jimright commented 1 year ago

This PR has two changes required to deploy PvC on IaaS with sidecar FreeIPA (which is installed as part of the pre_setup).

  1. Added a guard condition to prevent the FreeIPA client being installed when the krb5_server Ansible host group is not defined.
  2. Revert the change in #112 which installs the psycopg2 during the db configuration. This fails when the task file is not executed as root user. Configuring of external dependency packages should be done as part of external dependencies - e.g. cloudera.cluster.infrastructure.rdbms