branches with status:
Name Status Last Modified Last Commit
lp:mojo 1 Development 2019-04-19 01:25:24 UTC 2019-04-19
496. Verify nagios checks in parallel. Th...

Author: Daniel Manrique
Revision Date: 2019-04-19 01:25:24 UTC

Verify nagios checks in parallel.

This uses Python's futures module for minimal-change parallel execution of nagios checks; one parallel "juju ssh" is dispatched for each machine to check, and results are presented as they arrive. The logic and presentation stay the same otherwise.

I didn't declare futures as an explicit deb dependency (only in requirements.txt) because in the deb world, mojo depends on codetree which depends on futures, so they should always be there.

I added a couple of tests to verify the expected number of juju sshs is dispatched, and that the number of workers is properly calculated.

A possible refinement would be ability to specify a maximum number of workers; this could help if e.g. simultaneous juju ssh to a large number of units on a complex deployment causes any kind of trouble.

A couple of tweaks to the "juju ssh" command line were needed to avoid the display/pty getting borked when running several tasks in parallel, but I checked and they don't affect the visual output of things.

Reviewed-on: https://code.launchpad.net/~roadmr/mojo/parallel-nagios-check/+merge/366076
Reviewed-by: Stuart Bishop <stuart.bishop@canonical.com>

lp:mojo/mojo-specs 1 Development 2019-04-17 06:48:29 UTC 2019-04-17
136. charm-testing/content-cache: Updated ...

Author: Haw Loeung
Revision Date: 2019-04-17 06:48:29 UTC

charm-testing/content-cache: Updated config for updated charm rework

Reviewed-on: https://code.launchpad.net/~hloeung/mojo/mojo-specs-locations-locations/+merge/366155
Reviewed-by: Joel Sing <joel.sing@canonical.com>

lp:mojo/mojo-trusty-packaging 1 Development 2018-08-07 08:10:55 UTC 2018-08-07
452. [mthaddon,trivial] merge trunk

Author: Tom Haddon
Revision Date: 2018-08-07 08:10:55 UTC

[mthaddon,trivial] merge trunk

13 of 3 results