History | View | Annotate | Download (11.9 kB)
Make RAPI CreateInstance() arguments configurable
Make RAPI CreateInstance() arguments deployment-specific.Add the GANETI_CREATEINSTANCE_KWARGS setting, which allows the administratorto set arbitrary arguments to RAPI CreateInstance().
Also add initial version of README.Upgrade, detailing...
Handle removing machines in ERROR properly
Set the VM deleted flag when receiving a failure notification for a GanetiOP_INSTANCE_REMOVE operation, if the server is in ERROR state, since nocorresponding Ganeti instance backend exists in this case. Fixes #799.
Make Ganeti disk template a configurable setting
Make the disk template to use for Ganeti instances (e.g., 'plain'or 'drbd') a configurable setting in settings.d/20-api.conf,fixes #777.
Set hv parameter serial_console=False explicitly
Be explicit about Synnefo-controlled instances havinghypervisor parameter serial_console set to False, so that theRAPI GetInstanceConsole() call returns consoles of kind 'vnc',fixes #785.
Remove RAPI GetInstanceConsole() call
Remove RAPI GetInstanceConsole() call, because it returns apotentially unusable endpoint based on cluster-wide vnc_bind_address,usually 0.0.0.0 or 127.0.0.1. Until this is fixed on the Ganeti side,we construct a console info reply based on the primary node and network...
Make server deletion complete asynchronously
Make server deletion complete asynchronously, by only settingthe deleted flag for an instance of the VirtualMachine model whenan OP_INSTANCE_REMOVE operation completes successfully at the backend.
This means that DELETE /servers/id returns HTTP 204, the server...
Enforce flavor-specified disk size for new VMs
Enforce the flavor-specified disk size when creating a new VM.Introduce the new IGNORE_FLAVOR_DISK_SIZES setting, which makes the API alwayscreate VMs with 4GB or 14GB disks.This is useful in development deployments where disk space is scarce.
Development: Allocate a 14GB disk for Windows VMs
Merge branch 'api-current' into ui-0.5
Make the dispatcher refresh on tag updates
Make a dummy ModifyInstance call when changing instancetags in order to force process_net_status to be called onthe dispatcher.
Merge remote-tracking branch 'origin/api-current' into ui-0.5
Conflicts: api/util.py logic/backend.py
Use a default firewall profile on public networks
Uses settings.DEFAULT_FIREWALL_PROFILE in case an instance has no firewall tags defined.
Refs #659
License headers for various files
refs #581
Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current
Conflicts: logic/backend.py
Merge branch 'logging' into api-current
Update firewall profile in the callback
Refs #527
Extend net notifications to include IPv6 addresses
Include support for autogenerated public IPv6 addresses,extend the logic layer accordingly:
Use iallocator for CreateInstance() RAPI call
Do not specify the Ganeti node in CreateInstance() RAPI calls,allow Ganeti to use an iallocator to determine instance placement.Also make minor PEP8-related fixes to logic/callbacks.py.
Add a PROTECTED firewall profile
Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current
Conflicts: api/images.py api/networks.py contrib/ganeti-hooks/kvm-vif-bridge db/fixtures/images.json db/models.py logic/backend.py logic/tests.py settings.py.dist tools/cloud
Add initial support for firewall profiles
Add proper license headers
Merge branches api-current and ui-0.4, minor fixes
Merge branches api-current and ui-0.4: * Fix merge conflicts * Fix minor bug in reconciliation mgmt command * Add comments in settings.py.dist * minor PEP8 fixes
Merge branch 'images-0.4'
Merge branch 'reconcilation'
Improve handling of ganeti-net-status messages
Improve construction and processing of ganeti-net-status notifications.Fail with an informative exception if an invalid link value is specifiedin a ganeti-net-status notification.
This shouldn't happen normally. It is usually the result of an administrator...
Use snf_null as the default link
Optimize disconnect to be performed in one action
Make Network and NetworkLink relation explicit
DB migration needed.
Fix typo
Network improvements
Connect networks API with the Ganeti
A database migration is needed....
Refactor networks
Add initial support for different Image formats
Initial support for choosing between different Image formats:
Dispatcher configuration for reconciliation
Merge branch 'master' into images-0.4
Fix bug with servers in UNKNOWN API state
Fix bug with servers appearing in UNKNOWN state, in theAPI response of GET /servers/detail.
The logic layer mishandled reception of a Ganeti-op-status messagewhen an OP_INSTANCE_QUERY_DATA operation was initiated by the Ganeti...
Initial commit for Image Support in Synnefo
Add Image Support in Synnefo, more specifically: * Add fixtures for 4 actual images * Add two more fields in Image model (backend_id, format) * Commit South migration for Image model * Modify create_instance() in logic/backend.py to pass OS parameters...
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...
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.
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.
Allow destroying machines being built
Raise if vm is deleted or being built
Fixes #351
Fix debugging hardcoded value
Code clean up
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...
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
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