Commit Graph

132 Commits

Author SHA1 Message Date
Alex Huang e22e58b583 Added RAT 2013-06-25 04:18:40 -07:00
Alex Huang 7b7db0560c merge is complete 2013-06-24 16:50:31 -07:00
Alex Huang c0febea950 finished up the conversion to using outcome 2013-06-24 10:16:35 -07:00
Harikrishna Patnala 7b6b8d7a07 CLOUDSTACK-2987 Ensure XStools to be there in template inorder to enable dynamic scaling of vm
CLOUDSTACK-3042 - handle Scaling up of vm memory/CPU based on the presence of XS tools in the template
This also takes care of updation of VM after XS tools are installed in the vm and set memory values accordingly to support dynamic scaling after stop start of VM

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:08:38 +05:30
Alex Huang fa525a7d38 Added outcome 2013-06-17 17:25:01 -07:00
Alex Huang 3a074f31ae Removed a bunch of useless classes. Move configuration into utils package 2013-06-17 17:04:04 -07:00
Alex Huang aad2bc78c1 Completely Isolated job manager from user 2013-06-17 17:04:03 -07:00
Alex Huang ea6ca5ff5c Removed AsyncJobConstant 2013-06-17 17:04:01 -07:00
Alex Huang 2b96665bf4 jobs changes 2013-06-17 17:04:00 -07:00
Alex Huang aff0220d45 Moved files into cloud-engine 2013-06-13 16:34:41 -07:00
Harikrishna Patnala b83b8eb838 CLOUDSTACK-2502: Scalevm and over provisioning should respect each other
During Scale up of VM, memory/cpu calculations should consider the memory/cpu overprovisioning factors which are set per cluster.

CLOUDSTACK-2939:  CPU limit is not getting set for vm after scaleup to a service offering which have cpu cap enabled

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-13 16:30:56 +05:30
Kelven Yang 35ea8e149d Fix errors in bringing up user VM under new VMsync framework 2013-06-12 12:05:26 -07:00
Alex Huang 1310535be5 some unfinished cleanup on removing the caller and account 2013-06-11 16:45:18 -07:00
Alex Huang 33dfe4f752 Removed all the apis that need the user and account to be passed in. Get them from the call context instead 2013-06-11 14:11:40 -07:00
Alex Huang ad1c82fdda Removed unused stuff from virtualmachinemanager 2013-06-11 13:15:23 -07:00
Alex Huang aaa16af211 Merged from master 2013-06-09 17:53:27 -07:00
Alex Huang ebbd4008ad zone creation complete once more 2013-06-07 18:15:55 -07:00
Alex Huang 2e1e2babcb More fixes on starting from jobs 2013-06-04 20:10:29 -07:00
Alex Huang dd11254087 further refactored jobs 2013-06-04 13:54:33 -07:00
Alex Huang 688b047c2a Made it all work on startup 2013-06-03 17:10:28 -07:00
Wei Zhou b9b0168da4 CLOUDSTACK-1192: Add Disk I/O Statistics 2013-06-01 08:00:48 +02:00
Alex Huang b8261b8705 Moved UserContext to its proper place as CallContext 2013-05-31 05:05:05 -07:00
Alex Huang 54de6b4868 Revamped UserContext 2013-05-31 04:44:37 -07:00
Saksham Srivastava 965c7b9c35 Patch 2: CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host
Patch 2 for https://reviews.apache.org/r/11379/
Created for files server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java, server/test/com/cloud/vm/DeploymentPlanningManagerImplTest.java, server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java
2013-05-30 01:07:07 -07:00
Alex Huang cd6aea1015 fixed up one test from merge 2013-05-29 17:06:18 -07:00
Alex Huang 7bdddd0726 merged from master 2013-05-29 15:45:38 -07:00
Harikrishna Patnala a34e577d1b CLOUDSTACK-1453: support restore for VM created from ISO
This is to support restore a vm to a new/currently_attached ISO.
In the restorevm API we have an optional parameter templateId to restore the vm to the new template/ISO ID.
2013-05-24 16:41:03 +05:30
Alex Huang 6a1e1e80fe Merged from master 2013-05-23 18:16:32 -07:00
Alex Huang 099778e38e Finally finished how to get virtualmachine manager to work correctly 2013-05-23 17:55:23 -07:00
Alex Huang 3716f1f320 VirtualMachineManager no longer takes generic types 2013-05-23 14:21:00 -07:00
Sheng Yang eb7c321426 PVLAN: CLOUDSTACK-2401: VM Migration support 2013-05-20 16:43:24 -07:00
Alex Huang 05cb7342ae merge from master complete 2013-05-19 20:04:28 -07:00
Alex Huang 5145c3cbf1 Removed the generics from VirtualMachineGurur 2013-05-19 09:12:20 -07:00
Alex Huang e33bc08a8b Removed plug and unplug method as they're not appropriate for VirtualMachineGuru 2013-05-18 15:44:48 -07:00
Alex Huang 1c78396ae2 Completely removed the generic type from VirtualMachineProfile 2013-05-18 10:05:09 -07:00
Nitin Mehta 4eb310e926 iCLOUDSTACK-2321
Fix the response of scaleVMCmd
Add Scale System vm command
2013-05-17 17:43:43 +05:30
Prachi Damle a2eb7bab1e CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering
- Changes merged from planner_reserve branch
- Exposing deploymentplanner as an optional parameter while creating a service offering
- changes to DeploymentPlanningManagerImpl to make sure host reserve-release happens between conflicting planner usages.
2013-05-16 15:02:17 -07:00
Alex Huang 6bf9de596e Removed orchestration from relying on cloud-server 2013-05-16 14:13:54 -07:00
Alex Huang cbdc4063c8 Isolated the job queue work in its own project 2013-05-15 10:14:39 -07:00
Nitin Mehta 24cdddbf5e CLOUDSTACK-2459 Fix the scale vm tests 2013-05-15 14:25:39 +05:30
Alex Huang d4039743d2 Merged master to vmsync 2013-05-13 17:33:53 -07:00
Nitin Mehta bcc320f8b0 Scale vm test failing..commented for now to unblock all. Will open a bug for the same 2013-05-13 18:32:01 +05:30
Kelven Yang c7530dbd70 Hook job monitoring 2013-05-12 18:15:47 -07:00
Kelven Yang 2210c10271 cleanup, bug-fixes for job wakeup process 2013-05-12 16:46:01 -07:00
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Nitin Mehta 1731a4a442 Add the new APIs along with tests 2013-05-11 14:13:38 +05:30
Kelven Yang 2320b1c2c5 Unit tests for job wakeup process 2013-05-10 18:07:14 -07:00
Likitha Shetty dfad178a9e Bug CLOUDSTACK-1390: Allow Root/Domain admin to move a User VM to another user under a different domain
Add unit tests
2013-05-10 12:18:43 +05:30
Kelven Yang 3c780a500d Start and stop VM now works for CPVM and SSVM with new VMSync 2013-05-07 17:03:04 -07:00
Alex Huang 3722d66aae Fixed up unit testing to use only an in class TestConfiguration 2013-05-06 16:34:27 -07:00