"python-hosts" missing dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
userdir-ldap-charms |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On Jammy install fails with python_hosts module missing
```
2023-05-15 14:03:37 WARNING unit.ud-
2023-05-15 14:03:37 WARNING unit.ud-
2023-05-15 14:03:37 WARNING unit.ud-
2023-05-15 14:03:37 WARNING unit.ud-
2023-05-15 14:03:37 WARNING unit.ud-
2023-05-15 14:03:37 WARNING unit.ud-
2023-05-15 14:03:37 ERROR juju.worker.
2023-05-15 14:04:49 DEBUG unit.ud-
```
workaround is to run on the unit
pip install python-hosts
tags: | added: bseng-1193 |
Changed in charm-userdir-ldap: | |
status: | New → Confirmed |
tags: | added: good-first-bug |
Changed in charm-userdir-ldap: | |
importance: | Undecided → Medium |
There was an attempted fix for this committed for bug 2012099, but the results don't appear in the charmhub-published version on edge (15) perhaps because the fix was implemented via a Makefile, which charmcraft.yaml (and therefore the Launchpad builders) do not invoke.
I'm currently running from a local charm generated with "make build", which works nicely.
The suggested workaround is not ideal for most of our environments because egress traffic is strictly filtered.