MachineStateManager must enable observing new machines
Bug #616555 reported by
Gustavo Niemeyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The MachineStateManager implementation must be extended to offer an observing API which enables waiting for new machines states to be created in zookeeper, and firing a deferred when the situation is detected. The implementation of this feature should aim at satisfying the needs of the work done while handling bug #616504.
In future work, the MachineStateManager should also enable monitoring the health of Machine Agents. This is covered in bug #616559.
Related branches
lp:~niemeyer/pyjuju/state-management-watch-machines
- Gustavo Niemeyer: Approve
-
Diff: 171 lines (+133/-3)2 files modifiedensemble/state/machine.py (+40/-2)
ensemble/state/tests/test_machine.py (+93/-1)
summary: |
- Machine state must be able to observe new machines + MachineStateManager must enable observing new machines |
description: | updated |
description: | updated |
Changed in ensemble: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ensemble: | |
status: | Confirmed → Fix Committed |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.