Charm fails to install because of missing charmhelpers library

Bug #1967723 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-local-users
Fix Released
Undecided
Przemyslaw Lal

Bug Description

Charm needs to install charmhelpers library:

unit-local-users-8: 07:16:21 WARNING unit.local-users/8.install Traceback (most recent call last):
unit-local-users-8: 07:16:21 WARNING unit.local-users/8.install File "./src/charm.py", line 26, in <module>
unit-local-users-8: 07:16:21 WARNING unit.local-users/8.install from lib.local_users import (
unit-local-users-8: 07:16:21 WARNING unit.local-users/8.install File "/var/lib/juju/agents/unit-local-users-8/charm/src/lib/local_users.py", line 26, in <module>
unit-local-users-8: 07:16:21 WARNING unit.local-users/8.install from charmhelpers.core import host
unit-local-users-8: 07:16:21 WARNING unit.local-users/8.install ModuleNotFoundError: No module named 'charmhelpers'

Workaround is to run:
juju run -a local-users 'sudo python3 -m pip install charmhelpers'

and resolve errored units.

Related branches

Changed in charm-local-users:
status: New → Fix Committed
milestone: none → 23.04
assignee: nobody → Przemyslaw Lal (przemeklal)
Changed in charm-local-users:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.