From Fedora Project Wiki
No edit summary
(Undo revision 390795 by Phracek (talk))
 
Line 2: Line 2:


== Summary ==
== Summary ==
The Preugrade Assistant is a tool to help people upgrade from one release to another and be sure to track important manual configuration changes they performed.  
The PreUgrade assistant is a tool to help people upgrade from one release to another and be sure to track important manual configuration changes they performed.  


== Owner ==
== Owner ==
* Name: [[User:phracek| Petr Hracek]]
* Name: [[User:nphilipp| Nils Philippsen]]
* Email: <phracek@redhat.com>
* Email: <nils@redhat.com>


== Current status ==
== Current status ==
* Targeted release: [[Releases/22 | Fedora 22 ]]  
* Targeted release: [[Releases/20 | Fedora 20 ]]  
* Last updated: 2015-06-25
* Last updated: 2013-01-25
* Percentage of completion: 0%
* Percentage of completion: 0%
See progress on https://github.com/phracek/preupgrade-assistant.


== Detailed Description ==
== Detailed Description ==
The idea behind the The Preupgrade Assistant came from the notion that even during the rather short release cycles in Fedora occasionally there are changes that are incompatible between releases and which are either hard or nearly impossible to cover during a standard package upgrade. Examples would be major version upgrades of applications or services that change configuration file syntax or on-disk date format changes.
The idea behind the The PreUpgrade assistant came from the notion that even during the rather short release cycles in Fedora occasionally there are changes that are incompatible between releases and which are either hard or nearly impossible to cover during a standard package upgrade. Examples would be major version upgrades of applications or services that change configuration file syntax or on-disk date format changes.


The Preupgrade Assistant works by analyzing the source system and will generate a report which will offer information and configuration files for typically changed settings and services. It offers a plugin architecture where component or functional area owners can contribute and write their on plugins in python that can generate additional information for the report.
The assistant works by analyzing the source system and will generate a report which will offer information and configuration files for typically changed settings and services. It offers a plugin architecture where component or functional area owners can contribute and write their on plugins in python that can generate additional information for the report.


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 24: Line 22:


== Scope ==
== Scope ==
The Preupgrade Assistant is a standalone tool that doesn't affect any other component in the system. The scope for Fedora 22 is to provide the basic framework and initial plugins for general use. Additional component or functional area plugins rely on component owners to actively help working on them.
The PreUpgrade assistant is a standalone tool that doesn't affect any other component in the system. The scope for Fedora 19 is to provide the basic framework and initial plugins for general use. Additional component or functional area plugins rely on component owners to actively help working on them.


== How To Test ==
== How To Test ==
# Install the tool via 'yum install preugrade-assistant'
# Install the tool via 'yum install preugrade-assistant'
# Run the analysis stage via 'preupg' which reports summary at the end
# Run the analysis stage via 'preupgrade-assistant --collect /var/tmp/preupgrade-data-dir/'
# Run the report stage via 'preupgrade-assistant --report /var/tmp/preupgrade-data-dir/'
# Verify that the information in the report is accurate and consistent with the actual configuration of the system
# Verify that the information in the report is accurate and consistent with the actual configuration of the system


== User Experience ==
== User Experience ==
The Preupgrade Assistant should provide some additional help to upgrading systems via FedUp. While FedUp can do the 'mechanical' part of an update really well there can be scenarios that need interaction and/or descisions from the admin prior or after the actual upgrade which is where the report from the Preupgrade assistant can come in to give some guidance on what needs to be done.
The PreUpgrade assistant should provide some additional help to upgrading systems via FedUp. While FedUp can do the 'mechanical' part of an update really well there can be scenarios that need interaction and/or descisions from the admin prior or after the actual upgrade which is where the report from the PreUpgrade assistant can come in to give some guidance on what needs to be done.


== Dependencies ==
== Dependencies ==
Except python and some basic python bindings for rpm and a few other tools there are none at the moment. Depending on the anaconda storage lib we might want to require that at some point as well but it's unsure if that is in the scope for Fedora 22.
Except python and some basic python bindings for rpm and a few other tools there are none at the moment. Depending on the anaconda storage lib we might want to require that at some point as well but it's unsure if that is in the scope for Fedora 19.


