Statistics
| Branch: | Tag: | Revision:

root @ fc30c430

# Date Author Comment
fc30c430 04/14/2011 12:17 pm Vangelis Koukis

Add docstring in get_rsapi_state()

Add improved documentation on how the API state is derived
based on the internal state of the VirtualMachine instance.

4cf8adf8 04/13/2011 11:22 pm Vangelis Koukis

Change console req/response format, add unit tests

Change the format of JSON requests and replies for getting
a server console over VNC. Fix the cloud command-line tool to
understand the new format.

Add unit tests for api/actions.py:get_console().

Add a quick-n-dirty method of detecting if we're running unit...

7317d130 04/13/2011 07:19 pm Giorgos Verigakis

Fix API calls that depend on specific server ids

Fixes #417

53b1eea6 04/13/2011 07:12 pm Giorgos Verigakis

Improve metadata tests

Refs: 417

80da6543 04/13/2011 12:37 pm Giorgos Verigakis

Clarify the units of ram and disk

5495cf1c 04/12/2011 07:10 pm Giorgos Verigakis

Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current

ba6ded2a 04/12/2011 07:08 pm Giorgos Verigakis

Improve metadata tests

1be508e9 04/12/2011 07:06 pm Vangelis Koukis

Support dynamic port allocation for VNC console

Add new version of vapclient.py from commit 48b1400eff
of vncauthproxy (dynamic port pool allocation, JSON control
requests and replies).

Modify api/actions.py to request dynamic port allocation
and handle error conditions gracefully.

968b3e04 04/12/2011 03:12 pm Giorgos Verigakis

Add tests for server metadata API methods

0a73c22f 04/12/2011 02:11 pm Giorgos Verigakis

User-defined exceptions should inherit Exception

e735d748 04/12/2011 11:24 am Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

75aae73a 04/11/2011 06:59 pm Georgios Gousios

Corrections when installing CI on new Debian

5bde09a4 04/11/2011 03:22 pm Georgios Gousios

Instructions on how to setup Jenkins for CI

d115929c 04/11/2011 02:53 pm Giorgos Verigakis

Only return the updated metadata

1ad2fdbc 04/11/2011 02:33 pm Georgios Gousios

Forgot to import os

a7d2ae87 04/11/2011 02:28 pm Georgios Gousios

Include .. in PYTHON path in manage.py

We have to do this in order to fix namespace inconsistencies (files in
synnefo use imports starting with synnefo)
refs: #393

5d87bed0 04/11/2011 12:18 pm Georgios Gousios

Don't reference application that doesn't exist

b216cb77 04/11/2011 12:04 pm Georgios Gousios

Add the django-hudson module to the CI environment

6110651e 04/11/2011 11:49 am Georgios Gousios

Configurations for various databases

9a6eacb9 04/11/2011 03:01 am Vangelis Koukis

Handle errors in API action for VNC console

Handle errors in the get_console() server action and return
appropriate cloudFaults.

Remove the vncauthproxy/ directory, since vncauthproxy
has its own repository under https://code.grnet.gr.

Add new version of util/vapclient.py from commit 035424b630...

fb2d85f8 04/08/2011 12:37 pm Vangelis Koukis

Merge branch 'api-tests'

ba15eb15 04/08/2011 12:32 pm Vangelis Koukis

Fix one API test failing with PostgreSQL backend

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

b85c772e 04/08/2011 11:16 am Vangelis Koukis

Merge branch 'api-tests'

44e6ec18 04/07/2011 09:45 pm Vangelis Koukis

Fix broken db_test_data.json wrt to Image model

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.

fe2a6886 04/07/2011 01:50 pm Giorgos Verigakis

Query for greater since or equal

7f63ff66 04/07/2011 01:32 pm Giorgos Verigakis

Add a check for the return code

cdb65551 04/07/2011 01:31 pm Giorgos Verigakis

Date header is only required for the test-server

8b01f7f3 04/07/2011 01:09 pm Giorgos Verigakis

Add a Date header in responses

Make use of it in tests.

009d3bf2 04/07/2011 12:29 pm Giorgos Verigakis

Check for values inside servers

860412e0 04/07/2011 11:57 am Giorgos Verigakis

Merge branch 'api-current' into api-tests

8c796300 04/07/2011 11:54 am Giorgos Verigakis

Add empty models.py

Django requires it.

77f6bb0e 04/06/2011 12:41 pm Giorgos Verigakis

We import getfqdn, not socket

4f598167 04/06/2011 11:36 am Giorgos Verigakis

Use more specific exceptions

f7df1cef 04/06/2011 11:11 am Giorgos Verigakis

Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-tests

aea3e7c6 04/06/2011 10:42 am Vangelis Koukis

Use server's FQDN in API reply for VNC console

bbbe2cfa 04/05/2011 10:42 pm Vangelis Koukis

Fix breakage in get_console() action

1c03e74e 04/05/2011 09:11 pm Vangelis Koukis

Really delete the VM if CreateInstance() fails

