Commit e8ef5269 authored by Constantinos Venetsanopoulos's avatar Constantinos Venetsanopoulos
Browse files

Minor fixes to the upgrade-0.14 guide

parent 6d5257bd
......@@ -9,6 +9,8 @@ The upgrade to v0.14 consists in three steps:
3. Register services to astakos and perform a quota-related data migration.
4. Bring up all services.
.. warning::
It is strongly suggested that you keep separate database backups
......@@ -22,7 +24,7 @@ The upgrade to v0.14 consists in three steps:
$ service gunicorn stop
$ service snf-dispatcher stop
etc.
$ service snf-ganeti-eventd stop
2. Backup databases for recovery to a pre-migration state.
......@@ -73,12 +75,15 @@ The upgrade to v0.14 consists in three steps:
snf-cyclades-gtools \
snf-pithos-backend
.. note::
Make sure `snf-webproject' has the same version with snf-common
.. note::
Installing the packages will cause services to start. Make sure you bring
them down again (at least ``gunicorn``, ``snf-dispatcher``)
2.2 Sync and migrate the database
---------------------------------
......@@ -141,14 +146,18 @@ settings (see above).
The latter is the URL that appears in the Cloudbar and leads to the
component UI. If you want to follow the default setup, set
the UI URL to ``<base_url>/ui/`` where ``base_url`` the component's base
the UI URL to ``<base_url>/ui/`` where ``base_url`` is the component's base
URL as explained before. (You can later change the UI URL with
``snf-manage component-modify <component_name> --url new_ui_url``)::
``snf-manage component-modify <component_name> --url new_ui_url``).
For example, for Astakos, if
``BASE_URL = https://accounts.example.synnefo.org/astakos``,
then ``UI_URL = https://accounts.example.synnefo.org/astakos/ui``)::
astakos-host$ snf-component-register
(proceed to the next step without running ``snf-manage resource-modify``
suggested at the end of this command)
(ATTENTION: make sure to go to the next step *WITHOUT* running
``snf-manage resource-modify``, suggested at the end of this command)
.. note::
......@@ -168,12 +177,30 @@ suggested at the end of this command)
# copy the file to astakos-host
astakos-host$ snf-manage service-import --json pithos.json
The limit on pending project applications is since 0.14 handled as an
Astakos resource, rather than a custom setting. Command::
The limit on the pending project applications is since 0.14 handled as an
Astakos resource, rather than a custom setting. So, as a last step we need
to run::
astakos-host$ astakos-migrate-0.14
will prompt you to set this limit (replacing setting
ASTAKOS_PENDING_APPLICATION_LIMIT) and then automatically migrate the
This will prompt you to set this limit (replacing setting
``ASTAKOS_PENDING_APPLICATION_LIMIT``) and then automatically migrate the
user-specific base quota for the new resource ``astakos.pending_app`` using
the deprecated user setting.
You are now done migrating from Synnefo v0.13 to v0.14. Please test your
installation to make sure everything works as expected.
4. Bring all services up
========================
After the upgrade is finished, we bring up all services:
.. code-block:: console
astakos.host # service gunicorn start
cyclades.host # service gunicorn start
pithos.host # service gunicorn start
cyclades.host # service snf-dispatcher start
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment