Created by Thomas Herve and last modified
Get this branch:
bzr branch lp:~therve/pyjuju/subordinates-relation-check
Only Thomas Herve can upload to this branch. If you are Thomas Herve please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Thomas Herve

Recent revisions

619. By Thomas Herve

Ignore the scope when checking subordinate

618. By Kapil Thangavelu

Properly encode maas tags in urls.

Hopefully the last in the sordid history of maas tag support. Revno 616 reverted
attempts to string serialize tags for urls, but which had broken constraint
comparisions. Those string serialization had been attempt in revno 597 and 598
to encode maas tags properly for maas client usage. This branch properly
captures the raw tags string for use by the client, while preserving the
constraint comparisons restored in revno 616.


617. By Martin Packman

Fix os-scheduler-hints constraint to pass correct json layout [r=hazmat,jameinel]

616. By Kapil Thangavelu

Fix broken maas-tags constraint.

The maas tags wasn't properly converting values for comparision
and was not previously testing tag constraint comparisons.

615. By Kapil Thangavelu

Unit process multiple relations in defined order.

Previously when unit agents were being notified of multiple relations, typicaly
at startup, they would process them in essentially random order. This would
complicate things for applications that would have peer relations as well, for
ha or replication, as they couldn't tell if they were being run standalone or
in a cluster/quorum. Instead when a unit has multiple relations, we process
peer relations first followed by client/server relations.


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.