76ba77c1 04/05/2011 08:54 pm Vangelis Koukis

Fix bugs in api/server.py:create_server()

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

0140e54b 04/05/2011 08:16 pm Vangelis Koukis

Have isoparse return naive datetimes, fixes #377

Have api/util.py:isoparse() return naive datetime objects, in UTC.
Fixes #377.

498728a8 04/05/2011 08:02 pm Vangelis Koukis

Fix Image fixtures, remove size attribute

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.

dc3ad42e 04/05/2011 06:39 pm Giorgos Verigakis

Add missing fixture file

4fd67656 04/05/2011 06:38 pm Giorgos Verigakis

Merge branch 'api-current' into api-tests

e87d30f3 04/05/2011 06:37 pm Giorgos Verigakis

Immediately convert dates to naive format

Please verify that it fixes #377

Refs: #377

883de713 04/05/2011 06:16 pm Giorgos Verigakis

Port tests to the new API

manage.py test api should work now

0e3c1947 04/05/2011 05:59 pm Vangelis Koukis

Add more comments to settings.py.dist

7584d408 04/05/2011 05:52 pm Giorgos Verigakis

description has been removed from image

bc855ce7 04/05/2011 05:39 pm Giorgos Verigakis

Allow create_server to set initial metadata

838c404d 04/05/2011 05:39 pm Giorgos Verigakis

size has been removed from Image

b36421a6 04/05/2011 05:26 pm Vangelis Koukis

Add comments for variables in settings.py.dist

2627cd84 04/05/2011 04:27 pm Giorgos Verigakis

Add missing import

1f6ba360 04/05/2011 03:37 pm Faidon Liambotis

Actually fix simplejson wrt util/rapi.py

Broken by previous commit, 3481786

3481786b 04/05/2011 03:32 pm Faidon Liambotis

Use Python 2.6's json in util/rapi.py

This was fixed with a237869 but "broken" again via the pull of new RAPI
version from Ganeti (067dda9)

360fcf20 04/05/2011 02:43 pm Faidon Liambotis

Add a programatic way of setting InnoDB for MySQL

Instead of having a commented-out options init_command section for
setting the InnoDB storage engine, add a programatic way (still in
settings.py)

c4c07cab 04/05/2011 02:38 pm Giorgos Verigakis

Add describedby links in version details

3e09836c 04/05/2011 02:19 pm Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo

a76c4fbc 04/05/2011 02:19 pm Giorgos Verigakis

description field has been removed from Image

1f57fb89 04/05/2011 02:11 pm Faidon Liambotis

Revert changes to manage.py and make it executable

manage.py is as-is shipped by Django and hence there's no point in
making it PEP-8 compliant (as was done in e646ebe5a).

While we're at it, make it also executable.

432fc8c3 04/05/2011 01:21 pm Giorgos Verigakis

Add metadata support in Images

Removed description and size from Image model.

602d6541 04/05/2011 01:23 am Vangelis Koukis

Update README with known good package versions

4af60ef0 04/05/2011 12:54 am Vangelis Koukis

Make vncauthproxy a proper daemon, improve logging

Have vncauthproxy daemonize properly.
Introduce pidfile under /var/run/vncauthproxy,
logfile under /var/log/vncauthproxy.

33c82017 04/05/2011 12:52 am Vangelis Koukis

Add SIGTERM handling to vncauthproxy

Install a signal handler for fatal signals using gevent.signal().
This allows vncauthproxy to unlink its control socket and exit
gracefully when SIGTERM is received.

07b0130f 04/05/2011 12:46 am Vangelis Koukis

Initial commit of vncauthproxy

Initial commit of vncauthproxy, based on commit
5cf1d6553d72 from the git repository on code.grnet.gr.

f7cac984 04/04/2011 11:52 pm Markos Gogoulos

add description and size as metadata on db/fixtures/images

a8e592c7 04/04/2011 04:32 pm Dimitris Moraitis

display error if backend does not respond to actions - Refs #213

7e45ddef 04/04/2011 03:58 pm Dimitris Moraitis

api 1.1 compatibility improvements - Refs #311

f8300f2c 04/04/2011 02:44 pm Giorgos Verigakis

Update dependencies

  • We don't use piston anymore
  • We require dateutil now
22afb635 04/04/2011 02:37 pm Vangelis Koukis

Fix atom metadata, make GUI use API_URL everywhere

20a51b1e 04/04/2011 02:21 pm Giorgos Verigakis

Merge branch 'master' into api-redux

Conflicts:
api/actions.py
api/errors.py
api/handlers.py
api/helpers.py
api/servers.py

f0656db1 04/04/2011 02:00 pm Giorgos Verigakis

Return correct content-type on faults

73c2c75b 04/04/2011 01:29 pm Markos Gogoulos

implement api 1.1redux to the gui

GET images now uses 1.1.redux.
Each image is checked for the following metadata values: description, size and serverID.
The first two are presented on the create images wizzard, while the third one forces the
image to be displayed on the custom images, instead of the standard ones

