lp:~wgrant/juju-deployer/slaughter-suboordinate-slumber

Created by William Grant and last modified
Get this branch:
bzr branch lp:~wgrant/juju-deployer/slaughter-suboordinate-slumber
Only William Grant can upload to this branch. If you are William Grant please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
William Grant
Project:
juju-deployer
Status:
Merged

Recent revisions

201. By William Grant

Fix potential crash if units is None.

200. By William Grant

Refactor subordinate 60-second sleep away.

r146 caused add_units to wait 60 seconds for every subordinate service.
This was to avoid a crash when it attempted to retrieve the number of
units of the service before Juju had had a chance to include the service
in status output yet. But add_units just skips any subordinate service
anyway, so a much less slow fix is to just move the subordinate check to
the top of the loop.

I also cleaned up some tests which patched the mock environment to skip
the formerly dreadfully slow bits of add_units.

199. By Tim Van Steenburgh

v0.9.2

198. By Tim Van Steenburgh

Send juju version stderr to /dev/null

197. By Tim Van Steenburgh

[johnsca] Fix series in charm URL being ignored

196. By Tim Van Steenburgh

v0.9.1

195. By Tim Van Steenburgh

Reformat to fix linting error

194. By Tim Van Steenburgh

[james-page] Deal with either Machine or machine when determining placement

This ensures compatibility with juju 1 and 2.

193. By Tim Van Steenburgh

[james-page] Ensure machines are added in numerical order

Avoids a race where its possible for machine '1' to be created first, and
then machine '0' appears in machines, so it never actually gets added to
the environment and subsequent placement is completely foobar.

192. By Tim Van Steenburgh

[davidpbritton] Convert relpath to abspath for juju2

Branch metadata

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

Subscribers