Statistics
| Branch: | Tag: | Revision:

root @ d75ee447

# Date Author Comment
3c626269 09/17/2013 10:46 am Christos Stavrakakis

deploy: Fix importing services to astakos

Use snf-manage service-export and service-import management commands to
import services and corresponding resources to astakos. Also, remove old
temporary files that were used for this procedure.

b4135a1b 09/17/2013 10:46 am Christos Stavrakakis

cyclades: Make GanetiRapiClient work with gevent

GanetiRapiClient uses PyCurl, a Python interface to libcurl, and
performs blocking requests, so does not work well with gevent. This
commit makes GanetiRapiClient to use 'Requests' HTTP library that is
greenlet-safe.

d75ee447 09/17/2013 10:46 am Christos Stavrakakis

deploy: By default use only file disk template

By default snf-deploy will not enable lvm and drbd storage. So, the
default setting for flavors should include only 'file' disk template.

281c7634 09/16/2013 05:17 pm Ilias Tsitsimpis

ci: Change run_burnin exit status

Make run_burnin snf-ci function to exit with the same
exit code as snf-burnin did.

34716139 09/16/2013 11:45 am Ilias Tsitsimpis

snf-burnin: Add a missing `return'

9ac7842b 09/16/2013 11:41 am Ilias Tsitsimpis

snf-burnin: `system-images-user' is not mandatory

`system-images-user' flag is not mandatory when one
uses the `show-stale' flag.

83aa2ea5 09/16/2013 11:00 am Ilias Tsitsimpis

snf-deploy: Fix pithos_url in register

New version of kamaki accepts the location of
images to register as container:file instead of the old
one "pithos://uuid/location".

980c2592 09/16/2013 11:00 am Ilias Tsitsimpis

snf-burnin: Change exit code to 1 for errors

When burnin test cases fail, return 1 as exit code.

eaae0a32 09/13/2013 10:28 pm Erethon

snf-deploy: fix a bug in --disable-colors option

f68199bd 09/13/2013 04:27 pm Giorgos Korfiatis

docs: Design of resource-pool projects

7faef88f 09/12/2013 07:04 pm Constantinos Venetsanopoulos

docs: Make plankton index page obsolete

6e490691 09/12/2013 05:39 pm Dionysis Grigoropoulos

ci: update ci/schemas/one_node/synnefo.conf

6c51153a 09/12/2013 05:01 pm Dionysis Grigoropoulos

snf-deploy: add flavor options in synnefo.conf

a06c276e 09/12/2013 02:34 pm Sofia Papagiannaki

pithos: Acquire locks in alphabetical path order in copy object

d47565d8 09/12/2013 01:09 pm Build Bot

Revert "pithos: Use pithos backend as context manager"

This reverts commit 23b41f6fefa1a066748810c4642e58e18a4b83f9.

23b41f6f 09/12/2013 11:06 am Sofia Papagiannaki

pithos: Use pithos backend as context manager

Substitue pre_exec() and post_exec()

48bb9c89 09/12/2013 10:22 am Sofia Papagiannaki

pithos: Add missing locks

_lookup_container() locks the container path
but it was not called by some write backend methods
which expected the container path to be locked.

In those cases optionally _lookup_object() calls
the _lookup_container() in order to lock the container path....

af395b9c 09/12/2013 10:15 am Sofia Papagiannaki

Revert "pithos: conditional select for update in lookup account"

This reverts commit 8a7ddfb0545348849d99fb686fec51659cbead58.

Select for update is not useful in case of account creation.
If there is no such account, 0 rows are returned
so there are no rows locked.

fbc82ad1 09/10/2013 04:05 pm Constantinos Venetsanopoulos

astakos: fix verification message

The new registration process of Astakos allows to verify the new
user's email before actually activating the user:

1. User signs up providing an email
2. A verification email is sent to the user (with verification link)...

4111c53e 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: fix typos

90858bda 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Update NICs even if job failed

Make snf-ganeti-eventd send the NICs of the instance not only on
success, but also if the job has failed or has been canceled. Also,
update snf-dispatcher to handle those messages. This step is required to
clear BUILDING NICs that fail.

c9fefba3 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Store action to the VM

1464a17b 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Fix bug in reconciliation

VMs at building error that do not exist in Ganeti must not be reported
as stale. The VM is stale only if the user has asked to destroy the VM,
and so the action is DESTROY.

c1b7f449 09/10/2013 03:29 pm Christos Stavrakakis

Update objpool dependency to version 0.3

051e47f8 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Make index field of NIC optional

Change 'index' field of NIC model to be optional, because the index of
building NICs is unknown. Also, change all API responses to return only
the active NICs.

