Fix the issue with openldap pkg install on ssh and http proxy VMs
Issue:
Both ssh and http proxy deploys in staging cluster failed with one of packages can't be installed:
[ 48.571990] cloud-init[997]: failed: [127.0.0.1] (item=openldap-servers) => {"ansible_loop_var": "item", "changed": false, "failures": [], "item": "openldap-servers", "msg": "Depsolve Error occured: \n Problem: conflicting requests\n - nothing provides openldap(x86-64) = 2.6.6 needed by openldap-servers-2.6.6-3.el9.x86_64 from epel", "rc": 1, "results": []}
Cause:
The openldap package has been updated to version 2.6.8 in the epel.
However, openldap-servers
pkg is not updated in epel yet. Since the openldap(x86-64) = 2.6.6 is removed due to the update and openldap-servers-2.6.6 depends on openldap-2.6.6, we can't install openldap-servers pkg.
Proposed solution:
-
Either remove the openldap-servers pkg from the list since we only use openldap as a client, and we are not setting up an openldap-server (already provided by Bright on the headnode) OR
-
Build the pkg yourself and upload it to S3. Update the pkg list in ansible task to install the pkg from the s3 location.