Implement network reconciliation
New management commands to inspect network/server
Update management commands for new-style networks
Common functions for instance/network backend name
Fix use of network name prefix
Release resources when deleting network
Set as available in the pool the bridge and mac prefix that wasused by the deleted network.
Fix bug about unknown network in instance's nics
Fix management commands
- Fix bug in backend_add- Display backend_name in network_inspect command
Fix bug in networks api
Modification in logic for new-style networks
Synchronize networks when adding a new backend
Rename backend_create to backend_add
Temporary API modification for new style networks
Major modifications to Network model
Since Ganeti version 2.6, Ganeti is aware of private networks. We takeadvantage of this by propagating network handling to Ganeti. Networkmodel is expanded to include information about the type of network(public routed, physical vlan, private filtered), subnet, gateway, dhcp,...
Implement BackendNetwork model
Create a new model, to represent the state of each network in eachbackend.
Remove stale save's in db
Create network queues and refactor dispatcher
Implement backend allocator and management command
New module implementing instance allocation to one of the availablebackends. Allocation is performed based on memory and disk utilization.Statistics for each backend are stored in DB and updated periodically....
Fix issues concerning reconciliation
Use the Backend client instead of global RAPI
Replace use of global RAPI client, with the cached client from theVirtualMachine or Backend model.
Dispatch network actions to all backends.
New management commands concerning backends
- Create command to create a backend (snf-manage backend_create)- Create command to modify a backend (snf-manage backend_list)- Create command to list backends (snf-manage backend_modify)- Modify listservers command to display the backend that hosts the VM
Create Backend model to represent a ganeti backend
- Create Backend model holding info about credentials, status and resources- Add Backend as foreign key to VirtualMachine- Create a cache of Backend clients (RAPI) for better performance
Rename backend_id to backend_vm_id
Rename backend_id field of VirtualMachine model to avoid conflict between thebackend that hosts the VM and the id that the VM will have on the backend.
Fix white space and PEP8
Merge branch 'snf-tools'
Remove burnin from snf-cyclades-app setup
Initial commit to snf-tools
burnin.py is now PEP8 compliant
Change default log-folder and path handling
Added log folder option / Now delete-stale deletes also stale networks / Fixed failed testcases output not "None"
Fixed oob console test/Delete stale vms in each run
Update Changelogs for v0.10.0
Output log in folder per image/Flavor argument now working/Fixed networking testcase
Fix default cyclades ui UI_MEDIA_URL setting
Minor fixes
Added more logging messages for user
Merge branch 'master' into burnin
Output now stored in folders for each burnin run
Remove stale pid lockfiles on daemon invocation
Various fixes about fabric usage
Using fabric only to setup interfaces
Update setting files
Update Changelog
Rename management command
Merge branch 'simplequotas' into queues+minor_net
Update setup.py dependencies
- bump snf-common required version- replace ampqlib to puka
First formatted output
Splitting burnin to multiple modules
Update Changelog for snf-cyclades-app
Also improve documentation of quota settings.
Simple per user quota mechanism for networks/vms
- New dict setting VMS_USER_QUOTA to allow setting per user quota (overrides MAX_VMS_PER_USER setting)- Private networks quota mechanism (based on MAX_NETWORKS_PER_USER and NETWORKS_USER_QUOTA settings)...
Refactor AMQP client
Merge branch 'master' into new_queues
Conflicts: snf-cyclades-app/synnefo/logic/callbacks.py
Fixed sudo/su issues
Update Changelog for cyclades-app
Remove messages that can not be handled from queue
Temprory fix for removing accumulated messages from RabbitMQ. Currentlysnf-ganeti-eventd produces messages that can not be handled fromsnf-dispatcher (e.g messages not concering an instance). These messages...
Fixed metadata users handling
Fix create view image selection, Refs #2487
Only reset image selection on create view initialization to be able tokeep image selection between subviews transitions.
Console popup window fix for safari, Refs #2463
It seems that Safari allows popup windows only if the window.open callis made from within an html element click event context. Otherwise itsbehaviour is based on "Block Pop-Up Windows" setting, which when enabled...
Public SSH keys improvements
- use 'id_rsa' as the filename for the downloaded private key, Refs #2461- changed the name of the auto generated public key
Keep common default settings consistent
gtools provides common name settings with cyclades app to connect to therabbit mq server. It is wise to keep consistency for the default valuesof common settings.
Prepend namespace for named urls of ui
to avoid conflicts with other applications named urls.
Improve wording on vm create view
More explanatory info for the selection of public keys that will getcopied to the created vm on step 3 of vm create view. Refs, #2462
Display stats period selection in ui
taking advantage of the urls for weekly graphs that stats service provide.Refs #1791
First complete test finished
Add management command to inspect queue messages
Refactor common code in dispatcher's callbacks
Remove unused code
Remove old code used for reconciliation, as the reconciliation mechanism haschanged
Add prefix to debug queue
Small refactoring in getting vm id
Clean up dead code
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...
Client for interaction with a RabbitMQ broker
Introduce a client implementing connection and communication with a RabbitMQbroker.
This client silently handles connection failures an tries to connect to adifferent node. Also uses publisher-confirms to guarantee delivery to the...
Minor change in rapi call
Ganeti 2.5 needs a tupple of length 3 for nics modifications.So in ModifyInstance rapi call we pass (add, -1, {..}) for nis.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Take advantage of ganeti hotplug
No race condition. No need for ther NetworkInterface to have anoperstate. Hook runs during instance-modify and depicts the currentlyexisting nics. No reboot needed modification to take place.
Later in mutliple backend mac prefix handling should be done by synnefo....
Delete VM nics on update path
Delete VM nics when a message of type OP_INSTANCE_REMOVE has been receivedfrom ganeti, and not when doing the RAPI call.
Simplify disconnecting vm from network
Use the new option of Ganeti, to remove a specific nic.
Use 'network' instead of 'link'
- Rename GANETI_PUBLIC_LINK to GANETI_PUBLIC_NETWORK- modify create_instance of backend module
First approach to complete network testcases
Fixed network testing with exactly 2 vms
Fixed kamaki clients handling
Various fixes
Fixed insist on actions / fixed testing conditions
Networking testcases work, insist_on actions needed to be implemented
Personality enforcement check now works
Started personality file injection testing
Added network testing without insisting on status
Started networking testcases
Update cyclades-app Changelog
Revert plankton backends
Minor changes / initial run after fixes
Bug fixes related to kamaki changes
Started fixing kamaki changes which broke snf-burnin