<commit_before>.. _usage_old:

Usage for MOS 6.x/7.0/8.0
=========================

Conditions and Limitations
--------------------------

- Should be run on Fuel Master under root
- Supports only MOS versions: 6.x, 7.0, 8.0 and 9.x.
- Supports only Ubuntu
- Doesn't start puppet which means that doesn't apply fixes which are in puppet manifests
- Doesn't change configuration files
- Needs separate restart for some non OpenStack services (RabbitMQ, MySQL, CEPH and etc)
- Patches should have absolute target path

Local repos mirrors
-------------------

If nodes don't have access to http://mirror.fuel-infra.org/ you can create and sync
local mirrors on Fuel if it has:

.. code-block:: console

 ansible-playbook playbooks/create_mirrors.yml -e '{"env_id":<env_id>}'

Then for the using them you to add **fuel_url** external variable:

.. code-block:: console

 ansible-playbook playbooks/apply_mu.yml -e '{"env_id":<env_id>,"fuel_url":"http://<FUEL_IP>:8080"}'

.. _`Step flags`: ../playbooks/vars/steps.yml


Preparations
------------

#. First of all we would recommend to gather current customizations:

   .. code-block:: console

    ansible-playbook playbooks/gather_customizations.yml -e '{"env_id":<env_id>}'

   `Step flags`_:
<commit_msg>Update usage_old.rst<commit_after>.. _usage_old:

Usage for MOS 6.x/7.0/8.0
=========================

Conditions and Limitations
--------------------------

- Should be run on Fuel Master under root
- Supports only MOS versions: 6.x, 7.0, 8.0 and 9.x.
- Supports only Ubuntu
- Doesn't start puppet which means that doesn't apply fixes which are in puppet manifests
- Doesn't change configuration files
- Needs separate restart for some non OpenStack services (RabbitMQ, MySQL, CEPH and etc)
- Patches should have absolute target path

Local repos mirrors (If nodes don't have access to http://mirror.fuel-infra.org/)
-------------------

If nodes don't have access to http://mirror.fuel-infra.org/ you can create and sync
local mirrors on Fuel if it has:

.. code-block:: console

 ansible-playbook playbooks/create_mirrors.yml -e '{"env_id":<env_id>}'

Then for the using them you to add **fuel_url** external variable:

.. code-block:: console

 ansible-playbook playbooks/apply_mu.yml -e '{"env_id":<env_id>,"fuel_url":"http://<FUEL_IP>:8080"}'

.. _`Step flags`: ../playbooks/vars/steps.yml


Preparations
------------

#. First of all we would recommend to gather current customizations:

   .. code-block:: console

    ansible-playbook playbooks/gather_customizations.yml -e '{"env_id":<env_id>}'

   `Step flags`_:

{'fraction_non_alphanumeric': 0.16867002714230322, 'fraction_numerical': 0.011632415664986429, 'mean_word_length': 3.3, 'pattern_counts': {'":': 8, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6464843', 'n_tokens_mistral': 879, 'n_tokens_neox': 770, 'n_words': 274}