deploy should add peer relations automatically
Bug #803855 reported by
Juan L. Negron
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
Ensemble is not invoking the hooks for the peer interfaces.
See lp:~negronjl/+junk/tomcat6
The hooks for the peer interfaces needed for tomcat clustering are not being invoked.
Related branches
lp://staging/~hazmat/pyjuju/auto-peer
- William Reade (community): Approve
- Gustavo Niemeyer: Approve
-
Diff: 67 lines (+31/-1)2 files modifiedensemble/control/deploy.py (+14/-1)
ensemble/control/tests/test_deploy.py (+17/-0)
Changed in ensemble: | |
importance: | Medium → High |
summary: |
- peer hooks are not invoked + deploy should add peer relations automatically |
Changed in ensemble: | |
milestone: | none → dublin |
assignee: | nobody → Kapil Thangavelu (hazmat) |
Changed in ensemble: | |
status: | Confirmed → In Progress |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
i already addressed this on irc and separately via email. the peer hooks are being invoked, the problem is that the hooks have errors.
<hazmat> negronjl, so the problem with the tomcat formula is that its using relative addressing to files ensemble/ txzookeeper/ ../templates/ tomcat- server- xml-top. tmpl: No such file or directory
<hazmat> 2011-06-29 11:38:28,105 unit:tomcat6/1: hook.output ERROR: sed: can't read /usr/lib/
<hazmat> hth
<hazmat> that output is from the debug-log which is very useful for debugging problems.. as is the debug-hooks cmd
<hazmat> negronjl, there's a branch in review to ensure that formula hooks are always executed from the formula dir
<hazmat> but it hasn't landed, atm the hook PWD isn't something that can be relied on by hooks
<hazmat> and addressing paths from there should be absolute
<hazmat> negronjl, i guess in this case your trying to get to some formula included config?
<hazmat> negronjl, which will become more easier once bug 761015 is fixed
If this isn't capturing the entire issue, please add additional details.