charm doesn't work in bionic with bionic landscape-client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client-charm |
Fix Committed
|
Undecided
|
Simon Poirier |
Bug Description
I branched https:/
Then I deployed it like this:
juju deploy ./landscape-
I already had a cs:bionic/ubuntu container deployed, so I related them together:
juju add-relation landscape-client ubuntu
That failed with this error:
unit-landscape-
config-changed is a symlink to hooks.py, which has a shebank line like this: "#!/usr/
There is no /usr/bin/python in that bionic ubuntu container, just /usr/bin/python3.
Just to see how far it would get, I made a symlink /usr/bin/python -> python3. Then I get this import error:
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
Related branches
- Chad Smith: Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 142 lines (+31/-11)5 files modifiedhooks/common.py (+13/-5)
hooks/hooks (+11/-0)
hooks/hooks.py (+4/-5)
hooks/test_hooks.py (+2/-1)
metadata.yaml (+1/-0)
Changed in landscape-client-charm: | |
status: | New → Confirmed |
assignee: | nobody → Simon Poirier (simpoir) |
Changed in landscape-client-charm: | |
status: | Confirmed → In Progress |
Changed in landscape-client-charm: | |
status: | In Progress → Fix Committed |
If I install python-minimal, which provides /usr/bin/python (python2.7), it also fails with the same import error.