== Contingency Plan ==
== Contingency Plan ==
As this tool is fully independant the contingency plan is to move it to Fedora 22 should we not be satisfied with the readiness of it by the time of Feature Freeze for Fedora 22. As it should be fully self-contained, it could even be introduced at a later point in the Fedora 19 life-cycle.
As this tool is fully independant the contingency plan is to move it to Fedora 20 should we not be satisfied with the readiness of it by the time of Feature Freeze for Fedora 19. As it should be fully self-contained, it could even be introduced at a later point in the Fedora 19 life-cycle.


Additionally we currently investigate if we shouldn't add this functionality into fedup in cases where fedup probes for an upgrade and detects it can't do it due to dependency issues or any other problems where we could then create that report instead and let the admin know what he'd have to do in order to replicate his current system and settings on a fresh install of the latest release.
Additionally we currently investigate if we shouldn't add this functionality into fedup in cases where fedup probes for an upgrade and detects it can't do it due to dependency issues or any other problems where we could then create that report instead and let the admin know what he'd have to do in order to replicate his current system and settings on a fresh install of the latest release.
Line 49: Line 48:


== Release Notes ==
== Release Notes ==
* The Preupgrade Assistant is a new tool to help prior to upgrading a system with FedUp to get a report of the current state of the system and help the admin after the upgrade has completed to ensure all reported configurations are still correct.
* The PreUpgrade Assistant is a new tool to help prior to upgrading a system with FedUp to get a report of the current state of the system and help the admin after the upgrade has completed to ensure all reported configurations are still correct.
 
== Comments and Discussion ==
* See [[Talk:Features/PreUpgrade_Assistant]]


[[Category:FeaturePageIncomplete]]
[[Category:FeaturePageIncomplete]]

Latest revision as of 14:54, 29 October 2014

Preupgrade Assistant

Summary

The PreUgrade assistant is a tool to help people upgrade from one release to another and be sure to track important manual configuration changes they performed.

Owner

Current status

  • Targeted release: Fedora 20
  • Last updated: 2013-01-25
  • Percentage of completion: 0%

Detailed Description

The idea behind the The PreUpgrade assistant came from the notion that even during the rather short release cycles in Fedora occasionally there are changes that are incompatible between releases and which are either hard or nearly impossible to cover during a standard package upgrade. Examples would be major version upgrades of applications or services that change configuration file syntax or on-disk date format changes.

The assistant works by analyzing the source system and will generate a report which will offer information and configuration files for typically changed settings and services. It offers a plugin architecture where component or functional area owners can contribute and write their on plugins in python that can generate additional information for the report.

Benefit to Fedora

The PreUpgrade assistant is basically in addition to FedUp and offers additional help for upgrading systems from one release to a future one.

Scope

The PreUpgrade assistant is a standalone tool that doesn't affect any other component in the system. The scope for Fedora 19 is to provide the basic framework and initial plugins for general use. Additional component or functional area plugins rely on component owners to actively help working on them.

How To Test

  1. Install the tool via 'yum install preugrade-assistant'
  2. Run the analysis stage via 'preupgrade-assistant --collect /var/tmp/preupgrade-data-dir/'
  3. Run the report stage via 'preupgrade-assistant --report /var/tmp/preupgrade-data-dir/'
  4. Verify that the information in the report is accurate and consistent with the actual configuration of the system

User Experience

The PreUpgrade assistant should provide some additional help to upgrading systems via FedUp. While FedUp can do the 'mechanical' part of an update really well there can be scenarios that need interaction and/or descisions from the admin prior or after the actual upgrade which is where the report from the PreUpgrade assistant can come in to give some guidance on what needs to be done.

Dependencies

Except python and some basic python bindings for rpm and a few other tools there are none at the moment. Depending on the anaconda storage lib we might want to require that at some point as well but it's unsure if that is in the scope for Fedora 19.

Contingency Plan

As this tool is fully independant the contingency plan is to move it to Fedora 20 should we not be satisfied with the readiness of it by the time of Feature Freeze for Fedora 19. As it should be fully self-contained, it could even be introduced at a later point in the Fedora 19 life-cycle.

Additionally we currently investigate if we shouldn't add this functionality into fedup in cases where fedup probes for an upgrade and detects it can't do it due to dependency issues or any other problems where we could then create that report instead and let the admin know what he'd have to do in order to replicate his current system and settings on a fresh install of the latest release.

Documentation

  • To Be written:
    • Overall documentation
    • How to run
    • How to write plugins

Release Notes

  • The PreUpgrade Assistant is a new tool to help prior to upgrading a system with FedUp to get a report of the current state of the system and help the admin after the upgrade has completed to ensure all reported configurations are still correct.

Comments and Discussion