~therve/pyjuju/validate-config-values

« back to all changes in this revision

Viewing changes to juju/agents/unit.py

  • Committer: kapil.thangavelu at canonical
  • Date: 2012-04-12 18:39:20 UTC
  • mfrom: (509.1.4 managed-zk-client)
  • Revision ID: kapil.thangavelu@canonical.com-20120412183920-jjrhrpibxzkexk1v
merge managed-zk-client, also fix trunk test, and disable topo migration [r=fwereade]

 juju now uses the txzookeeper.managed Client which automatically restablishes 
 sessions recreating presence nodes and triggering extant watches.

 This also fixes some subordinte changes, namely a broken lxc test, and disables the 
 transparent topology migration as without accompanying code changes to running agents
 it will cause problems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
            current_state = yield self.workflow.get_state()
219
219
            log.debug("Configuration Changed")
220
220
 
221
 
            if  current_state != "started":
 
221
            if current_state != "started":
222
222
                log.debug(
223
223
                    "Configuration updated on service in a non-started state")
224
224
                returnValue(None)