History | View | Annotate | Download (12.4 kB)
cyclades: Ignore messages about deleted resources
Ignore messages from Ganeti about servers and networks that have alreadybeen marked as deleted in the Cyclades DB. Processing of these messagesmay asynchronize Cyclades with Astakos quotas.
Merge branch 'master' into develop
Conflicts: ci/schemas/one_node_wheezy/wheezy.conf docs/admin-guide.rst snf-cyclades-app/synnefo/api/actions.py snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/callbacks.py...
cyclades: Do not retry all Ganeti failed creations
Make snf-dispatcher retry only the OP_INSTANCE_CREATE jobs that faileddue to opportunistic locking. Such jobs include the 'ECODE_TEMP_NORES'error code in the opcode result. This commit makes snf-ganeti-eventd...
gtools: Fix Ganeti allocation parameters
When retrying a failed job, remove 'pnode' and 'snode' fields if theywere implicitly set by Ganeti iallocator. Ganeti will fail if bothiallocator and node are specified in the job.
Merge branch 'hotfix-0.14.10' into develop
Conflicts: Changelog snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/callbacks.py snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py...
cyclades: Retry failed instance creation
Handle special case where an OP_INSTANCE_CREATE job which uses theopportunistic locking feature fails. This failure is probably due to thefact that all nodes may be already locked. In this case, makesnf-dispatcher retry the failed job with opportunistic locking turned...
cyclades: fix typo in snf-dispatcher
Cyclades: Rename 'Can not' to 'Cannot' to all msgs
gtools: Make eventd send job fields
Make snf-ganeti-eventd send 'job_fields' for instance and networkopcodes, and modify the corresponding backend functions andsnf-dispatcher callbacks.
cyclades: Do not release externally reserved IPs
Do not automatically release an externally reserved IP if it is releasedfrom a Ganeti backend. The IP should be released with snf-managenetwork-modify management commands.
cyclades: Fix bug in update_cluster callback
Decorate 'update_cluster' callback with 'handle_message_delivery' tohandle acknowledgement of messages.
cyclades: Fix typo
cyclades: Callback for cluster modifications
Extend snf-dispatcher callbacks with one to run every time anOP_CLUSTER_ opcode is executed in a Ganeti backend.
cyclades: Handle Ganeti msgs for resized VMs
Handle 'OP_INSTANCE_SET_PARAMS' notifications from Ganeti that have'beparams' attribute, which corresponds to resized VMs. In suchcase, the corresponding flavor is found an the VM in DB is updated tohave this flavor....
dispatcher: Handle NICs in callbacks.
Update 'update_db' callback to handle instance NICs together withinstance status.
Also update the relevant tests.
Remove 'snf-events-net' queue and binding
Remove 'snf-events-net' queue (together with the corresponding routingkey and binding) from the queues that snf-dispatcher is consumingmessages. This queue is no longer needed, because messages for instanceNICs will be sended by snf-ganeti-eventd to 'snf-events-op' queue....
cyclades: Implement lazy networks
Implement "lazy networks", which are not created to all Ganeti backendsupon creation, but only when an instance that resides in a Ganeti isconnected to that network.
Update 'create_network' to create the Network object in DB without...
Fix pep8 warnings
Fix progress messages handling
proper handling of missing `messages` key progress messages.
Misc minor bug fixes
Fix dispatcher logging
Use select_for_update for VirtualMachines
Use select_for_update method when accessing VM objects to preventrace conditions. Also move start_action from logic to api.
Process OP_NETWORK_SET_PARAMS Ganeti jobs
Modify snf-ganeti-eventd and snf-dispatcher to handle jobs withOP_NETWORK_SET_PARAMS opcode. Handling of these jobs is neededto update the IP Pool of network, when reserving and releasingIPs directly from the Ganeti backend.
Merge branch 'devel-0.12' into ui-0.11
Use basic_reject in snf-dispatcher callbacks
Modify snf-dispatcher callbacks in order to reject messages that causedan unknown exception. Because a dead-letter-exchange is associatedwith the queues that snf-dispatcher is using, these messages will betransfered to the dead-letter-exchange.
Merge branch 'devel-0.11' into ui-0.11
Conflicts: snf-cyclades-app/synnefo/db/models.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/ui/static/snf/js/models.js
Take care for messages without timestamp
Catch exception produced in snf-dispatcher when receiving messages withoutproper timestamp.
Fix race conditions when updating network objects
Use for_update() object manager in order to exclude race conditionswhen updating network objects.
Additional build progress callback handlers
Handle image-{error, info, warning, helper} messages and create thecorresponding virtual machine diagnostics.
Make dispatcher aware of the new monitoring msgs
Make dispatcher aware of image-warning and image-info messages
Comply with the new monitoring system of snf-image
For now only the image-copy-progress messages are processed
Fix bug about unknown network in instance's nics
Modification in logic for new-style networks
Create network queues and refactor dispatcher
Refactor common code in dispatcher's callbacks
Minor fixes
Remove unused code
Remove old code used for reconciliation, as the reconciliation mechanism haschanged
Update modules interacting with AMQP
Update all modules which are interacting with the RabbitMQ messaging system touse the AMQPClient in order to use highly available queues in active/activemode.
Extend messages to include a unique identifier in order to handle...
Remove legacy code from dispatcher
Merge remote-tracking branch 'origin/master' into astakos-integration
Conflicts: runtests.sh snf-cyclades-app/synnefo/aai/__init__.py snf-cyclades-app/synnefo/aai/fixtures/auth_test_data.json snf-cyclades-app/synnefo/aai/middleware.py snf-cyclades-app/synnefo/aai/models.py...
Renamed snf-app to snf-cyclades-app