2a2b01e5 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Create NIC before send job to Ganeti

Create NICs in building state before enqueuing corresponding jobs to
Ganeti. This has already been done when creating the instance, but not
when connecting it to other networks.

14267d89 09/10/2013 02:27 pm Constantinos Venetsanopoulos

docs: Add new figure: Synnefo overall stack

Update the index page to refer to the new figure.
Keep the detailed view figure only on the Admin Guide.

3a5994a8 09/09/2013 01:59 pm Sofia Papagiannaki

Pithos: Catch invalid hashmap input

Refs: #3745

76ef2478 09/09/2013 01:59 pm Sofia Papagiannaki

pithos: Remove obsolete backend method

905bb10b 09/07/2013 05:59 pm Christos Stavrakakis

ci: Include user images and config improvements

Include the user images in the list of images that are matched against
the image name from the config file. Also, change config file to use
archipelago flavors and create instances from the SynnefoCI image.

6958ffc6 09/07/2013 05:30 pm Christos Stavrakakis

ci: Verify values of image and flavor options

4e680fed 09/07/2013 05:30 pm Christos Stavrakakis

ci: Allow multiple commands in snf-ci script

Allow snf-ci script to accept a comma seperated list of commands to run.

2e208584 09/06/2013 06:52 pm Sofia Papagiannaki

pithos: Add missing import

e7e3df52 09/06/2013 06:20 pm Sofia Papagiannaki

pithos: Fix AttributeError in tests

f53483d8 09/06/2013 05:46 pm Sofia Papagiannaki

pithos: Add tests

7bc95d52 09/05/2013 01:11 pm Ilias Tsitsimpis

docs: Improve snf-burnin documenation

f6d499b0 09/04/2013 07:49 pm Sofia Papagiannaki

pithos: Set attr lock_container_path during backend initialization

3d08cdca 09/04/2013 07:48 pm Sofia Papagiannaki

astakos: Fix approval_terms view

Fix crash when request user is not logged in.
Add tests

de8fb87d 09/02/2013 03:40 pm Sofia Papagiannaki

pithos: Destroy test database after test execution
:
Pithos uses a pool for the backend objects.
Pooled backend objects override the default close behavior
and return the object to the pool instead.
Therefore, django was unable to destroy the database
since there were active connections....

f5bbcb5d 08/29/2013 11:19 am Sofia Papagiannaki

pithos: Fix test

6947964f 08/28/2013 10:49 pm Christos Stavrakakis

deploy: Set LC_COLLATE to 'C'

Update postgresql default template ('template1'), to have LC_COLLATE='C'
and LC_CTYPE='C'. This is needed for test database that is created from
django, without the ability to set a different template.

e98239db 08/28/2013 04:36 pm Giorgos Korfiatis

astakos: Force a members limit in project applications

a23ac2f7 08/28/2013 03:22 pm Giorgos Korfiatis

astakos: Restrict project naming in API call

Use the same regex as in the UI, which matches domain-name-like strings.

bbae3e45 08/28/2013 01:55 pm Christos Stavrakakis

cyclades: Fix bug in handling of reboot type.

'type' attribute of reboot OS API call was directly mapped to the
'reboot_type' option of Ganeti reboot job. However these two are
semantically different. The 'SOFT' and 'HARD' reboot types of OS API are
mapped to 'shutdown_timeout' option of Ganeti jobs. However, setting...

71f2649f 08/28/2013 12:52 pm Ilias Tsitsimpis

ci: Add --force-yes option to apt-get install

59fa4893 08/27/2013 05:16 pm Olga Brani

astakos: Style for resource:ip (Dashboard->Usage)

98ea47ae 08/27/2013 03:44 pm Olga Brani

astakos: Correct padding auth methods headers

6488097c 08/27/2013 11:25 am Christos Stavrakakis

cyclades: Do not pass 'hotplug' if disabled

Fix passing of hotplug argument to GanetiRAPIClient, in case the
GANETI_USE_HOTPLUG is unset. If the Ganeti version does not support
hotplug, passing hotplug=False, will make the jobs fail at Ganeti opcode
validation. This commit fixes this by passing the argument, only when...

bd9b6f21 08/27/2013 11:25 am Christos Stavrakakis

deploy: Performance tune for postgresql

Turn off fsync, synchronous_commit and full_pages_writer to speed up
postgresql. DB is not no longer crash-safe, but this is no needed for
tests.

Also, introduce 'testing_vm' setting to distinquish between the type of...

705f70a9 08/27/2013 09:00 am Christos Stavrakakis

ci: Handle ssh access for demo.synnefo.org

62fcf0e5 08/26/2013 03:36 pm Ilias Tsitsimpis

ci: Implement file lock mechanism for temp_config

Before writing to temp config file, acquire a lock
and re-read it's contents to make sure we don't
overwrite anything.

07c13754 08/26/2013 01:05 pm Christos Stavrakakis

ci: Add build ID to server name

ee7a28be 08/26/2013 11:25 am Sofia Papagiannaki

pithos: Fix stale import from tests file

6058ae72 08/23/2013 06:04 pm Ilias Tsitsimpis

ci: Fix bugs with path expansion

Python does not do any automatic path expansions.
User has to call functions such as expanduser() and
expandvars().

Add uesr's id_rsa.pub file as default ssh_keys file.

dfcece01 08/23/2013 06:00 pm Christos Stavrakakis

cyclades: Fix broken tests from commit #c172f4a

Commit #c172f4a used the "size" attribute of images. This commit
fixes mocked images of tests to contain this attribute.

358a19bc 08/23/2013 03:31 pm Ilias Tsitsimpis

ci: Improve flavors/images finder

Allow for search both by name (using regular
expressions) or by id.

3754fdcd 08/23/2013 01:00 pm Ilias Tsitsimpis

ci: Automatic yes to apt-get prompts

c172f4ab 08/23/2013 12:16 pm Christos Stavrakakis

Pass hashmap instead of location to snf-image

Update Cyclades, to pass as 'img_id' the hashmap('checksum') of the
image, instead of the location URL. In that way, snf-image does not any
access to the Pithos database.

3a0ce98e 08/22/2013 05:22 pm Constantinos Venetsanopoulos

docs: Update index page & Astakos related docs

  • Update index page
  • Rewrite the Astakos description in astakos.rst
  • Move useful info from astakos.rst to the Admin Guide
  • Remove obsolete info from astakos.rst
  • Refactor the Admin Guide's Astakos section
305dbce0 08/22/2013 05:22 pm Constantinos Venetsanopoulos

docs: Update pithos.rst

426d4ae3 08/22/2013 05:22 pm Constantinos Venetsanopoulos

docs: Update cyclades.rst and admin guide

d1f57c47 08/22/2013 05:18 pm Ilias Tsitsimpis

ci: Remove forgotten debug message

6c3cc77e 08/22/2013 05:06 pm Ilias Tsitsimpis

ci: Install x2goserver

07710fc3 08/22/2013 01:28 pm Ilias Tsitsimpis

ci: Install firefox

465ccebd 08/21/2013 03:15 pm Ilias Tsitsimpis

ci: Remove ssh_keys value from config file

5323404f 08/21/2013 01:48 pm Ilias Tsitsimpis

ci: Allow the use of local repo

Instead of cloning Synnefo from its official repo,
user can choose (using --local-repo option, or by not
setting the synnefo_repo config parameter) to use
his local repo.

561d42ec 08/21/2013 12:12 pm Christos Stavrakakis

deploy: Fix bug introduced by escape character

61aedf5a 08/21/2013 11:43 am Christos Stavrakakis

deploy: Allow access in db from localhost

Allow password-less access in DB from localhost, in order to ease
running of unittests.

f2215426 08/21/2013 11:43 am Christos Stavrakakis

tests: Rename default database name

20a626e7 08/21/2013 11:36 am Giorgos Korfiatis

cyclades: Fix call to api_method_not_allowed

d6719b00 08/21/2013 09:23 am Christos Stavrakakis

deploy: Fix --dhcp option of network-create cmd

46ded653 08/20/2013 05:56 pm Ilias Tsitsimpis

ci: Update schema files

Package snf-deploy has add a new section (keys) in deploy.conf

b7496c88 08/20/2013 05:36 pm Ilias Tsitsimpis

ci: Better handling of build_ids

Now a new build id is created every time we issue a
create command and build_id is None. Any subsequent
commands will use this build_id.

