Reconciliation command documentation + config options
Resolve forgoten conflict, some documentation
Use the simpler amqp_connection mechanism
License header and a bit of documentation
Merge branch 'invitations' into reconcilation
Conflicts: logic/dispatcher_callbacks.py settings.py.dist
Skip deleted and suspended VMs from reconciliation
Simulate Ganeti events to update VM status on reconciliation
Wrap JSON deconding to provide error msg in case of failure
Lots of backfixes in status reconciliation code
Better handling of Unicode emails, catch SMTP connection errors
waitpid() accepts two arguments by default
Survive server restarts
Proper debug mode, correct channel shutdown sequence
Minor fix to make it connect to Rabbit
s/reconciliate/reconcile/ :-) + license headers
Various small bugs
-Print vm_ids as strings, not numbers-Filter top X VMs to update
Initial (untested) impl of the Django reconciliation command
Dispatcher configuration for reconciliation
Cron tool and callback skeletons
Rename file email to avoid namespace clashes
Add expires field for auth token
Refs: #483
Merge branch 'invitations' into bug-483
Conflicts: logic/tests.py
Method to process queued email messages
Better error handling in AMQP connector
Format and send email
Persistent connector to AMQP
Maintains an open connection per running interpreter, through a global static variable
Send emails, either directly or queued to AMQP
"Persistent" connection to AMQP
Uses a global variable, statically initialized, to AMQP.Inspired after a discussion with verigk about persistent objects in Django.
Support for Unicode usernames + new test
Add invitation works in test
Construct a username from a real name
Fix PostgreSQL backend exception for empty IPv4
Fix exception is thrown in logic/backend.py:process_net_status()if the NIC configuration notification contains an empty IPv4field, and Django uses the PostgreSQL backend.
This only happens with the PostgreSQL backend, because it has a...
Style and pylint suggested fixes
Ignore uknown Ganeti opcodes in dispatcher
Have the backend notification handler ignore unknown Ganeti opcodes,such as OP_INSTANCE_QUERY_DATA and OP_INSTANCE_SET_PARAMS.
Merge branch 'synnefo-rabbit' into ui-0.3
Handle ganeti-net-status notifications
Implement handling of "ganeti-net-status" notifications in thelogic layer. For the time being, use the IPv4 address of NIC 0to update the relevant field in the VirtualMachine model.
Improve AMQP-specific parts of settings.py.dist
Add support in settings.py.dist for fixing AMQP-specific variablesin settings after setting BACKEND_PREFIX_ID.
Temporarily use two different queues for routing messages of type"ganeti-op-status" and "ganeti-net-status" independently....
Fix minor stuff in README.develop, dispatcher
Have logic dispatcher create initial queue in AMQP server.Have dispatcher wait for all children processes before exiting.Improve AMQP-specific instructions in README.develop.
A bit of documentation
Fix fork-bomb bug when specifying workers by hand
Tell the cmd-line parser that the -w argument is an int
Support for spawning worker processes
Change logger names
More appropriate location and naming
End to end message delivery working
-Move dispatcher methods to seperate file-configure, load and register them dynamically-fix bug in cmd-line parameter parsing
Merge remote branch 'origin/api-current' into ui-0.3
Allow destroying machines being built
Merge branch 'network-api'
Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current
Add content in README.deploy, minor fixes
Add a draft description of the various services that need to berunning for a working Synnefo installation. Add documentation for ganeti-0mqd,db_controller and vncauthproxy.
Fix language error in comment in logic/utils.py.
Raise if vm is deleted or being built
Fixes #351
Fix debugging hardcoded value
Code clean up
Merge branch 'master' into auth-mechanism
Add docstring in get_rsapi_state()
Add improved documentation on how the API state is derivedbased on the internal state of the VirtualMachine instance.
Fix the remaing tests
Shortcut in the aai module to make tests pass
Introduces a test-time runtime variable which allows REST-based (e.g.api) tests to pass through the authentication module
Make most tests pass
Fixes to pass some shibboleth related tests
Authentication routine, with comments
Authentication token duration settings and autogeneration
Make tests fail gracefully with assertions.
Also correct spelling of the word shibboleth
Simplistic implementation of Sibbolleth header parsing
User deletion test
Fix create user test case
Some code and fixture data for authentication
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...
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 bug with vm.backendjobstatus
VirtualMachine models has attribute backendjobstatus instead of_backendjobstatus
Fix breakage caused by the logic-refactoring merge
This commit fixes some breakage caused by the recent merge ofthe logic-refactoring branch, mainly related to db/db_controller.py.
The main reason was the different value of import path, fixed bymaking sure all imports are rooted in synnefo....
All VirtualMachine fields are now pubic
Still refactoring, separating the logic and the ORM layer
Added missing VirtualMachine import
Test are now working for db, logic modules
Move _get_costs (internal method) to credits.py
Internal method calculate_cost moved to utils.py
Move process_backend_msg to beckend.py
Moved id_from_instance_name static method to utils.py
Refactored charge (from VM model) and fixed unit tests
Moved SynnefoUser methods to logic.credits
Add logic app in django configuration
Initialise logic-refactoring branch