- 10 Sep, 2013 8 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
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.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
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.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
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.
-
Christos Stavrakakis authored
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.
-
Constantinos Venetsanopoulos authored
Update the index page to refer to the new figure. Keep the detailed view figure only on the Admin Guide.
-
- 09 Sep, 2013 2 commits
-
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
Refs: #3745
-
- 07 Sep, 2013 3 commits
-
-
Christos Stavrakakis authored
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.
-
Christos Stavrakakis authored
Allow snf-ci script to accept a comma seperated list of commands to run.
-
Christos Stavrakakis authored
-
- 06 Sep, 2013 3 commits
-
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
- 05 Sep, 2013 1 commit
-
-
Ilias Tsitsimpis authored
-
- 04 Sep, 2013 2 commits
-
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
Fix crash when request user is not logged in. Add tests
-
- 02 Sep, 2013 1 commit
-
-
Sofia Papagiannaki authored
: 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. Therefore, we force the pool to shutdown before the django attempts to destroy it.
-
- 29 Aug, 2013 1 commit
-
-
Sofia Papagiannaki authored
-
- 28 Aug, 2013 5 commits
-
-
Christos Stavrakakis authored
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.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Use the same regex as in the UI, which matches domain-name-like strings.
-
Christos Stavrakakis authored
'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 this option from Ganeti RAPI is not supported. Until implemented, we will map both types to 'hard' ganeti reboot, and fallback to default shutdown timeout of Ganeti (120s). Also, modify UI to not set the 'HARD' reboot type and fallback to default option of API which is 'SOFT'.
-
Ilias Tsitsimpis authored
-
- 27 Aug, 2013 5 commits
-
-
Olga Brani authored
-
Olga Brani authored
-
Christos Stavrakakis authored
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 the setting is set to True.
-
Christos Stavrakakis authored
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 deployment. In cases like the above, we want to be able to configure the server in a different way, whether is deployed for development/testing or for production deployment.
-
Christos Stavrakakis authored
-
- 26 Aug, 2013 3 commits
-
-
Ilias Tsitsimpis authored
Before writing to temp config file, acquire a lock and re-read it's contents to make sure we don't overwrite anything.
-
Christos Stavrakakis authored
-
Sofia Papagiannaki authored
-
- 23 Aug, 2013 5 commits
-
-
Ilias Tsitsimpis authored
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.
-
Christos Stavrakakis authored
Commit #c172f4a used the "size" attribute of images. This commit fixes mocked images of tests to contain this attribute.
-
Ilias Tsitsimpis authored
Allow for search both by name (using regular expressions) or by id.
-
Ilias Tsitsimpis authored
-
Christos Stavrakakis authored
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.
-
- 22 Aug, 2013 1 commit
-
-
Constantinos Venetsanopoulos authored
-