Page MenuHomePhabricator

[Epic] AQS 2.0 should have complete runbooks covering services validated by SRE
Open, MediumPublic11 Estimated Story Points

Description

Background/Goal

In order for Test Kitchen, to be able to sustainably own and maintain the AQS 2.0 framework and its associated services it is key that we have operational runbooks that ingrain the knowledge necessary to solve the majority of well known problems and provide information to help diagnose and resolve issues, generally.

At present, there are no runbook templates(@hnowlan @Joe is that a lie?), however, there are existing examples on wikitech.

KR/Hypothesis(Initiative)

n/a

Success Criteria

  • An SRE with no prior experience of AQS is comfortable responding to an AQS 2.0 service issue
  • A Test Kitchen developer with no prior experience of AQS is comfortable responding to an AQS 2.0 service issue
  • It is straightforward to create a runbook for a new AQS 2.0 service

Success metrics

  • All existing AQS 2.0 services have runbooks that have been reviewed by Test Kitchen and an SRE from a different team or area of Data Platform Engineering.
  • Run a simulated outage of an AQS 2.0 service?

In scope

  • All AQS 2.0 services and supporting libraries, components etc

Out of Scope

  • Tools, systems, components that are not encapsulated by AQS 2.0 - this is hard to bound - but go package are relevant but k8s is not

Artifacts & Resources

Event Timeline

• WDoranWMF triaged this task as Medium priority.
• WDoranWMF set the point value for this task to 11.Oct 17 2023, 11:13 AM
• WDoranWMF renamed this task from [Epic] AQS 2.0 should have complete and independently tests runbooks covering services to [Epic] AQS 2.0 should have complete runbooks covering services.Oct 17 2023, 12:27 PM
• WDoranWMF removed • VirginiaPoundstone as the assignee of this task.
• VirginiaPoundstone renamed this task from [Epic] AQS 2.0 should have complete runbooks covering services to [Epic] AQS 2.0 should have complete and independently tests runbooks covering services.Oct 17 2023, 12:27 PM
• WDoranWMF renamed this task from [Epic] AQS 2.0 should have complete and independently tests runbooks covering services to [Epic] AQS 2.0 should have complete runbooks covering services validated by SRE.Oct 17 2023, 12:32 PM
• WDoranWMF edited projects, added: Test Kitchen; removed: Test Kitchen (Sprint 02).

Looking at something like the API gateway page on wikitech is a good start for structure imo, but given the relative simplicity of the services the runbook or runbooks can most likely be a LOT shorter.

  • what the services talk to
  • how the service is configured (the standard Kubernetes helmfile system)
  • how traffic is routed (if you make a stub I can fill this bit in)
  • how the different services differ

When writing the docs, think about them as opaque objects. Don't assume the reader knows about the internals or development process (or even golang unless necessary)

Brainstorming failure cases would also be useful, what might incur failure, what failure looks like.