Merge lp://staging/~ev/daisy/weighted-machines into lp://staging/daisy
Proposed by
Evan
Status: | Merged |
---|---|
Merged at revision: | 274 |
Proposed branch: | lp://staging/~ev/daisy/weighted-machines |
Merge into: | lp://staging/daisy |
Diff against target: |
88 lines (+59/-1) 2 files modified
daisy/utils.py (+7/-1) tools/build_errors_by_release.py (+52/-0) |
To merge this branch: | bzr merge lp://staging/~ev/daisy/weighted-machines |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daisy Pluckers | Pending | ||
Review via email: mp+153885@code.staging.launchpad.net |
Description of the change
This adds support to daisy for the new update_
The accompanying oops-repository merge is:
https:/
To post a comment you must log in.
On Mon, Mar 18, 2013 at 05:47:22PM -0000, Evan Dandrea wrote: /code.launchpad .net/~ev/ daisy/weighted- machines/ +merge/ 153885 errors_ by_release method in oops-repository. It also provides a idempotent script for populating the existing data into the new FirstError and ErrorsByRelease column families. This is for bug 1077122. /code.launchpad .net/~ev/ daisy/weighted- machines/ +merge/ 153885
> Evan Dandrea has proposed merging lp:~ev/daisy/weighted-machines into lp:daisy.
>
> Requested reviews:
> Daisy Pluckers (daisy-pluckers)
>
> For more details, see:
> https:/
>
> This adds support to daisy for the new update_
> --
> https:/
> You are subscribed to branch lp:daisy.
> === modified file 'daisy/utils.py' for_bucket_ counters( problem_ type, release, package, version): update_ bucket_ versions( oops_config, crash_signature, version) errors_ by_release' ):
> --- daisy/utils.py 2013-03-09 01:19:57 +0000
> +++ daisy/utils.py 2013-03-18 17:46:20 +0000
> @@ -1,6 +1,7 @@
> from oopsrepository import oopses
> import apt
> import os
> +import uuid
>
> def get_fields_
> fields = []
> @@ -78,6 +79,11 @@
> if version:
> oopses.
>
> + if hasattr(oopses, 'update_
> + if (system_uuid and release) and not third_party:
Why are you excluding third_party here? If we are recording errors for
systems with third party packages shouldn't they factor into the
calculation too?
> + oops_uuid = uuid.UUID(oops_id) update_ errors_ by_release( oops_uuid, system_uuid, release)
> + oopses.
> +
In the build_errors_ by_release tool you check to ensure that release
starts with Ubuntu. Is the same check missing above?
> def attach_ error_report( report, context): eption from Cassandra.
> # We only attach error report that was submitted by the client if we've hit
> # a MaximumRetryExc
The rest of the merge proposal looks good to me.
--
Brian Murray