- 30 Apr, 2013 4 commits
-
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Christos Stavrakakis authored
Make --flavor-id mandatory in 'snf-manage server-create' management command.
-
Christos Stavrakakis authored
Update 'network-create' management command, to require an owner when creating a private network.
-
- 29 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
State of public NIC should be 'BUILDING'
-
- 26 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
Use urlparse.urljoin create the config url in order to avoid extra '/'.
-
- 25 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
Fix deadlock when creating a server that was introduced by commit 501053a. Allocating the public IP in the same transaction with creating the server resulted in a deadlock with backend allocator, because inserting the new VM in the database waits on an exclusive lock of the backend (foreign key).
-
- 23 Apr, 2013 1 commit
-
-
Constantinos Venetsanopoulos authored
Everything should point to http://www.synnefo.org/* This patch updates the URL everywhere in the repo.
-
- 22 Apr, 2013 10 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
When creating a server, do not reserve a public IP address before issuing commission to quotaholder. This bug resulted in unsynchronized IP pools between Cyclades and Ganeti, and needed external reconciliation to synchronize them. Refs #3570
-
Christos Stavrakakis authored
Make image-show management command to show information about an image without passing a userid. Use 'image_list' command of ImageBackend instead of 'get_image' because the second one will raise Forbidden for non-public images. Also make command to use 'pprint_table' to print image info.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Correct usage of 'update_object_meta' function to remove all metadata from plankton domain. Use an empty dictionary with replace=True. Refs #3522
-
Christos Stavrakakis authored
Modify 'add_image' plankton API method, to check that location parameter is a valid Pithos url, and raise BadRequest if not.
-
Christos Stavrakakis authored
Until now 'snf-manage image-list' management command printed only images that were public, or accessible by a specific user. This commit changes this command to print all images (regardless of the owner).
-
Christos Stavrakakis authored
Use '_get_domain_objects' function of Pithos backend, to list all objects in a 'plankton' domain, instead of looping over all accessible accounts, containers and objects. This function also returns metadata and permissions for each object in order to avoid two extra calls for each returned image. This should provide a significant performance boost in listing available images. Note: Currently plankton API filters in 'list_images' are not implemented. Refs #3510
-
Christos Stavrakakis authored
Major refactor in plankton APP and ImageBackend code: * Remove unused code * Remove 'plankton_method' decorator that added an ImageBackend to requests an replace it with 'image_backend' context manager. This context manager is responsible for opening and closing connections to PithosBackend and converting ImageBackend errors to cloud faults. * Update plankton and images API methods and tests.
-
Christos Stavrakakis authored
Do not run 'backend-add' command inside transaction, because if 'snf-dispatcher' is running, it will receive messages that will arrive from a Ganeti backend that does not exist in the DB and will not be able to process them.
-
- 16 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 15 Apr, 2013 2 commits
-
-
Christos Stavrakakis authored
Rename 'PITHOS_AUTHENTICATION_URL' setting to 'ASTAKOS_URL'. Also remove 'PITHOS_AUTHENTICATION_USERS' from docs (it was removed from code in commit 8df4fae). Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service instead of im endpoint, i.e. rename from 'accounts.example.org/im/authenticate' to 'accounts.example.org'.
-
Christos Stavrakakis authored
-
- 11 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 10 Apr, 2013 1 commit
-
-
Kostas Papadimitriou authored
use the new synnefo.user method `get_username` to populate personal/shared images.
-
- 08 Apr, 2013 12 commits
-
-
Constantinos Venetsanopoulos authored
Since v0.13, all Synnefo components will have the same version and the same Changelog, NEWS, Upgrade, Copyright file. This patch addresses old Changelog, NEWS and Upgrade files: * Move all separate Changelog files under docs/older/ * Move all separate Upgrade files under docs/older/ * Add skeleton for the new, single, unified Changelog file * Add skeleton for the new, single, unified NEWS file Copyright files will follow with a separate patch.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Use the python-objpool package for pooling resources as object, instead of the pooling code that existed in snf-common ('synnefo.lib.pool') Refs #3524
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Update all pithos API methods to use the new common 'api_method' decorator. However, this decorator is not enough for pithos since pithos methods require some extra tasks: * Create a PithosBackend connection * Handle special HTTP headers For these reasons, pithos defines a custom 'api_method' decorator, which is decorator by the common 'api_method' decorator.
-
Christos Stavrakakis authored
Update Cyclades API methods to use the new common 'api_method' decorator. Also, update all the relevant tests.
-
Christos Stavrakakis authored
Use the common 'api_method' decorator in all plankton API methods. Modify the 'plankton_method' decorator to only create and close the ImageBackend.
-
Christos Stavrakakis authored
Refs #3359
-
Christos Stavrakakis authored
Handle these errors explicitly in the code instead of the "api_method" decorator.
-
Christos Stavrakakis authored
Gather all faults from all synnefo projects into common 'snf_django.lib.api.faults'.
-
- 07 Apr, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 02 Apr, 2013 4 commits
-
-
Christos Stavrakakis authored
Plankton backend raised AssertionError when an Image was not found. Change this to raise faults.ItemNotFound error. Temporary commit until common API decorator is implemented. Refs #3356
-
Christos Stavrakakis authored
Until now, deleting an image resulted in deletion of the corresponding file from Pithos. Plankton Images are files in Pithos with special metadata on the 'plankton' metadata domain. Adding an Image to plankton is equivalent with adding some special metadata in this domain. In the same way, this commit implements Image deletion by deleting these metadata, and retaining the original file in Pithos. Refs #3522
-
Christos Stavrakakis authored
Do not use a default value (was "MAC_FILTERED") for "type" parameter of "network_create" API method. The client must explicitly choose the network type.
-
Christos Stavrakakis authored
-