Add docstring in get_rsapi_state()
Add improved documentation on how the API state is derivedbased on the internal state of the VirtualMachine instance.
Change console req/response format, add unit tests
Change the format of JSON requests and replies for gettinga server console over VNC. Fix the cloud command-line tool tounderstand 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...
Fix API calls that depend on specific server ids
Fixes #417
Improve metadata tests
Refs: 417
Clarify the units of ram and disk
Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current
Support dynamic port allocation for VNC console
Add new version of vapclient.py from commit 48b1400effof vncauthproxy (dynamic port pool allocation, JSON controlrequests and replies).
Modify api/actions.py to request dynamic port allocationand handle error conditions gracefully.
Add tests for server metadata API methods
User-defined exceptions should inherit Exception
Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current
Corrections when installing CI on new Debian
Instructions on how to setup Jenkins for CI
Only return the updated metadata
Forgot to import os
Include .. in PYTHON path in manage.py
We have to do this in order to fix namespace inconsistencies (files insynnefo use imports starting with synnefo)refs: #393
Don't reference application that doesn't exist
Add the django-hudson module to the CI environment
Configurations for various databases
Handle errors in API action for VNC console
Handle errors in the get_console() server action and returnappropriate cloudFaults.
Remove the vncauthproxy/ directory, since vncauthproxyhas its own repository under https://code.grnet.gr.
Add new version of util/vapclient.py from commit 035424b630...
Merge branch 'api-tests'
Fix one API test failing with PostgreSQL backend
One API test (test_servers_details) was too restrictive and failedwith the PostgreSQL backend. It assumed consistent, by-id orderingbetween DB and API server list replies, and failed although there was1-1 correspondence between the two replies....
Fix broken db_test_data.json wrt to Image model
Removing the description field from the Image modeland moving it to ImageMetadata broke the fixtures indb_test_data.json and the associated tests of the db app.
Tests for api, db, logic run properly.
Query for greater since or equal
Add a check for the return code
Date header is only required for the test-server
Add a Date header in responses
Make use of it in tests.
Check for values inside servers
Merge branch 'api-current' into api-tests
Add empty models.py
Django requires it.
We import getfqdn, not socket
Use more specific exceptions
Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-tests
Use server's FQDN in API reply for VNC console
Fix breakage in get_console() action
Really delete the VM if CreateInstance() fails
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...
Have isoparse return naive datetimes, fixes #377
Have api/util.py:isoparse() return naive datetime objects, in UTC.Fixes #377.
Fix Image fixtures, remove size attribute
Fix the fixtures for the Image model, removing referencesto the size attribute, which no longer exists in the Image modelsince commit 838c404d4.
Also fix unloadable fixtures, by removing stray comma charsin JSON.
Add missing fixture file
Immediately convert dates to naive format
Please verify that it fixes #377
Refs: #377
Port tests to the new API
manage.py test api should work now
Add more comments to settings.py.dist
description has been removed from image
Allow create_server to set initial metadata
size has been removed from Image
Add comments for variables in settings.py.dist
Add missing import
Actually fix simplejson wrt util/rapi.py
Broken by previous commit, 3481786
Use Python 2.6's json in util/rapi.py
This was fixed with a237869 but "broken" again via the pull of new RAPIversion from Ganeti (067dda9)
Add a programatic way of setting InnoDB for MySQL
Instead of having a commented-out options init_command section forsetting the InnoDB storage engine, add a programatic way (still insettings.py)
Add describedby links in version details
Merge branch 'master' of https://code.grnet.gr/git/synnefo
description field has been removed from Image
Revert changes to manage.py and make it executable
manage.py is as-is shipped by Django and hence there's no point inmaking it PEP-8 compliant (as was done in e646ebe5a).
While we're at it, make it also executable.
Add metadata support in Images
Removed description and size from Image model.
Update README with known good package versions
Make vncauthproxy a proper daemon, improve logging
Have vncauthproxy daemonize properly.Introduce pidfile under /var/run/vncauthproxy,logfile under /var/log/vncauthproxy.
Add SIGTERM handling to vncauthproxy
Install a signal handler for fatal signals using gevent.signal().This allows vncauthproxy to unlink its control socket and exitgracefully when SIGTERM is received.
Initial commit of vncauthproxy
Initial commit of vncauthproxy, based on commit5cf1d6553d72 from the git repository on code.grnet.gr.
add description and size as metadata on db/fixtures/images
display error if backend does not respond to actions - Refs #213
api 1.1 compatibility improvements - Refs #311
Update dependencies
Fix atom metadata, make GUI use API_URL everywhere
Merge branch 'master' into api-redux
Conflicts: api/actions.py api/errors.py api/handlers.py api/helpers.py api/servers.py
Return correct content-type on faults
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 theimage to be displayed on the custom images, instead of the standard ones
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 isreferenced from it.
Add warning that API depends on TIME_ZONE
Move to OpenStack API v1.1
Fixes #183 - Implement /serversFixes #185 - Implement /imagesFixes #245 - Details in exception handlersFixes #249 - Metadata handlingFixes #253 - Transition to OpenStack API v1.1...
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....
detailed error handling & iso8601 compatibility - Refs #213 #363
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...
add indexOf method if not supported (IE compat)
improve positioning of confirm box & update actions on select all/none
fix wave in list view & minor css improvements - refs #293
on the gui show which server gives error
when executing an action on the list view of the gui, show server and error ifaction was not run
Refs #213
Added comment regarding VirtualMachine model
x-browser compat css fixes
Make progress.gif transparent.
make smaller wave and spinner icons on gui
Refs #293
Reduce height for error box in standard view, ref #213.
Change on hover color for Details button, ref #213
Change margins for non-fixed confirmation dialog, ref #209
Hover color for selected actions set to orange
fix destroy server action behavior on the gui
Import RAPI client from Ganeti 2.4.1
Custom middleware to support authentication
Restructure authentication mechanism.
Move authentication mechanism to the correct place, implement a dummydecorator, some test data etc
Move authentication tests and code to logic
fix flavors to use api 1.1redux
Fix stray Greek Alpha in JS source
implement server actions on gui for api/v1.1redux
Sequence diagram for authentication.
UMLGraph-based, check http://http://www.umlgraph.org/