Created by Kapil Thangavelu and last modified
Get this branch:
bzr branch lp:~hazmat/pyjuju/peers-from-hurd
Only Kapil Thangavelu can upload to this branch. If you are Kapil Thangavelu please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Kapil Thangavelu

Recent revisions

619. By Kapil Thangavelu

redo rel sorting, as peers rels can be recreated

618. By Kapil Thangavelu

clean up comments

617. By Kapil Thangavelu

clarify comment

616. By Kapil Thangavelu

test for multiple rel order

615. By Kapil Thangavelu

disambiguate multiple relations at startup, use rel creation order, which naturally implies peers first.

614. By Kapil Thangavelu

Increase zk session and ping times.

During scale testing work, one of the take aways was the default zookeeper
session time was too low, which caused issues for any transient communication
problems between the agents the zk. The managed client work landed subsequently
does recovery for this and for session expiration, but its better to avoid
the issue entirely by increasing the session time and increasing the heartbeat
time periodicity.


613. By Kapil Thangavelu

Drop orchestra provider support

The orchestra provider is dead upstream, and represents
a significant support burden on the code base. Given
hardware deployments are directed towards MaaS and no
current users, its better to drop this now.


612. By Kapil Thangavelu

Fix relation-ids cache coherency for hooks.

Relation-ids was answering questions about relations
directly from state, whilst other pieces of relation-*
cli was using a hook execution cache. This led to
odd races where a hook would query relation-ids
and then attempt to use relation-list/etc against
that relation resulting in a relation not found error.

This branch also does a drive by to improve the error
reporting for relation not found to include the relation
id where applicable.


611. By Kapil Thangavelu

[trivial] serialized execution test propogation

610. By Kapil Thangavelu

Serialized unit execution on a machine/container

To prevent races for system resources like apt between different
units running on the same machine/container a shared file lock is
taken out for hook execution. Mechanism is resistant to dead
processes holding lock, however per previous juju behavior no
timeout is provided for maximum hook execution time.


Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.