upgrade-0.18.1.rst 2.55 KB
Newer Older
1 2 3 4 5 6
Upgrade to Synnefo v0.18.1
^^^^^^^^^^^^^^^^^^^^^^^^^^

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

7
The upgrade from v0.17 to v0.18.1 consists of the following steps:
8

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#. Bring down services::

    $ service gunicorn stop
    $ service snf-dispatcher stop
    $ service snf-ganeti-eventd stop

#. Upgrade Synnefo on all nodes to the latest version::

    astakos.host$ apt-get install \
                            snf-common \
                            python-astakosclient \
                            snf-django-lib \
                            snf-webproject \
                            snf-branding \
                            snf-astakos-app

    cyclades.host$ apt-get install \
                            snf-common \
                            python-astakosclient \
                            snf-django-lib \
                            snf-webproject \
                            snf-branding \
                            snf-pithos-backend \
                            snf-cyclades-app

    pithos.host$ apt-get install \
                            snf-common \
                            python-astakosclient \
                            snf-django-lib \
                            snf-webproject \
                            snf-branding \
                            snf-pithos-backend \
                            snf-pithos-app \
                            snf-ui-app

    ganeti.node$ apt-get install \
                            snf-common \
                            snf-cyclades-gtools \
                            snf-pithos-backend
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62


#. 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

63
      astakos.host$ /usr/lib/astakos/tools/fix_deactivated_users --all-users --noemail --fix
64

65
#. Restart services
66 67 68

  .. code-block:: console

69 70 71
     $ service gunicorn start
     $ service snf-dispatcher start
     $ service snf-ganeti-eventd start
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86


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],