- 14 Apr, 2011 3 commits
-
-
Georgios Gousios authored
-
Georgios Gousios authored
-
Georgios Gousios authored
-
- 11 Apr, 2011 7 commits
-
-
Georgios Gousios authored
-
Georgios Gousios authored
-
Georgios Gousios authored
-
Georgios Gousios authored
We have to do this in order to fix namespace inconsistencies (files in synnefo use imports starting with synnefo) refs: #393
-
Georgios Gousios authored
-
Georgios Gousios authored
-
Georgios Gousios authored
-
- 08 Apr, 2011 3 commits
-
-
Vangelis Koukis authored
-
Vangelis Koukis authored
One API test (test_servers_details) was too restrictive and failed with the PostgreSQL backend. It assumed consistent, by-id ordering between DB and API server list replies, and failed although there was 1-1 correspondence between the two replies. To fix, the test takes care to order the two replies by id before attempting to compare their contents.
-
Vangelis Koukis authored
-
- 07 Apr, 2011 8 commits
-
-
Vangelis Koukis authored
Removing the description field from the Image model and moving it to ImageMetadata broke the fixtures in db_test_data.json and the associated tests of the db app. Tests for api, db, logic run properly.
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
Make use of it in tests.
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
Django requires it.
-
- 06 Apr, 2011 4 commits
-
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
-
Vangelis Koukis authored
-
- 05 Apr, 2011 15 commits
-
-
Vangelis Koukis authored
-
Vangelis Koukis authored
-
Vangelis Koukis authored
Fix bugs in server creation, in api/server.py:create_server(). More specifically: * Make sure to save() the vm object before calling vm.backend_id * Delete the vm instance if the RAPI call fails for any reason * Use different variable names for the server name at the API level and at the Ganeti backend level * Compute a random password *before* the CreateInstance() call to Ganeti [not currently used though] Also patch the VirtualMachine model to safeguard against getting the backend_id of a yet-unsaved instance of VirtualMachine.
-
Vangelis Koukis authored
Have api/util.py:isoparse() return naive datetime objects, in UTC. Fixes #377.
-
Vangelis Koukis authored
Fix the fixtures for the Image model, removing references to the size attribute, which no longer exists in the Image model since commit 838c404d4. Also fix unloadable fixtures, by removing stray comma chars in JSON.
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
Please verify that it fixes #377 Refs: #377
-
Giorgos Verigakis authored
manage.py test api should work now
-
Vangelis Koukis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Vangelis Koukis authored
-
Giorgos Verigakis authored
-