Alex Huang
d71e358a9f
Removed unused methods
2013-06-11 16:49:49 -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
38a30574e9
Removed some of the unused code.
2013-06-11 09:51:51 -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
5e6d2cf559
Fixed the start
2013-06-07 10:11:57 -07:00
Kelven Yang
90df846adb
Fix CallContext NDC cleanup problem
2013-06-06 17:52:21 -07:00
Alex Huang
2e1e2babcb
More fixes on starting from jobs
2013-06-04 20:10:29 -07:00
Alex Huang
688b047c2a
Made it all work on startup
2013-06-03 17:10:28 -07:00
Wei Zhou
f714d26039
Revert "CLOUDSTACK-1301: Add VM Disk I/O Throttling"
...
This reverts commit 6dad8adf8f .
2013-06-03 07:48:03 +02:00
Wei Zhou
6dad8adf8f
CLOUDSTACK-1301: Add VM Disk I/O Throttling
2013-06-01 08:03:02 +02:00
Alex Huang
54de6b4868
Revamped UserContext
2013-05-31 04:44:37 -07:00
Mice Xia
4989f73fda
fix CLOUDSTACK-2128, should save network offering id into usage event
2013-05-30 15:26:39 +08:00
Alex Huang
7bdddd0726
merged from master
2013-05-29 15:45:38 -07:00
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
Wido den Hollander
b1f4c8e89a
Fix a small typo in a log line
2013-05-23 23:46:55 +02:00
Alex Huang
3716f1f320
VirtualMachineManager no longer takes generic types
2013-05-23 14:21:00 -07:00
Hiroaki Kawai
7260e8d83f
CLOUDSTACK-1638: Introduce NetworkMigrationResponder
...
The location of the virtual machine is provided by DeployDestination, which will
be passed in NetworkGuru#reserve and NetworkElement#prepare.
During the virtual machine migration, it actually changes DeployDestination and
it looks like that it will tell that event to network components as it has
NetworkManager#prepareNicForMigration. The problem is that althogh the interface
has that method, NetworkManagerImpl does not tell the DeployDestination changes
to network components.
So IMHO, we need to add calls of NetworkGuru#reserve and NetworkElement#prepare
in NetworkManagerImpl#prepareNicForMigration . And then, we also need to add
calls NetworkGuru#release and NetworkElement#release after the migration,
otherwise the network resources that plugin reserved will be kept even when the
vm leaves off.
(Sheng Yang: rebase code, add license header)
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-05-20 16:43:18 -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
Prasanna Santhanam
6ea2b06aab
Fixing multiple minor annoyances:
...
1. Keeping the description consistent - Memory not RAM when referring to
overcommit
2. getters And setters grouped, provided right casing.
3. Removed wildcard imports
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-19 18:34:26 +05:30
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
Prachi Damle
31a67706e4
CLOUDSTACK-2070: Anti-Affinity - When Vm deployment fails because of not being able to satisfy the anti-affinity rule , user should be provided with more informative message.
...
Changes:
- There is no good mechanism currently to figure out if the deployment failed due to affinity groups only
- We can just hint the user that the deployment might have failed due to the affinity groups and ask to review the input
2013-05-17 14:36:23 -07:00
Alex Huang
6bf9de596e
Removed orchestration from relying on cloud-server
2013-05-16 14:13:54 -07:00
Mice Xia
6d57393629
instead of using '==', use equals() to test Long value equality
2013-05-16 16:00:02 +08:00
Alex Huang
cbdc4063c8
Isolated the job queue work in its own project
2013-05-15 10:14:39 -07:00
Alex Huang
d4039743d2
Merged master to vmsync
2013-05-13 17:33:53 -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
Mice Xia
6ef615e40d
fix bug CLOUDSTACK-2341 remove network from VM is not removing PF/LB/static nat rules for the VM
2013-05-09 11:04:30 +08:00
Kelven Yang
4d316addac
prepare wakeup support to job-joining
2013-05-08 18:09:01 -07:00
Kelven Yang
38e2964fd7
Re-org async job constant definition place
2013-05-08 10:05:35 -07:00
Kelven Yang
3c780a500d
Start and stop VM now works for CPVM and SSVM with new VMSync
2013-05-07 17:03:04 -07:00
Kelven Yang
a8a09ba287
hook-up new sync with VirtualMachineGuru(s)
2013-05-06 10:01:46 -07:00
Kelven Yang
ba9a9480b6
Commit intermediate work
2013-05-02 18:06:24 -07:00
Sanjay Tripathi
85a1cc962c
CLOUDSTACK-2087: Destroying the instance is not decrementing the primary storage usage [Resource Count table - No of volumes is not got decremented]
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-02 16:17:13 +05:30
Kelven Yang
86053cd8b2
Add VM work job dispatcher, MethodCapturer etc
2013-04-30 18:12:23 -07:00
Kelven Yang
9786f7b7bb
consolidate VM work jobs
2013-04-26 17:44:28 -07:00
Kelven Yang
7ad0722b86
Unit test to added method to AsyncJobManager
2013-04-26 13:09:19 -07:00
Marcus Sorensen
f429c6687b
Don't allow success to be reported when we fail to stop vm due to no agent
...
connection
BUG-ID: CLOUDSTACK-2195
Bugfix-for: 4.2
Reviewed-by: Edison Su
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1366950954 -0600
2013-04-25 22:35:54 -06:00
Kelven Yang
f1ba6586b9
Add Predicate and MesageDetector for message bus
2013-04-25 17:57:48 -07:00
Mice Xia
79cc241c64
fix CLOUDSTACK-2157 On VMWare ESXi host deployment: Expunged VMs are not getting cleaned up from the host
2013-04-25 14:25:03 +08:00
Kelven Yang
d0a7ca082f
Decouple hypervisor resource from VM state sync
2013-04-24 17:25:08 -07:00
Mice Xia
7dd88fbbc6
fix CLOUDSTACK-2139 When VM is live migrated to a different host , stopped and started , It starts on the original host where it was before live migration.
2013-04-23 14:27:03 +08:00
Kelven Yang
f640a416d1
Revert back a previous change that was trying to carry more info in state machine listeners
2013-04-22 11:29:07 -07:00
Mice Xia
5118e9e29f
1) fix CLOUDSTACK-2129 and CLOUDSTACK-2128
...
2) include nicId in network.offerings.assign/remove event
3) use publishUsageEvent instead of saveUsageEvent to track usageEvent
2013-04-22 19:38:32 +08:00