Post-Release Clean-up Documentation

Overview

This document outlines the necessary steps for cleaning up resources after the release of a Fedora version. It includes actions such as removing outdated content from servers, updating mirroring configurations, and closing open issues related to the release process.

Removing N_Beta from Torrents

Description

Remove beta versions of the Fedora release from the torrent server to prevent them from being distributed. This helps focus resources on the stable release.

Steps

  1. SSH into torrent01.fedoraproject.org.

  2. Navigate to the directory containing the 40_Beta torrents.

  3. Delete the beta torrents for the 40 version.

  4. Regenerate the whitelist to exclude these torrents.

Update MirrorManager Configuration

Description

After the release, update MirrorManager to redirect requests from the development directory to the releases directory.

Steps

  1. SSH into mm-backend01.iad2.fedoraproject.org.

  2. Run the following commands to update the paths in MirrorManager:

    sudo -u mirrormanager mm2_move-devel-to-release --version=40 --category="Fedora Linux"
    sudo -u mirrormanager mm2_move-devel-to-release --version=40 --category="Fedora Secondary Arches"

Cleanup of RCs and Unnecessary Composes

Description

Remove release candidates and unnecessary composes that are no longer needed to free up storage.

Steps

  1. SSH into bodhi-backend01.iad2.fedoraproject.org or any server where Koji is mounted.

  2. Perform the following:

    • Remove all directories related to Beta and Final RCs in /pub/alt/stage/.

    • Clean up old composes by removing all but the latest in /mnt/koji/compose/branched/ and /mnt/koji/compose/40/.

    • Two weeks after release: Remove directories at /pub/fedora/linux/development/40 and /pub/fedora-secondary/development/40.

Closure of Failed Composes Issues

Description

Address and close any open issues related to failed composes to maintain the health of the Fedora release process infrastructure.

Steps

  1. Use the script available in the Fedora RelEng repository: https://pagure.io/releng/blob/main/f/scripts/misc/failed_composes_cleanup.py

    python3 failed_composes_cleanup.py
  2. Run the script to automatically identify and close open issues.