2021-02-18: release-tools cannot create protected tags
Note: In some cases we need to redact information from public view. We only do this in a limited number of documented cases. This might include the summary, timeline or any other bits of information, laid out in out handbook page. Any of this confidential data will be in a linked issue, only visible internally. By default, all information we can share, will be public, in accordance to our transparency value.
Summary
release-tools is not able to create protected tags on gitlab-foss project, this blocks the monthly release preperation
2021-02-18 10:54:55.620824 F Rake::Task -- Task failed -- Exception: Gitlab::Error::BadRequest: Server responded with code 400, message: You are not allowed to create this tag as it is protected.. Request URI: https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-foss/repository/tags
Timeline
All times UTC.
2021-02-18
-
10:54- 13.9.0-RC42 tagging failure -
11:20- @nolith declares incident in Slack. -
11:25- @nick.thomas identified that we are affected by gitlab-org/gitlab#321658 (closed) and gitlab-org/gitlab#321564 (closed) -
11:25- @nolith allows release-tools-bot to push in the*protected-branch rule to continue RC42 tagging, this mitigates the incident
Corrective Actions
Click to expand or collapse the Incident Review section.
Incident Review
Summary
- Service(s) affected: ServiceGitLab Rails
- Team attribution: groupsource code
- Time to detection: 3 days since the first user report gitlab-org/gitlab#321564 (closed)
- Minutes downtime or degradation: the regression lasted for about 3 days. It delayed the monthly release process by 30 minutes
Metrics
Customer Impact
-
Who was impacted by this incident? (i.e. external customers, internal customers)
- external users with multiple protected tags rules matching the same tag
- internal customer: teamDelivery
-
What was the customer experience during the incident? (i.e. preventing them from doing X, incorrect display of Y, ...)
- preventing them to create protected tags
-
How many customers were affected?
- N/A
-
If a precise customer impact number is unknown, what is the estimated impact (number and ratio of failed requests, amount of traffic drop, ...)?
- ...
What were the root causes?
Incident Response Analysis
-
How was the incident detected?
- ...
-
How could detection time be improved?
- ...
-
How was the root cause diagnosed?
- ...
-
How could time to diagnosis be improved?
- ...
-
How did we reach the point where we knew how to mitigate the impact?
- ...
-
How could time to mitigation be improved?
- ...
-
What went well?
- ...
Post Incident Analysis
-
Did we have other events in the past with the same root cause?
- ...
-
Do we have existing backlog items that would've prevented or greatly reduced the impact of this incident?
- ...
-
Was this incident triggered by a change (deployment of code or change to infrastructure)? If yes, link the issue.
- ...
Lessons Learned
- There is an high pressure on release managers by the time they have to tag RC42. We don't exercise tagging pipelines that oftens, and many things could change between a failure and the previuous successfull run of the same pipeline - (see also #3652 (closed) as an example)
Guidelines
Resources
- If the Situation Zoom room was utilised, recording will be automatically uploaded to Incident room Google Drive folder (private)