lp:~hazmat/pyjuju/maas-tags-redux
- Get this branch:
- bzr branch lp:~hazmat/pyjuju/maas-tags-redux
Branch merges
- Juju Engineering: Pending requested
-
Diff: 133 lines (+34/-9)5 files modifiedjuju/lib/serializer.py (+3/-1)
juju/machine/tests/test_constraints.py (+1/-0)
juju/providers/maas/provider.py (+2/-2)
juju/providers/maas/tests/test_provider.py (+28/-4)
juju/unit/lifecycle.py (+0/-2)
Related bugs
Bug #1119671: Service deploy with a maas-tags constraint fails | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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.R=bcsaller
CC=
https://codereview. appspot. com/7341044 - 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.R=bcsaller
CC=
https://codereview. appspot. com/7231079 - 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.R=bcsaller
CC=
https://codereview. appspot. com/7241062 - 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.R=jimbaker
CC=
https://codereview. appspot. com/7237043 - 609. By Kapil Thangavelu
-
Disable charm store stats when testing.
When JUJU_TESTING is set to a non empty string value.
- Disable charm stats when getting charm-info or downloading charms.
When JUJU_TESTING is set to 'fast'
- For test instance startup speed, diable apt update/upgrade, also
propogates to provisioning agent.R=gary.poster, teknico
CC=
https://codereview. appspot. com/7143043 - 608. By Kapil Thangavelu
-
Environments have uuids (regression fix for subs)
Previous environment uuid work caused issues with subordinates, added
an additional test and one line fix for. Fixes bugshttps:/
/bugs.launchpad .net/juju/ +bug/1100245
https://bugs.launchpad .net/juju/ +bug/1100348 R=jimbaker
CC=
https://codereview. appspot. com/7092055 - 607. By Kapil Thangavelu
-
Environments have uuids.
Data collection tools that want to operate on multiple environments need
to be unambigiously refererence an identity for the environment. This
branch introduces a JUJU_ENV_UUID variable, available in hooks for this
purpose.R=bcsaller
CC=
https://codereview. appspot. com/7092055
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:pyjuju