forked from fedora-copr/copr
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now referenced bot by the "release" and "upgrade" documentation.
- Loading branch information
Showing
4 changed files
with
106 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
.. _announcing_fedora_copr_outage: | ||
|
||
Fedora Copr Outages | ||
=================== | ||
|
||
This document is primarily intended for planning outages due to future | ||
infrastructure updates. However, in the event of any incidents or accidents | ||
such as networking issues, IBM Cloud problems, Fedora Rawhide repository issues, | ||
or any other matters that affect users, it's advisable to refer to this document | ||
(possibly jump directly to the "Ongoing State" section). | ||
|
||
.. warning:: | ||
|
||
Schedule an outage even if it needs to occur within the next 5 minutes! | ||
|
||
Please familiarize yourself with the `Fedora Outage SOP`_. But in general, | ||
follow the steps outlined in this document. | ||
|
||
Planned outage | ||
-------------- | ||
|
||
1. Prepare the infrastructure ticket similar to `this old one <https://pagure.io/fedora-infrastructure/issue/10854>`_. | ||
|
||
2. Send email to `copr-devel`_ mailing list informing about an upcomming | ||
release. We usually copy-paste text of the infrastructure ticket created in a | ||
previous step. Don't forget to put a link to the ticket at the end of the | ||
email. See the `example <https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted.org/message/FVVX3Y7IVRTFW3NYVBTWX3AK3BHNRATX/>`_. | ||
|
||
3. Send ``op #fedora-buildsys MyIrcNick`` message to ``ChanServ`` on | ||
libera.chat to get the OP rights, and then adjust the channel title so it | ||
starts with message similar to:: | ||
|
||
Planned outage 2022-08-17 20:00 UTC - https://pagure.io/fedora-infrastructure/issue/10854 | ||
|
||
4. Ditto for the Matrix channel. TODO: we need to get admin access there. | ||
|
||
5. Create a new "planned" `Fedora Status SOP`_ entry. | ||
|
||
6. Create warning banner on Copr homepage:: | ||
|
||
copr-frontend warning-banner --outage_time "2022-12-31 13:00-16:00 UTC" --ticket 1234 | ||
|
||
|
||
Ongoing outage | ||
-------------- | ||
|
||
When the outage begins to cause real effects | ||
|
||
1. Change the "planned" `Fedora Status SOP`_ entry into an "ongoing" entry. | ||
|
||
2. Announce on ``#fedora-buildsys``, change title like | ||
``s/Planned outage ../OUTAGE NOW .../`` and send some message like | ||
``WARNING: The scheduled outage just begings!``. | ||
|
||
3. Announce on Matrix. | ||
|
||
|
||
Resolved outage | ||
--------------- | ||
|
||
1. Remove the "Outage" note from the ``#fedora-buildsys`` and Matrix title. | ||
|
||
2. Send a message on ``fedora-buildsys`` that the outage is over! | ||
|
||
3. Send email to `copr-devel`_ mailing list. If there is some important change | ||
you can send email to fedora devel mailing list too. Mention the link to the | ||
"Highlights from XXXX-XX-XX release" documentation page. | ||
|
||
4. Propose a new "highlights" post for the `Fedora Copr Blog`_, | ||
see `the example | ||
<https://github.com/fedora-copr/fedora-copr.github.io/pull/55/files>`_. | ||
|
||
5. Close the Fedora Infra ticket. | ||
|
||
6. Change the "ongoing" `Fedora Status SOP`_ entry into a "resolved" one. | ||
|
||
7. Remove the warning banner from frontend page using | ||
``copr-frontend warning-banner --remove`` | ||
|
||
|
||
.. _`copr-devel`: https://lists.fedoraproject.org/archives/list/copr-devel@lists.fedorahosted.org/ | ||
.. _`Fedora Outage SOP`: https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/outage/ | ||
.. _`Fedora Status SOP`: https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/status-fedora/ | ||
.. _`Fedora Copr Blog`: https://fedora-copr.github.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters