Charm should not import landscape code for install hook
Bug #1331070 reported by
Adam Collard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
At the moment the install hook is a symlink to hooks.py which imports common.py which...tries to import landscape code.
This is a bootstrap problem, masked by the fact that landscape-client code is distributed by default in Ubuntu cloud images.
To post a comment you must log in.
unit-landscape- client- 1: 2014-06-17 16:27:35 INFO install Traceback (most recent call last): client- 1: 2014-06-17 16:27:35 INFO install File "/var/lib/ juju/agents/ unit-landscape- client- 1/charm/ hooks/install" , line 17, in <module> client- 1: 2014-06-17 16:27:35 INFO install from common import ( client- 1: 2014-06-17 16:27:35 INFO install File "/var/lib/ juju/agents/ unit-landscape- client- 1/charm/ hooks/common. py", line 11, in <module> client- 1: 2014-06-17 16:27:35 INFO install from landscape. configuration import ( client- 1: 2014-06-17 16:27:35 INFO install ImportError: No module named landscape. configuration
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-