As the Communications Manager on Call (CMOC) it's your job to be the voice of GitLab during an incident to our users, customers, and stakeholders. To do this you must communicate with them through our status page, Status.io.
The basics of how to create, update, and close incidents in Status.io are covered by their Incident Overview documentation. However, this document covers how we specifically use Status.io to perform those tasks.
Before getting into the actual process of managing an incident, the following sections should be noted.
Status.io should be updated whenever we have new information about an active incident that our stakeholders should be aware of. Outside of that, it should be updated at a consistent rate depending on the severity of the incident as outlined in the table below.
When you enter the situation room, take note of any updates that have been made to Status.io and the time they were made at. Set a timer to remind yourself and stick to the time intervals below unless you make a note of how long it will be until the next status update. For example, if you're in "monitoring" it may be appropriate to specify an hour before the next update.
|Incident Status||severity::1 Update Frequency||severity::2 Update Frequency||severity::3/severity::4 Update Frequency|
|Resolved||No further updates required|
Bias to action - you can post another update if there was an error in your last update.
In later sections of this workflow it's called out that at times you should be asking the IMOC of the incident for permission to move an incident between certain states (updating, monitoring, resolving). On the rare occasion that an incident does not have an IMOC, you may ask the EOC instead.
Keep in mind that you can always review past incidents if you need examples or inspiration for how to fill in the details for a current incident.
As the CMOC you'll guide the incident through the following three stages.
The following sections outline how to perform each of the steps within these stages.
The following steps should be taken immediately after receiving a PagerDuty page for an incident.
NB: "Resolved" in PagerDuty does not mean the underlying issue has been resolved.
Before you create an incident in Status.io, or immediately afterward, you should be joining The Situation Room, a permanent Zoom room that is used by the EOC, IMOC, CMOC, and anyone else within GitLab that is assisting with the resolution of an incident. A Zoom link to the room can always be found in the channel topic of #incident-management.
Your role as CMOC while in this room is to follow along while the incident is worked and make updates to Status.io either when asked or when it's necessary. Oftentimes chatter in this room will be lively, especially in the early stages of an incident while the source of the issue is being discovered. Use your best judgment on when it's appropriate to speak up to avoid vocalizing at inopportune times. You can always ping anyone on the call through Slack if you need to ask a non-urgent question about the situation.
After logging in to Status.io you should be met with the dashboard that displays various statistics about our current status. A new incident can be created by clicking
New Incident along the top bar.
This takes you to the new incident screen where you'll be asked to fill in the details of the incident. The following is an example of what a new incident would look like if we're experiencing an issue with a delay in job processing on GitLab.com.
Change the following values:
Title - Titles should be brief and concise. The incident title should answer the question: In simple terms, what is the issue?
Current State - In nearly all cases an incident should be created in the
Investigating state. If it's been communicated to you that we're aware of what is causing the current incident this could be set to
Identified from the beginning.
Details - In keeping with our value of transparency, we should go above and beyond for our audience and give them as much information as possible about the incident on its creation. This field should always include a link to the incident issue from the production issue tracker so that our audience can follow along.
Incident Status - When creating a new incident this will never be
Operational. The status of an incident depends entirely on its scope and how much of the platform it's impacting.
Broadcast - Always check each box in this section.
Message Subject - Always leave this at its default value.
Affected Infrastructure - This should almost always be unchecked so that the value of the
Incident Status field is only applied to the specific aspects of the platform that are affected by the incident. In the example above we're only experiencing an issue with job processing so only
CI/CD is selected.
To update an active incident click the incidents icon from the dashboard.
Then click on the edit button next to the incident.
Change the following values:
Current State- Change this depending on the current state of the incident and whether or not we've identified the cause (Identified) or implemented a fix (Monitoring).
Details- Be as descriptive as possible about the update and include a link to the production issue.
Broadcast- Check all boxes.
Current Status- If the incident has improved or worsened update this value. If neither, leave it as it was from when the incident was created.
Set Status Level- Uncheck this and keep only the affected component selected unless the incident has increased in scope and now affects other components of our infrastructure. IMPORTANT These must be checked individually as in the screenshot below.
A ready to be published update should look similar to the following.
Closing an incident out has two stages,
Resolved. Once the affected component is back to operating normally a monitoring period should begin where we switch an incident over to
Monitoring where it remains open for ~30 minutes to ensure that the issue does not recur. We then mark it
Resolved once we're confident the issue will not recur, which closes the incident.
The two stages of the resolution process are covered in their respective sections below.
To start the monitoring period, edit the incident, and configure the update similar to the following.
Take special note of the changes made to the following fields at this stage.
Current State- Change this to
Details- If we have not previously mentioned that a fix has been applied, do so at this stage and make specific mention that we're monitoring the system to ensure that a repeat of the issue does not occur. Make sure to include a note that All systems are online and currently fully operational.
Incident Status- At this point, the affected component should be back to normal operation, so we can flip this back to
Operational. IMPORTANT: Each component must be updated to
Once we're confident that the underlying issue that caused the incident has been fully resolved and a monitoring period has been observed, we should close the incident. Before we do so, we should check with the IMOC via Slack for the all-clear. This should be done by starting a thread on the announcement in #incident-management that started the incident and mentioning the IMOC in it. The following is what one of these messages looks like.
Once we have confirmation from the IMOC that the incident can be resolved, make an update to the incident and change the following fields.
Current State- Change this to
Details- Our message here should include a definitive statement that the issue has been resolved and that the affected component is back to operating normally. We should also aim to again include a link to the relevant issue in the production issue tracker so that any users who missed previous updates know where to go for more info.
Incident Status- Unless we forgot to change this field to
Operationalwhen our monitoring phase began we can leave this alone.
Before resolving the incident your draft should look similar to the following:
A review will be conducted by production engineering for every incident that matches a certain criteria. Status.io allows us to add a link to a post-mortem after an incident has been resolved which will then be viewable on our status page for that specific incident.
Do the following to add a post-mortem to a resolved incident:
From the dashboard click the
Scroll down and click on the title of the incident.
Add Post-Mortem and supply the link to the issue being used for the incident review.
At the end of each on-call shift its necessary to inform the next CMOC of any relevant activity that occurred during it or is still ongoing. To perform a handover create an issue in the CMOC Handover issue tracker using the Handover issue template. Create the handover issue even if nothing happened during your shift, signaling that everything is fine is also useful information. It's critical to remember that since we work out in the open by default, the CMOC Handover issue tracker is open to the public. A handover issue should be made confidential if it must contain any sensitive information.
If handover occurs during an active incident where the quick summary you'd provide in the handover issue is insufficient to properly prepare the incoming CMOC of the situation, you are encouraged to start up a quick Zoom call in the #support_gitlab-com Slack channel with the incoming CMOC. Slash commands such as the following can be used to expedite getting the meeting setup.
/zoom meeting CMOC Handover Briefing