- 03 Oct, 2013 7 commits
-
-
Ilias Tsitsimpis authored
Change Django's filebased email backend location from '/var/log/gunicorn/synnefo-mail/' to '/var/tmp/synnefo-mail/'. We do this due to permission errors.
-
Stratos Psomadakis authored
-
Ilias Tsitsimpis authored
By default use a colorful output.
-
Ilias Tsitsimpis authored
If the user tries to overwrite a build_id that is already in use, exit with an error message.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
When creating a new build_id to be used by snf-ci, we have to lock the ci_temp_conf file.
-
- 02 Oct, 2013 4 commits
-
-
Giorgos Korfiatis authored
Do not let `setup.py develop' automatically resolve dependencies, because it fails to pick the right version when multiple versions are available. Non-synnefo dependencies are expected to have been previously installed by `snf-deploy'. Also, restart server and daemons, when needed.
-
Marios Kogias authored
Update the developer's guide to include an initial section about how to set up a developing environment.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
The previous approach (using the return value from os.system for sys.exit) was false. For more information, see `how-to-bypass-the-0-255-range-limit-for-sys-exit-in-python' on stackoverflow.
-
- 30 Sep, 2013 6 commits
-
-
Ilias Tsitsimpis authored
snf-deploy uses os.system to execute it's fabfile. We have to use sys.exit() for the python script to return with the same exit code as the one returned by fabric script.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
For debian_base_url use a link that always resolves to the latest image.
-
Ilias Tsitsimpis authored
By default abort when a command is failed to be executed.
-
Ilias Tsitsimpis authored
When creating new ssh keys if the key already exists, ssh-keygen prompts the user if he want to overwrite it. To avoid prompting the user, delete all the old keys, before generating new ones (the user has to use the --force option for this to happen).
-
Ilias Tsitsimpis authored
Add a note on top of /etc/resolv.conf file to inform users that this file has been changed by snf-deploy and the immutable bit has been used. Conflicts: snf-deploy/fabfile.py
-
- 27 Sep, 2013 10 commits
-
-
Christos Stavrakakis authored
This reverts commit a813a25117f3db14d5517f630d6d0e163a58b0f8. This commit is reverted because it breaks compatibility with Django 1.2. This should be applied for Synnefo 0.15.
-
Christos Stavrakakis authored
This reverts commit 730fb3b0a0607bba95b90db1c6154cb7febb9187. This commit is reverted because it breaks compatibility with Django 1.2. This should be applied for Synnefo 0.15.
-
Christos Stavrakakis authored
This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This commit is reverted because it breaks compatibility with Django 1.2. This should be applied for Synnefo 0.15.
-
Christos Stavrakakis authored
Strip spaces from Ganeti IP addresses, since they are not automatically ignored in newer versions of ipaddr.
-
Christos Stavrakakis authored
From Django docs: """ This function temporarily modified sys.path in order to make the parent “project” directory importable under the old flat startproject layout. This function is now deprecated, as its path workarounds are no longer needed with the new manage.py and default project layout. This function was never documented or part of the public API, but it was widely recommended for use in setting up a “Django environment” for a user script. These uses should be replaced by setting the DJANGO_SETTINGS_MODULE environment variable or using django.conf.settings.configure(). """
-
Christos Stavrakakis authored
In Django 1.4 'is_safe' and 'needs_autoescape' attributes has been made keyword arguments of @register.filter
-
Christos Stavrakakis authored
From django docs: """ HttpRequest.raw_post_data renamed to HttpRequest.body This attribute was confusingly named HttpRequest.raw_post_data, but it actually provided the body of the HTTP request. It’s been renamed to HttpRequest.body, and HttpRequest.raw_post_data has been deprecated. """
-
Ilias Tsitsimpis authored
In python 2 we cannot have keyword-only arguments (PEP 3102). And even if we could, this was not the right way to declare a python function.
-
Christos Stavrakakis authored
Replace commit_manually decorator with commit_on_success, since the functions that were using this decorator did not really needed it.
-
Christos Stavrakakis authored
Replace commit_manually decorator with commit_on_success. Since network is no longer created in DB in the API request, the manually decorator is no longer needed.
-
- 26 Sep, 2013 2 commits
-
-
Ilias Tsitsimpis authored
From Django documentation: """ It’s also important that you pass through the arguments that can be passed to the model method – that’s what the *args, **kwargs bit does. Django will, from time to time, extend the capabilities of built-in model methods, adding new arguments. If you use *args, **kwargs in your method definitions, you are guaranteed that your code will automatically support those arguments when they are added. """
-
Ilias Tsitsimpis authored
In Django 1.4 the `request.user' returns a SimpleLazyObject instead of a LazyUser. The equivalent of `user.__dict__' is now `user._wrapped.__dict__'. In order to be backward compatible we are requesting explicitely the attributes we want and not all of them with __dict__.
-
- 25 Sep, 2013 11 commits
-
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Allow user to modify the directory that will be used for the filebased email backend by Django. Also move the EMAIL_BACKEND option from astakos to common.
-
Christos Stavrakakis authored
'openssl' 1.0.1e-2 prefixes the output with "(stdin)= ". Because of this registration of a new Ganeti RAPI user failed. This commit fixes this by removing the prefix, before adding it to Ganeti RAPI users file.
-
Christos Stavrakakis authored
-
Nikos Skalkotos authored
Make all snf-image references link directly to the official snf-image documentation
-
Nikos Skalkotos authored
Remove the instructions about the need to run snf-image-update-helper after the installation of snf-image. This command is ran in the post installation phase of the debian package.
-
Nikos Skalkotos authored
The snf-image documentation is hosted under: http://www.synnefo.org/docs/snf-image/
-
Ilias Tsitsimpis authored
Now that squeeze-backports has 2.8.4-1~bpo60+1 and wheezy has 2.8.4-1 version we can install rabbitmq-server from the official Debian repos.
-
Giorgos Korfiatis authored
Test was mistakenly using application id rather than project id in some occasions.
-
Giorgos Korfiatis authored
Sort list before comparing, since ordering in the response data is not specified. Triggered when run with postgres.
-
Christos Stavrakakis authored
-