85bb192a 04/04/2011 12:55 pm Georgios Gousios

Fix order of test data to ensure proper insertion

This fixes an issue with DBs with proper referential integrity (e.g.
MySQL) where a VM cannot be inserted prior to an Image that is
referenced from it.

2a68a5ff 04/04/2011 12:48 pm Giorgos Verigakis

Add warning that API depends on TIME_ZONE

d8e50a39 04/04/2011 12:21 am Giorgos Verigakis

Move to OpenStack API v1.1

  • Removes piston dependency.
  • Adds dateutil dependency.

Fixes #183 - Implement /servers
Fixes #185 - Implement /images
Fixes #245 - Details in exception handlers
Fixes #249 - Metadata handling
Fixes #253 - Transition to OpenStack API v1.1...

09471611 04/03/2011 03:19 am Vangelis Koukis

Extend api/v1.1redux to support VNC OOB consoles

Add support in api/v1.1redux for OOB consoles using VNC, refs #349.
More specifically: * Implement a new action ("console") for POST to /servers/id/action. * Extend api/servers.py to pass the Django request object to actions....

038383b1 04/02/2011 07:45 pm Dimitris Moraitis

detailed error handling & iso8601 compatibility - Refs #213 #363

685b219e 04/02/2011 11:55 am Vangelis Koukis

Improve handling of server deletions

Improve handling of server deletions. * Have the API return a server's state as DELETED when
the deleted flag has been set in the VirtualMachine model.
This makes the server immediately invisible, instead of waiting...

41cad45d 04/01/2011 10:20 pm Dimitris Moraitis

add indexOf method if not supported (IE compat)

82bf6df0 04/01/2011 09:37 pm Dimitris Moraitis

improve positioning of confirm box & update actions on select all/none

e2ccad35 04/01/2011 09:07 pm Dimitris Moraitis

fix wave in list view & minor css improvements - refs #293

ff4f73d1 04/01/2011 07:40 pm Vassilios Karakoidas

Merge branch 'master' of https://code.grnet.gr/git/synnefo

a1705a94 04/01/2011 07:37 pm Markos Gogoulos

Merge branch 'master' of https://code.grnet.gr/git/synnefo

e1a023a6 04/01/2011 07:36 pm Markos Gogoulos

on the gui show which server gives error

when executing an action on the list view of the gui, show server and error if
action was not run

Refs #213

73b2b65e 04/01/2011 07:36 pm Vassilios Karakoidas

Added comment regarding VirtualMachine model

9a5cd5f7 04/01/2011 07:32 pm Dimitris Moraitis

x-browser compat css fixes

3973a66f 04/01/2011 07:24 pm Christos Psaltis

Make progress.gif transparent.

1d72dcdc 04/01/2011 06:12 pm Markos Gogoulos

make smaller wave and spinner icons on gui

Refs #293

6daac744 04/01/2011 06:07 pm Christos Psaltis

Reduce height for error box in standard view, ref #213.

6ef5a025 04/01/2011 06:01 pm Christos Psaltis

Change on hover color for Details button, ref #213

30695d66 04/01/2011 05:28 pm Christos Psaltis

Change margins for non-fixed confirmation dialog, ref #209

29124102 04/01/2011 05:04 pm Christos Psaltis

Hover color for selected actions set to orange

2d5cea9b 04/01/2011 05:02 pm Markos Gogoulos

fix destroy server action behavior on the gui

Refs #213

067dda99 04/01/2011 03:38 pm Vangelis Koukis

Import RAPI client from Ganeti 2.4.1

89f86fd3 04/01/2011 01:50 pm Georgios Gousios

Custom middleware to support authentication

5fb55fba 04/01/2011 11:46 am Georgios Gousios

Restructure authentication mechanism.

Move authentication mechanism to the correct place, implement a dummy
decorator, some test data etc

33404ac3 04/01/2011 09:52 am Georgios Gousios

Merge branch 'master' of https://code.grnet.gr/git/synnefo

17fc7729 04/01/2011 09:52 am Georgios Gousios

Move authentication tests and code to logic

f1641e4d 03/31/2011 06:14 pm Markos Gogoulos

fix flavors to use api 1.1redux

  • add cpu attribute returned on flavor(s) listing
  • use api 1.1redux on gui for flavors
2cd96cc7 03/31/2011 05:35 pm Vangelis Koukis

Fix stray Greek Alpha in JS source

0971fa71 03/31/2011 04:47 pm Markos Gogoulos

implement server actions on gui for api/v1.1redux

  • implement server reboot/shutdown/start/destroy actions
  • fix ordering on imports (servers.py, actions.py)
  • actions.py: change type to reboot_type (reserverd word)
  • change vm.start_action to backend.start_action where needed...
f1bb8ad8 03/31/2011 04:06 pm Georgios Gousios

Sequence diagram for authentication.

UMLGraph-based, check http://http://www.umlgraph.org/