After bootstrapping with a custom ensembe-branch, config-get no longer works.
Bug #846129 reported by
Adam Gandelman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
Kapil Thangavelu |
Bug Description
When specifying a custom ensemble-branch in environments.yaml (ie, lp:ensemble), machines bootstrap and provision fine, but 'config-get' commands fail from within hooks and debug-hooks:
root@ip-
Traceback (most recent call last):
File "/usr/local/
execfile(
File "/usr/lib/
from ensemble.
ImportError: No module named ensemble.
Related branches
lp:~hazmat/pyjuju/custom-branch-fix-path
- Gustavo Niemeyer: Approve
-
Diff: 96 lines (+11/-10)7 files modifiedbin/close-port (+1/-1)
bin/config-get (+2/-1)
bin/ensemble-log (+3/-4)
bin/open-port (+1/-1)
bin/relation-get (+2/-1)
bin/relation-list (+1/-1)
bin/relation-set (+1/-1)
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Also affects other commands:
2011-09-09 23:45:49,582: hook.executor@ DEBUG: Running hook: /var/lib/ ensemble/ units/mysql- 4/formula/ hooks/shared- db-relation- changed db-relation- changed fired. bin/relation- get", line 7, in <module> __file_ _) ensemble/ ensemble/ bin/relation- get", line 8, in <module> hooks.commands import relation_get hooks.commands
2011-09-09 23:45:49,743: unit.hook.api@INFO: HOOK: shared-
2011-09-09 23:45:49,907: unit.hook.api@INFO: mysql - shared-db: Relation CHANGED
2011-09-09 23:45:49,977: hook.output@ERROR: Traceback (most recent call last):
File "/usr/local/
execfile(
File "/usr/lib/
from ensemble.
ImportError: No module named ensemble.
2011-09-09 23:45:49,980: hook.output@DEBUG: hook shared- db-relation- changed exited, exit code Traceback (most recent call last): errors. FormulaInvocati onError: Error processing '/var/lib/ ensemble/ units/mysql- 4/formula/ hooks/shared- db-relation- changed' : exit code 1.
Failure: ensemble.