Merge "Upgrade from Liberty to latest Mitaka"

This commit is contained in:
Jenkins
2016-10-04 16:45:34 +00:00
committed by Gerrit Code Review
8 changed files with 92 additions and 19 deletions

View File

@@ -13,5 +13,6 @@ Fuel Installation Guide
fuel-install-guide/bootstrap_intro
fuel-install-guide/plugins_intro
fuel-install-guide/vsphere_intro
fuel-install-guide/update-fuel
fuel-install-guide/upgrade_intro
fuel-install-guide/preinstall_intro

View File

@@ -0,0 +1,73 @@
.. _update_fuel:
============================
Update Fuel to latest Mitaka
============================
A number of the Fuel Newton features are back-ported to Mitaka after
the Fuel Mitaka release. You can update the Fuel Master node to consume
these features.
**To update the Fuel Master node from the initially released Mitaka to the latest Mitaka version:**
#. Log in to the Fuel Master node CLI as root.
#. Verify that the update repository, for example, ``mos-update``, is available
in the list of your repositories:
.. code-block:: console
cat /etc/yum.repos.d/mos-updates.repo
If the update repository is unavailable, run:
.. code-block:: console
yum-config-manager --add-repo=http://mirror.fuel-infra.org/mos-repos/centos/mos9.0-centos7/updates/x86_64/
rpm --import http://mirror.fuel-infra.org/mos-repos/centos/mos9.0-centos7/updates/RPM-GPG-KEY-mos9.0
#. Clean the YUM cache:
.. code-block:: console
yum clean all
#. Install a code-based integrity check tool Cudet. This tool also includes
the necessary update commands for ``fuel2``:
.. code-block:: console
yum install python-cudet
#. Prepare the Fuel Master node for the Noop run:
.. code-block:: console
update-prepare prepare master
This command installs new ``fuel-nailgun`` and ``fuel-astute``
packages on the Fuel Master node. Also, it executes Nailgun ``dbsync``
and restarts the ``astute`` and ``nailgun`` services.
If any ``fuel-nailgun`` extension is already installed on the Fuel Master node, the
``update-prepare`` script does not restart the Nailgun services.
You should restart the Nailgun services manually using the following
command:
.. code-block:: console
systemctl restart assassind nailgun oswl_flavor_collectord \
oswl_image_collectord oswl_keystone_user_collectord \
oswl_tenant_collectord oswl_vm_collectord oswl_volume_collectord \
receiverd statsenderd
#. Update the Fuel Master node packages, services, and configuration:
.. code-block:: console
update-prepare update master
.. warning:: During the update procedure, the Fuel Master node services
will be restarted automatically.
The script calls ``yum update`` and then runs Puppet tasks to update
the Fuel Master node.

View File

@@ -1,8 +1,8 @@
.. _upgrade-internals:
====================================
Overview of the Fuel upgrade process
====================================
========
Overview
========
The upgrade is implemented with upgrade engines, which are python
modules:

View File

@@ -1,10 +1,10 @@
.. _upgrade-patch-top-ug:
.. _upgrade_liberty:
============================
Upgrade the Fuel Master node
============================
==============================
Upgrade Fuel Liberty to Mitaka
==============================
You can upgrade the Fuel Master node to the latest Fuel version.
You can upgrade the Fuel Master node from Liberty to Mitaka.
After you upgrade Fuel, you can only deploy new environments of the
corresponding Fuel version. Environments deployed using older versions
of Fuel will remain operational.
@@ -13,14 +13,9 @@ of Fuel will remain operational.
#. Verify that no installations are in progress in any of your OpenStack
environments.
#. Back up the Fuel Master node as described in :ref:`back-up-fuel`.
#. Power off the Fuel Master node.
#. Restore the Fuel Master node to the latest version as described in
:ref:`restore-fuel`.
#. Restore the Fuel Master node as described in :ref:`restore-fuel`.
#. If you want to use CentOS-based bootstrap, rebuild the bootstrap image:
.. code-block:: console
@@ -32,6 +27,10 @@ of Fuel will remain operational.
When Fuel completes the upgrade procedure, the *New Release available*
message appears in the :guilabel:`Releases` tab.
Now, you can update to the latest Mitaka version that includes some features
back-ported from Newton after the Mitaka release.
.. seealso::
* :ref:`update_fuel`
* :ref:`install_configure_bootstrap`

View File

@@ -13,9 +13,7 @@ This section includes the following topics.
:maxdepth: 1
upgrade/upgrade-internals
upgrade/backup-fuel
upgrade/restore-fuel
upgrade/upgrade-fuel
upgrade/upgrade-liberty
upgrade/upgrade-local-repo
.. note:: Fuel does not support upgrades for plugins. The old plugin

View File

@@ -15,6 +15,8 @@ This section includes the following topics:
.. toctree::
:maxdepth: 1
maintain-environment/backup-fuel
maintain-environment/restore-fuel
maintain-environment/remove-node.rst
maintain-environment/redeploy-node.rst
maintain-environment/access-shell.rst

View File

@@ -52,4 +52,4 @@ Now, you can upgrade or restore the Fuel Master node from the backup files.
.. seealso::
* :ref:`restore-fuel`
* :ref:`upgrade-patch-top-ug`
* :ref:`upgrade_liberty`

View File

@@ -58,4 +58,4 @@ procedure.
.. seealso::
* :ref:`back-up-fuel`
* :ref:`upgrade-patch-top-ug`
* :ref:`upgrade_liberty`