Commit 0ff59436 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

Add 0.13 support and note role-coexistance issues

Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 00f5f8e4
......@@ -25,6 +25,8 @@ The following apply to ``astakos`` node. In the following sections
we will refer to its IP as ``accounts.example.com`` . Make sure
you have db, mq, apache and gunicorn setup already.
IMPORTANT: Currently if astakos coexists with cyclades/pithos roles, your setup is prone to csrf attacks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First install the corresponding package:
......@@ -53,6 +55,13 @@ In `/etc/synnefo/astakos.conf` add:
ASTAKOS_COOKIE_DOMAIN = 'example.com'
If ``astakos`` is on the same node with ``cyclades`` or ``pithos``, add the following
line in `/etc/synnefo/astakos.conf` but please note that your setup will be prone to
csrf attacks:
.. code-block:: console
MIDDLEWARE_CLASSES.remove('django.middleware.csrf.CsrfViewMiddleware')
Then initialize the Database and register services with:
......
......@@ -25,6 +25,8 @@ The following apply to ``cms`` node. In the following sections
we will refer to its IP as ``cms.example.com`` . Before install make sure
you have db, apache and gunicorn setup already.
IMPORTANT: Currently cms cannot coexist with astakos, synnefo and pithos roles
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First install the corresponding package:
......
......@@ -26,10 +26,13 @@ The following apply to ``cyclades`` node. In the rest of the sections
we will refer to its IP with FQDN ``cyclades.example.com``.Please make sure you have
db, mq, gunicorn, apache, webproject, pithos and astakos already setup.
Install the corresponding package:
Install the corresponding package. Please note that memcache is needed for
versions >= 0.13 :
.. code-block:: console
# apt-get install memcached
# apt-get install python-memcache
# apt-get install snf-cyclades-app
In `/etc/synnefo/cyclades.conf` add:
......@@ -68,6 +71,9 @@ In `/etc/synnefo/cyclades.conf` add:
AMQP_HOSTS = ["amqp://synnefo:example_rabbitmq_passw0rd@mq.example.com:5672"]
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
VMAPI_BASE_URL = 'https://cyclades.example.com/'
Restart services and initialize database:
......
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