upgrade-0.18.rst 1.3 KB
Newer Older
Nikos Skalkotos's avatar
Nikos Skalkotos committed
1 2
Upgrade to Synnefo v0.18
^^^^^^^^^^^^^^^^^^^^^^^^
3 4 5 6

Upgrade Steps
=============

Nikos Skalkotos's avatar
Nikos Skalkotos committed
7 8 9 10 11 12 13
The upgrade to v0.18 consists of the following steps:

#. Stop gunicorn in all nodes

   .. code-block:: console

      # service gunicorn stop
14

15
#. Upgrade Synnefo on all nodes to the latest version (0.18)
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

   .. code-block:: console

      # apt-get update
      # apt-get upgrade

#. Run migrations on Astakos.

   .. code-block:: console

      astakos.host$ snf-manage migrate


   From this version on, user deactivation triggers suspension of all projects
   and project memberships related to the user. To apply this new policy to
   users that have already been deactivated, run:

   .. code-block:: console

35
      astakos.host$ snf-manage user-check --all-users --suspend-deactivated --noemail --fix
36

Nikos Skalkotos's avatar
Nikos Skalkotos committed
37 38 39 40 41
#. Start gunicorn

  .. code-block:: console

     # service gunicorn start
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56


New configuration options
=========================

On the admin app, there is a new access control option regarding the new modify
email action. The action setting is named 'modify_email'. The list of user
groups defined in this have access on the modify email action.

The following line (modified accordingly) should be added on 'ADMIN_RBAC'
setting under the 'user' dictionary:

.. code-block:: console

   'modify_email': [ADMIN_HELPDESK_GROUP, ADMIN_GROUP],