Anaconda/Features/MajorVersionUpgrades

From FedoraProject

Jump to: navigation, search

Contents

Major version upgrade capability

Summary

Support clean upgrades via lvm and/or btrfs snapshots. Only upgrades from the immediate previous release will be supported.

Owner

Current status

Detailed Description

For users not performing an N+1 version upgrade, support an alternate upgrade method in anaconda that sets them up for data and configuration file migration. An idea that has been suggested is to detect if the version you are trying to upgrade is older than N and then:

Prefer upgrades via snapshot capabilities of btrfs and lvm:

Benefit to Fedora

Not all users perform ugprades at each release. By allowing another way for users to upgrade, we can set them up for data and configuration file migration without mandating that the RPM transaction set complete perfectly in an rpm -Uvh sense.

Scope

Given that this feature is new, we should really only concentrate on the most previous release and upgrades from it. Updates via snapshots with LVM since almost all users will be using LVM.

It is also important that anaconda not gain any knowledge about configuration file formats or other specific details. Package maintainers need to ensure the RPMs can be upgraded cleanly from release to release. The goal of upgrades in anaconda is to allow users to drive the main "yum upgrade" transaction via anaconda.

Test Plan

User Experience

Dependencies

Contingency Plan

Documentation

Release Notes