zookeeper finding should be the machine provider's responsibility
Bug #809319 reported by
William Reade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
EC2Connect, EC2LaunchMachine, EC2Bootstrap all directly use EC2ZookeeperAware, and all explicitly pass in the result of the provider's load_state method. It would be cleaner if all zookeeper-finding happened via the machine provider, which can find out its own state.
Related branches
lp://staging/~fwereade/pyjuju/zkaw-in-provider
- Kapil Thangavelu (community): Approve
- Gustavo Niemeyer: Approve
-
Diff: 613 lines (+249/-234)6 files modifiedensemble/providers/ec2/__init__.py (+10/-0)
ensemble/providers/ec2/connect.py (+6/-76)
ensemble/providers/ec2/findzookeepers.py (+76/-0)
ensemble/providers/ec2/launch.py (+5/-9)
ensemble/providers/ec2/tests/test_connect.py (+7/-149)
ensemble/providers/ec2/tests/test_findzookeeper.py (+145/-0)
Changed in ensemble: | |
assignee: | nobody → William Reade (fwereade) |
status: | New → In Progress |
milestone: | none → dublin |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.