- 07 Apr, 2011 3 commits
-
-
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
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
Removed description and size from Image model.
-
- 04 Apr, 2011 14 commits
-
-
Vangelis Koukis authored
-
Vangelis Koukis authored
Have vncauthproxy daemonize properly. Introduce pidfile under /var/run/vncauthproxy, logfile under /var/log/vncauthproxy.
-
Vangelis Koukis authored
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.
-
Vangelis Koukis authored
Initial commit of vncauthproxy, based on commit 5cf1d6553d72 from the git repository on code.grnet.gr.
-
Markos Gogoulos authored
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
Giorgos Verigakis authored
* We don't use piston anymore * We require dateutil now
-
Vangelis Koukis authored
-
Giorgos Verigakis authored
Conflicts: api/actions.py api/errors.py api/handlers.py api/helpers.py api/servers.py
-
Giorgos Verigakis authored
-
Markos Gogoulos authored
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
-
Georgios Gousios authored
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.
-
Giorgos Verigakis authored
-
- 03 Apr, 2011 2 commits
-
-
Giorgos Verigakis authored
* 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 Fixes #255 - Fix XML for addresses Fixes #287 - Piston related bug Fixes #289 - Support both XML and JSON Fixes #309 - GUI not refreshing Fixes #339 - Support API extensions Fixes #359 - action returns serviceUnavailable Fixes #361 - return dates with timezones Refs #301 - Sanitization of API Refs #315 - Replace API v1.1
-
Vangelis Koukis authored
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. * Import a version of the vncauthproxy control client under util/. * Extend the cloud command-line tool to support getting OOB console access. Example json: {"console": {"type": "VNC"}} Example XML: <console type="VNC" /> To service the call, the API will contact a running vncauthproxy to set up a time-limited port for VNC forwarding, where the client can connect. This is WIP. Still missing: * A patched version of vncauthproxy. * Client-side (GUI) support for requesting an OOB console.
-
- 02 Apr, 2011 2 commits
-
-
Dimitris Moraitis authored
-
Vangelis Koukis authored
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 for an indefinite amount of time for the Ganeti backend to remove the VM. * Set the deleted flag in the VirtualMachine model when Ganeti reports successful removal of an instance. This catches instance deletions initiated by the admin at the Ganeti backend.
-