Statistics
| Branch: | Tag: | Revision:

root @ 2a2f9ffa

# Date Author Comment
2a2f9ffa 10/07/2013 02:37 pm Christos Stavrakakis

cyclades: Refactor network-modify command

Refactor snf-manage network-modify command. Remove options that modified
link, mac_prefix, mode, enable_dhcp or state of the network. This
options modified only the network in DB and resulted in incosistencies
between Cyclades DB and Ganeti.

a52cc1b4 10/07/2013 02:37 pm Christos Stavrakakis

cyclades: Refactor code for renaming a server

Created function for renaming a server.

91f7a08c 10/07/2013 02:37 pm Christos Stavrakakis

cyclades: Fix server-modify management command

  • Change --set-suspended and --unsuspended to --suspended=True|False
  • Removed --set-deleted as snf-manage server-remove can be used.
  • Removed option for modifying the state of a server.
60a71437 10/07/2013 02:37 pm Christos Stavrakakis

cyclades: Resize server from management command

Add the --flavor option in server-modify management command to resize a
server to a different flavor.

35f2fc07 10/07/2013 02:37 pm Christos Stavrakakis

cyclades: Add --action option in server-modify cmd

Add --action option in server modify command, to start, stop or reboot
an instance.

5d1f6b84 10/07/2013 12:48 pm Christos Stavrakakis

cyclades: Fix bug in backend_allocator

The 'disk_template' attribute for flavors of external disk template
included the name of the provider. The backend allocator tried to find a
backend with an enabled 'ext_$(provider)' disk template. This commit
fixes this by searching only for 'ext' in the enabled disk templates.

09ab7b18 10/04/2013 05:26 pm Christos Stavrakakis

Revert "snf-deploy: Make public network a FIP pool"

This reverts commit d25a778a0d7890cefc354a1860f8996a0eb1fcaa.

d25a778a 10/04/2013 04:46 pm Christos Stavrakakis

snf-deploy: Make public network a FIP pool

c3139cfd 10/04/2013 04:46 pm Christos Stavrakakis

deploy: Set default quota for floating IPs

010e6c43 10/03/2013 06:37 pm Giorgos Korfiatis

ci: Fix install script

Check correctly for environment variable $VIRTUAL_ENV;
pass option -N in `setup.py develop'.

ed0dd751 10/03/2013 05:55 pm Ilias Tsitsimpis

snf-deploy: Change email backend file location

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.

77582ddd 10/03/2013 05:36 pm Nanakos Chrysostomos

Merge branch 'feature-pithos-performance-optimizations' into develop

8b5c1106 10/03/2013 03:17 pm Sofia Papagiannaki

pithos: Provide tests for requests with timestamps

ae0a4858 10/03/2013 02:52 pm Nanakos Chrysostomos

pithos: Fix latest version list with specific timestamp

Return the sorted list of the latest attributes keys

7da2d1bd 10/03/2013 02:45 pm Christos Stavrakakis

cyclades: Add missing migration for commit 3bb0b11

106659f1 10/03/2013 12:02 pm Ilias Tsitsimpis

snf-ci: Add --no-colors options

By default use a colorful output.

329705c8 10/03/2013 11:37 am Ilias Tsitsimpis

snf-ci: Check uniqueness of build_ids

If the user tries to overwrite a build_id that is
already in use, exit with an error message.

c3c8297e 10/03/2013 11:19 am Christos Stavrakakis

cyclades: Add 'server-remove' management command

Implement server-remove management command that deletes an instance from
a Ganeti backend. The command will wait by default for the
OP_INSTANCE_REMOVE job to complete, except if --wait=False is used.

87835e94 10/02/2013 11:27 pm Nanakos Chrysostomos

pithos: Fix timestamps

3bb0b117 10/02/2013 04:27 pm Christos Stavrakakis

cyclades: Add 'on_delete' to all ForeignKeys

Add 'on_delete' argument to all ForeignKeys. The value of this
argument depends on the type of each relation.

dd45dcae 10/02/2013 04:12 pm Giorgos Korfiatis

docs: Improve development environment setup

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

73756651 10/02/2013 04:05 pm Christos Stavrakakis

cyclades: Fix bug in update_cluster callback

Decorate 'update_cluster' callback with 'handle_message_delivery' to
handle acknowledgement of messages.

2c21381e 10/02/2013 04:05 pm Christos Stavrakakis

cyclades: Remove custom ForUpdateManager

Remove custom manager that implemented select_for_update(), since this
is already implemented in Django 1.4.

26515bc1 10/02/2013 04:05 pm Christos Stavrakakis

cyclades: Remove custom ProtectedDeletedManager

Remove custom ProtectedDeletedManager. Instead use the
ForeignKey.on_delete attribute that has been introduced in Django 1.4.

7f857fcc 10/02/2013 02:17 pm Ilias Tsitsimpis

deploy: Exit with message and not with code

d38bdeb7 10/02/2013 02:06 pm Ilias Tsitsimpis

snf-deploy: Exit when fab command fails

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.

09aa843b 10/02/2013 12:50 pm Christos Stavrakakis

deploy: Add python-django to wheezy conf files

0500dae6 10/02/2013 12:21 pm Christos Stavrakakis

snf-deploy: Manually install django

Manually install python-django in order to get the correct version.

7585f464 10/02/2013 11:24 am Ilias Tsitsimpis

ci: Use ci_wheezy.conf as the default ci config

569f852b 10/02/2013 10:47 am Nanakos Chrysostomos

pithos: Remove unused variable.

5feb9900 10/01/2013 09:16 pm Christos Stavrakakis

cyclades: Add missing queue

QUEUE_CLUSTER must be included in QUEUES.

a8ae6989 10/01/2013 08:27 pm Christos Stavrakakis

cyclades: Make disk_templates work with Ganeti<2.8

'enabled_disk_templates' cluster attribute has been added in Ganeti 2.8.
If this attribute is missing, return the ipolicy disk templates.

e4011adc 10/01/2013 08:06 pm Christos Stavrakakis

cyclades: Fix typo

c3362463 10/01/2013 07:44 pm Christos Stavrakakis

cyclades: Fix bug in custom field

Rename get_db_prep_value to get_prep_value. In django 1.4 the second one
is just a wrapper for the first one.

7435e91f 10/01/2013 06:59 pm Christos Stavrakakis

deploy: python-django squeeze-backports

6b256427 10/01/2013 06:56 pm Christos Stavrakakis

Request Django=>1.4, <1.5

Drop support for Django 1.2. Remove compatibility code that were used in
order to support Django 1.2 and 1.4. Finally update django documentation
link in the docs.

b694875c 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

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

00c7a496 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: fix is_safe attribute of template filters

In Django 1.4 'is_safe' and 'needs_autoescape' attributes has been made
keyword arguments of @register.filter

a0abbade 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: Remove setup_environ

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

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

36d450e8 10/01/2013 05:45 pm Christos Stavrakakis

cyclades: Callback for cluster modifications

Extend snf-dispatcher callbacks with one to run every time an
OP_CLUSTER_ opcode is executed in a Ganeti backend.

  • make snf-ganeti-eventd send messages on cluster modifications. These
    messages do not contain any description about the job....
09d07554 10/01/2013 05:45 pm Christos Stavrakakis

docs: Add docs about disk_templates attribute

f98e9f6f 10/01/2013 04:58 pm Giorgos Korfiatis

astakos: Avoid spaces in field names

Rename fields in component-list management command so that they do not
contain spaces.

b3adfb20 10/01/2013 04:44 pm Christos Stavrakakis

deploy: Fix parsing of the service token

20b4f43b 10/01/2013 03:09 pm Giorgos Korfiatis

Merge branch 'feature-component-base-url' into develop

51356707 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Fix service update

When registering a service that already exists, update its attributes.

5bbc6340 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Remove trailing slash from example URLs

Since endpoint URLs do not end with slash any more, adapt base and ui URL
examples for uniformity.

eb765213 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Store base URL in component

Deployer should provide it when adding a new component. Service endpoints
originating from a component are expected to match its base URL; otherwise,
a warning is issued during service registration. Re-registration with...

6ef1e2eb 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Show component details

Introduce management command `component-show', which lists component
attributes, including a list with the related registered services.

774f683b 10/01/2013 02:56 pm Giorgos Korfiatis

docs: Upgrade sketch for 0.15

8fef6ab4 10/01/2013 11:37 am Christos Stavrakakis

Merge branch 'feature-disk-templates' into develop

1da50fe3 10/01/2013 11:37 am Christos Stavrakakis

cyclades: Refactor backend-update-status cmd

The command has been changed to no longer take any arguments or options.
Instead, this command always updates the resources and the enabled disk
templates of all online Ganeti backends.

f15bf3d9 10/01/2013 11:37 am Christos Stavrakakis

Allocate VMs based on enabled disk-templates

Remove the ARCHIPELAGO_BACKENDS setting. Instead allocate VMs based on
the disk-templates that are enabled and allowed in ipolicy for each
backend. The command 'snf-manage backend-update-status' can be used to...

b704b537 10/01/2013 11:37 am Christos Stavrakakis

cyclades: Display disk-templates in backend-list

c9976c84 10/01/2013 11:37 am Christos Stavrakakis

cyclades: Extend Backend model with disk_templates

Extend 'Backend' models with 'disk_template' attribute, that contains
the list of disk templates that are available in each backend.

54975d37 10/01/2013 11:31 am Christos Stavrakakis

cyclades: Add SeparatedValuesList field

Add custom field for storing a list of values in DB. The values
are stored as a TextField separated by a delimiter.

c7828946 09/30/2013 05:28 pm Ilias Tsitsimpis

snf-ci: Create new section, even with -n option

f58f96a5 09/30/2013 05:22 pm Ilias Tsitsimpis

snf-deploy: Return the correct exit code

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.

38dcf43f 09/30/2013 05:20 pm Ilias Tsitsimpis

snf-deploy: Return the correct exit code

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.

2cbdb63f 09/30/2013 05:12 pm Ilias Tsitsimpis

snf-ci: Fix a race condition

When creating a new build_id to be used by snf-ci,
we have to lock the ci_temp_conf file.

e11296b4 09/30/2013 04:05 pm Ilias Tsitsimpis

snf-deploy: Remove misplaced `raise'

508d6d51 09/30/2013 04:04 pm Ilias Tsitsimpis

snf-deploy: Remove misplaced `raise'

7aa13555 09/30/2013 03:43 pm Ilias Tsitsimpis

snf-deploy Use symbolic debian_base_url

For debian_base_url use a link that always resolves
to the latest image.

2ede0463 09/30/2013 03:43 pm Ilias Tsitsimpis

snf-deploy: Abort has been changed to True

By default abort when a command is failed to be executed.

0e6e73d3 09/30/2013 03:39 pm Ilias Tsitsimpis

snf-deploy: Abort has been changed to True

By default abort when a command is failed to be executed.

6be91b06 09/30/2013 03:39 pm Ilias Tsitsimpis

snf-deploy Use symbolic debian_base_url

For debian_base_url use a link that always resolves
to the latest image.

4a7b190f 09/30/2013 03:25 pm Nanakos Chrysostomos

pithos: Optimize latest_attribute_keys

pep8 fixes

b64a6cb5 09/30/2013 01:35 pm Sofia Papagiannaki

snf_django: Decode the mocked userid to a unicode object

d82d3e82 09/30/2013 01:32 pm Ilias Tsitsimpis

snf-deploy: Remove old keys before generating new

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

9772cb94 09/30/2013 01:31 pm Ilias Tsitsimpis

snf-deploy: Add `generated' note to resolv.conf

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

28991d59 09/30/2013 01:29 pm Ilias Tsitsimpis

snf-deploy: Add `generated' note to resolv.conf

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.

02905e15 09/30/2013 01:29 pm Ilias Tsitsimpis

snf-deploy: Remove old keys before generating new

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

f1800130 09/30/2013 12:15 pm Ilias Tsitsimpis

deploy: Pep8 fixes

Conflicts:
snf-deploy/fabfile.py

f4cb5d92 09/30/2013 12:14 pm Ilias Tsitsimpis

deploy: Modify dir for filebased email_backend

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.

8299ef23 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Rename depricated HttpRequest attribute"

This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

4a021fd1 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: fix is_safe attribute of template filters"

This reverts commit 730fb3b0a0607bba95b90db1c6154cb7febb9187. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

27724645 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Remove setup_environ"

This reverts commit a813a25117f3db14d5517f630d6d0e163a58b0f8. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

68d7a31d 09/27/2013 04:34 pm Christos Stavrakakis

reconciliation: Strip Ganeti IP addresses

Strip spaces from Ganeti IP addresses, since they are not automatically
ignored in newer versions of ipaddr.

cfc4b87c 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

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

730fb3b0 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: fix is_safe attribute of template filters

In Django 1.4 'is_safe' and 'needs_autoescape' attributes has been made
keyword arguments of @register.filter

a813a251 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Remove setup_environ

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

0eb1f53a 09/27/2013 02:13 pm Ilias Tsitsimpis

Fix a python syntax error

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.

abef6c80 09/27/2013 02:13 pm Dionysis Grigoropoulos

docs: Update quick install guide

e5e62972 09/27/2013 12:38 pm Giorgos Korfiatis

cyclades: Return the newest vm object upon creation

The server_command decorator commits the just created object and retrieves
it back from the database. Return the latter, because the former is stale
in memory.

8e908571 09/27/2013 11:07 am Mpampis Stylianopoulos

Merge branch 'feature-admin-guide-corrections' into develop

a1d0f147 09/27/2013 10:49 am Christos Stavrakakis

cyclades: Remove commit_manually decorator

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.

554ef175 09/27/2013 10:49 am Christos Stavrakakis

astakos: Replace commit_manually decorator

Replace commit_manually decorator with commit_on_success, since the
functions that were using this decorator did not really needed it.

60b59fed 09/26/2013 02:47 pm Ilias Tsitsimpis

astakos: Fix `save() got unexpected argument'

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

b2b32926 09/26/2013 01:04 pm Ilias Tsitsimpis

astakos: Don't use `user.__dict__'

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

2a2c6c0a 09/25/2013 03:56 pm Ilias Tsitsimpis

deploy: Modify dir for filebased email_backend

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.

215f94f4 09/25/2013 03:56 pm Ilias Tsitsimpis

deploy: Pep8 fixes

feec1494 09/25/2013 03:43 pm Christos Stavrakakis

ci: Frist try to use SynnefoCIWheezy image

b249aba9 09/25/2013 03:43 pm Christos Stavrakakis

ci: Fix addition of Ganeti RAPI user

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

59ab0466 09/25/2013 03:26 pm Nikos Skalkotos

docs: Remove snf-image.rst

Make all snf-image references link directly to the official
snf-image documentation

660086d9 09/25/2013 01:32 pm Nikos Skalkotos

docs: Remove obsolete installation instructions

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.

5beef175 09/25/2013 01:20 pm Nikos Skalkotos

docs: Update the links to snf-image's documetation

The snf-image documentation is hosted under:
http://www.synnefo.org/docs/snf-image/

cbf73c9d 09/25/2013 12:18 pm Ilias Tsitsimpis

deploy: Install rabbitmq from Debian repos

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.

0e553052 09/25/2013 12:11 pm Giorgos Korfiatis

astakos: Fix project identification in test

Test was mistakenly using application id rather than project id in
some occasions.

bbefd4d7 09/25/2013 12:09 pm Giorgos Korfiatis

astakos: Fix quota API test

Sort list before comparing, since ordering in the response data is
not specified. Triggered when run with postgres.

8d2c08e4 09/25/2013 10:55 am Christos Stavrakakis

ci: Use -U when installing with pip