In case we don't provide a build_id (None) and we
try to run a command other than create (that needs to...

5bd5d561 08/20/2013 04:50 pm Christos Stavrakakis

deploy: Add snfdeploy to path to import version

79144a72 08/20/2013 04:07 pm Ilias Tsitsimpis

ci: Temporary_config supports multiple machines

Use one temporary_config that will contain information
about every machine we have build until now, so we
can go back and use/inspect one of them.

Refs #4199

9599e997 08/20/2013 03:41 pm Christos Stavrakakis

cyclades: Add check for net action with no hotplug

In case hotplug is disabled, via GANETI_USE_HOTPLUG setting, network
actions should be allowed only on STOPPED vms. This commit adds this
check and a unittest for this case. Also it makes some other checks...

7ec9df5b 08/20/2013 03:15 pm Giorgos Korfiatis

astakos: Remove unneeded .settings directory

5b5eee64 08/20/2013 02:04 pm Christos Stavrakakis

Remove file left from commit 50dce93

1c230fd8 08/20/2013 01:50 pm Ilias Tsitsimpis

ci: snf-deploy is now part of Synnefo software

Install snf-deploy from the Synnefo repo
and not from it's old one.

a8bfeffc 08/20/2013 01:25 pm Ilias Tsitsimpis

ci: Get flavor by name

The option flavor_name support a list of flavors to try.

Refs #4192

4eaa5f3c 08/20/2013 09:39 am Christos Stavrakakis

pithos: Remove stale import from tests file

231b0fb6 08/20/2013 08:40 am Christos Stavrakakis

cyclades: Fix check for firewall profile

703d78d6 08/20/2013 08:33 am Dimitris Aragiorgis

Try put resolv.conf due to chattr +i

Signed-off-by: Dimitris Aragiorgis <>

6e0e55ba 08/20/2013 08:33 am Dimitris Aragiorgis

Enforce nodes the given hostnames

This means that hostnames are not important in nodes.conf and
should not reflect to existing infra.

Signed-off-by: Dimitris Aragiorgis <>

8665d8b6 08/20/2013 08:33 am Dimitris Aragiorgis

Minor fix in setup_hosts (sed -i /etc/hosts)

Signed-off-by: Dimitris Aragiorgis <>

34e315ac 08/20/2013 08:33 am Dimitris Aragiorgis

Allow password-less access from db node in db

Signed-off-by: Dimitris Aragiorgis <>

df1d01d4 08/20/2013 08:33 am Dimitris Aragiorgis

Make networking test raise errors if fail

Add abort=True in try_run()

Signed-off-by: Dimitris Aragiorgis <>

8f5ea521 08/20/2013 08:33 am Dimitris Aragiorgis

Add --no-keys-inject option

This skips key injection in nodes

Signed-off-by: Dimitris Aragiorgis <>

8780d2fa 08/20/2013 08:33 am Dimitris Aragiorgis

Pass key_inject in setup_env

Signed-off-by: Dimitris Aragiorgis <>

108fbde6 08/20/2013 08:33 am Dimitris Aragiorgis

Fix db access

Allow password-less access from nodes with webproject.
Allow password-less access from db node.

Signed-off-by: Dimitris Aragiorgis <>

c61f4b8c 08/20/2013 08:33 am Dimitris Aragiorgis

0600 mode for ssh keys

Signed-off-by: Dimitris Aragiorgis <>

7d6fed3a 08/20/2013 08:33 am Dionysis Grigoropoulos

snf-deploy: Update snfdeploy/lib.py to be pep8 compliant

b570ce97 08/20/2013 08:33 am Christos Stavrakakis

snf-deploy: Various fixes for merging with synnefo

  • Move ifup script to files/usr/lib
  • Remove Changelog and README from Manifest file.
  • Remove autopkg.sh file.
  • Remove keys directory, since they have been moved to files/root/.ssh
5f1ac457 08/20/2013 08:33 am Dimitris Aragiorgis

Move ifup in separate dir

ifup is used by vcluster command and has nothing to do with
temlplate files that are used to customize installation.

Signed-off-by: Dimitris Aragiorgis <>

511edaaa 08/20/2013 08:33 am Dimitris Aragiorgis

Fix missing things for disable_colors

Signed-off-by: Dimitris Aragiorgis <>

1d8cf97d 08/20/2013 08:33 am Dimitris Aragiorgis

Use ip instead of hostname for env.host_string

Signed-off-by: Dimitris Aragiorgis <>

542d8129 08/20/2013 08:33 am Dimitris Aragiorgis

Remove custon synnefo_settings for webclient

Signed-off-by: Dimitris Aragiorgis <>

f82ce32a 08/20/2013 08:33 am Christos Stavrakakis

ci: Disable snf-deploy colors

Use --disable-colors option of snf-deploy to disable colors when
running snf-deploy from ci scripts.

30761818 08/20/2013 08:33 am Christos Stavrakakis

deploy: Alter db owner+access to create

Modify database initiliazation by declaring the database owner, and
giving access to synnefo user to create databases. This options are
needed in order to be able to run tests in postgres db.

1bc6d467 08/20/2013 08:33 am Dionysis Grigoropoulos

snf-deploy: Add option (--disable-colors) to disable color printing in terminal