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'
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
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
Rename management command
Merge branch 'simplequotas' into queues+minor_net
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
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
Revert plankton backends
Minor changes / initial run after fixes
Bug fixes related to kamaki changes
Started fixing kamaki changes which broke snf-burnin
Fix userdata tests
mock astakos get_user to bypass calls to astakos server
Fix multiple connect actions sent to the server
Refs #2358
Fix nonexistent image metadata handling
Improve readability of vm password in ui
Update copyright notice on ui footer
Fix browser history handling, Refs #2299
Merge branch '0.9-wip'
Merge branch '0.9-wip' of https://code.grnet.gr/git/synnefo into 0.9-wip
Try to decode the server name before printing it
Fallback to displaying the image id if it can not resolve it
Remove --detect-orphan-{servers,networks}
They have to depend on Astakos, move their functionality externally.
Fix default CLOUDBAR_LOCATION setting value
Reset flavor on image selection change
Update footer links
Include astakos username in feedback emails
Update js unittest suite
Proper image gui metadata identification
Removed uneeded debug statement
Proper gui/os image metadata handling