Closed Bug 1619962 Opened 5 years ago Closed 5 years ago

deletion scripts

Categories

(Socorro :: General, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(2 files)

Need to rework scripts for deleting crash report data from crash storage.

I need these this week, so I'm making this a P1.

Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P1

Brian said we should do a script for now. We'll run it against a file holding crash ids. We'll need to give the node it's running on the required permissions. The script should raise permission issues and be able to run multiple times.

Things to do:

  1. write a basic test so this doesn't break over time without anyone knowing
    1. that's easier after converting to click for arguments handling
  2. write a runbook covering steps to remove crash data, verification, and caveats

I wrote up a runbook in Mana.

Still need to do a sanity test.

Brian: Can you read through the runbook steps and make sure they're correct? If not, can you fix them?

https://mana.mozilla.org/wiki/display/SVCOPS/Socorro#Socorro-Deletingcrashreportdata

Thank you!

Flags: needinfo?(bpitts)
Flags: needinfo?(bpitts)

I want to redo arg parsing to use click and that'll make it easier to write a test for this.

What's left here isn't P1 work, so I'm dropping this to P3.

Priority: P1 → P3

willkg merged PR #5394: "bug 1619962: rework deletion scripts to use click and add basic test" in ef7114f.

This code doesn't touch servers, so I'm going to mark it as FIXED now.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: