Commit Graph

3226 Commits

Author SHA1 Message Date
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
alena 5e28e5e3f1 Fixed the bug when networkRate for the domR's guest network wasn't taken from the service offering 2011-08-30 10:40:54 -07:00
Murali Reddy f0fa75f793 bug 11179: template url and format are not validated
added check to verify url ends with extension same as the template format specified
2011-08-30 16:23:06 +05:30
Edison Su c90397bd0e bug 11217: only work on the snapshot whose state is "backedup" and is not removed
status 11217: resolved fixed
2011-08-29 15:29:34 -07:00
Edison Su e09e4e5bed bug 11217: add db upgrade script, if sechost_id is missing of a snapshot, add one got from presnapshot_id
status 11217: resovled fixed
2011-08-29 15:29:14 -07:00
alena 19ee92a528 bug 11196: fixed the code when gson serialization was done twice
status 11196: resolved fixed
2011-08-29 14:48:09 -07:00
alena 4a4e832fdb bug 11290: insert VPN config values as a part of 229-2210 upgrade
status 11290: resolved fixed
2011-08-29 11:20:57 -07:00
alena 6ea450d362 Reverted wrong commit for logging in HostDaoImpl 2011-08-26 17:48:10 -07:00
Kelven Yang bf814aeadd bug 11263: only update host Id when VM is in running state when detected external VM migration 2011-08-26 16:27:42 -07:00
alena 686f9406e1 Fixed the bug in extractTemplate - do ignoreCase comparison when verify the download mode. 2011-08-26 10:11:18 -07:00
Nitin 56c59bb5d5 bug 11244: Thread updating "op_host_capacity" table shouldn't do updates for removed pods/zones.
status 11244: resolved fixed
2011-08-26 18:56:37 +05:30
Naredula Janardhana Reddy 701ddbfc1d bug 11253:
Added New value "link-local"  to  global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
       global -  stats visible from public network
       guest-network - stats visible only to guestnetwork.
       link-local - stats visible only to link local network
       disabled - stats disabled.
2011-08-26 15:25:45 +05:30