Chiradeep Vittal
65414903b7
Add the ability to disable some vms from being scheduled
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
1ddda37e13
enable logging of the management server id
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
78ded9c78e
jconsole doesn't understand Ternary
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
3c5becbd95
Enable monitoring over JMX
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
d531f3af29
Dequeue the vm with the largest id first -- this ensures that newly started vms get updated early
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
b0be029cb2
Retry 3 times on deadlock: if not updated, then throw a runtime exception to roll back the vm start
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
b7c1296534
make signature calculation consistent across management servers
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
4b11e5e508
retry a transaction if it deadlocks
2011-09-07 13:58:48 -07:00
Chiradeep Vittal
d532bec118
fix perf. issue in deploy vm. also remove dead code in dao
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c504ce1aaf
if true, this could lead to the dog chasing its own tail
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
8006ed159b
only update sequence number when asked to. full sync SHOULD NOT request sequence number updates since this will lead to the dog chasing its own tail
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
ed666cb01a
Avoid going back to the nics table for information we already have
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
2611d1d61f
thread.yield() to attempt to induce deadlocks only
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
46200d122e
try using multi inserts to overcome deadlock during batch update
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
3c45a7a195
Reduce batch size to 16 to avoid sql errors
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
d6448d9fb8
useful logging
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c8712401ca
unit test for SG mgr v2
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
c5fea7a03c
use the new implementation of SG manager
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
8c6fe3a9af
Use hashset since it is 50% faster. we can use treeset when we support priority
2011-09-07 13:58:47 -07:00
Chiradeep Vittal
ed867d0799
unnecessary statement
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
68dcad8ce6
Mocks for all
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
0cc3a1e3f8
WIP: implement a queue where inserting a job for an existing vm does not create a new job
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
6465ccff1b
WIP : memory based queueing
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
fc274739f0
bug 10997: unnecessary database operation
2011-09-07 13:58:46 -07:00
Chiradeep Vittal
5172272d99
bug 10997: No need to go further when we don't have a proper job to process
2011-09-07 13:58:46 -07:00
Alex Huang
3a087c2e62
schedule the work after transaction
2011-09-07 13:58:46 -07:00
Alex Huang
47957c85d9
missed one file
2011-09-07 13:58:46 -07:00
Alex Huang
0900b232fc
one big transaction to see if it's any faster
2011-09-07 13:58:45 -07:00
alena
668276e22c
bug 11326: don't try to transfer the agent if it's a forward agent
...
status 11326: resolved fixed
Also added more logging to the agent rebalance code.
2011-09-07 12:49:02 -07:00
anthony
9842a9aed3
bug 10078:
...
1. introduce migratewait in global configuration, the default value is 1 hour
2. use async xapi VM migration API
status 10078: resolved fixed
2011-09-07 12:40:30 -07:00
kishan
3a6c226bc9
bug 11345: Compare current and previous network stats before updating. Ignore stats if the current stats are not same as the prev stats. Set NetworkUsageAnswer log level to debug
2011-09-07 13:16:11 +05:30
alena
03958369e0
bug 11331: allow extending vnet range as a part of updateZone call
...
status 11331: resolved fixed
2011-09-06 17:41:38 -07:00
alena
654bcdeb5e
bug 10751: don't remove already removed templates during the account cleanup
...
status 10751: resolved fixed
2011-09-02 16:10:00 -07:00
alena
7cea149dc2
bug 11002: userVmDao - create searchBuilder as a part of dao init process (otherwise it's not threadsafe)
...
status 11002: resolved fixed
2011-09-02 15:51:24 -07:00
Kelven Yang
a7ac75f920
bug 11304: restore host status after initialization failure
2011-09-02 15:17:57 -07:00
anthony
57e731b60e
set timeout for CheckOnHostCommand to 50 s
2011-09-02 15:01:06 -07:00
anthony
238ffd0a9b
put getConnection into try
2011-09-02 15:00:58 -07:00
alena
a357dcc728
bug 11259: ROOT admin can extract template/iso even when it's not mark as extractable
...
status 11259: resolved fixed
2011-09-02 12:33:30 -07:00
alena
0242dd51ab
bug 11332: don't try to log vm's information when the vm is already Expunged
...
status 11332: resolved fixed
Conflicts:
server/src/com/cloud/vm/dao/VMInstanceDaoImpl.java
2011-09-02 12:08:16 -07:00
Sheng Yang
96cf40972c
bug 11305: Remove router stop logic from disconnect host.
...
Now the logic is: if we can only connect to one of the two redundant routers, we
would stop the one that can't be connected. If we fail to program both routers,
just let it go.
2011-08-31 19:27:17 -07:00
Sheng Yang
5e450e9852
bug 11305: Stop disconnected redundant virtual router if we can process with the connected one
...
When we apply rules or start new VM, we may encounter some running routers that
we can't program. That can due to network issue or host is down or vCenter is
disconnected, etc. To keep the synchronization, we would stop them, but only
when there is the other router we've successfully updated. If both routers are
unable to communicate with, we simply give up and report it user.
2011-08-31 19:15:38 -07:00
Kelven Yang
1216aebbc0
bug 10765: add japanese keyboard support for linux OSes
2011-08-31 18:17:38 -07:00
alena
78b2df8549
Do account permission checks for snapshots the way it's done for all other ControlledEntities
2011-08-31 17:53:48 -07:00
frank
996d6302eb
Bug 8966 - Oracle VM (OVM) support
...
configure hostname of host for OCFS2
small fixes
2011-08-31 15:37:16 -07:00
kishan
a6d196e96c
bug 11316: In 2.2.y, removed new template upgrade changes. Added upgrade path from 2210 to 2211. Moved existing changes to 2211to2212
...
status 11316: resolved fixed
2011-08-31 15:11:36 +05:30
kishan
a7b760a482
bug 11316: Removed new template upgrade changes. Added upgrade path from 2210 to 2211. Existing changes moved to 2211to2212 upgrade
...
status 1316: resolved fixed
2011-08-31 15:01:39 +05:30
alena
4f6914d56b
bug 11298: give detailed error message when failed to authenticate a user
...
status 11298: resolved fixed
2011-08-30 16:52:52 -07:00
alena
aaf46356bb
Mark account as cleanup_required=0 when cleanup was finished successfully
2011-08-30 14:10:07 -07:00
alena
4dd4b41344
Don't remove the domain when it has accounts that are removed, but require cleanup
2011-08-30 14:10:00 -07:00
alena
60ce12b892
Fixed multipe problems in account cleanup process:
...
* don't try to delete the template when it's already removed
* no need to perform permission check when deleteFirewallRule is called by System (as a part of cleanupAccount process for instance)
2011-08-30 11:22:56 -07:00