Commit Graph

7383 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 35f44615e0 make instance_id unique to allow usage of ON DUPLICATE KEY 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
Chiradeep Vittal eca3d1cb90 Failed waiters could wait longer than the requested timeout (upto 2x) 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
Prasanna Santhanam ee15da14d2 setup and tests for kumquat 2011-09-07 18:34:57 +05:30
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
Abhinandan Prateek 8e97b52ae1 bug 10824: clearing up older entries in resolv.conf and dnsmasq-resolv.conf before adding so that duplicate entries do not end up in these files.
status 10842: resolved fixed
2011-09-07 05:10:12 +05:30
alena feba1a8ca9 1) More logging to cloud-sysvmadm script - to give the user better details on which domR is being restarted at the moment
2) When domR is executed in parallel thread, make sure that the thread "exit 0" after the restart is done
2011-09-06 16:08:23 -07:00
alena 4233bbf688 bug 11329: changed default number of parallel threads to be 10 in cloud-sysvmadm
status 11329: resolved fixed
2011-09-06 11:31:12 -07:00
Prasanna Santhanam 0d7fe23dc4 some stress tests for guava 1. testDeploy in multiple accounts 2. testDestroy in multiple accounts 3. combine stress in 1. and 2. 2011-09-06 18:37:36 +05:30
Prasanna Santhanam cc6cd96850 Adding primary storage in the cluster and ipranges to the zone 2011-09-06 18:36:44 +05:30
Prasanna Santhanam a01d148f5d advanced network, single pod, guava environment 2011-09-06 11:32:31 +05:30
Prasanna Santhanam 4ee6d2645c renaming to fruit 2011-09-06 09:42:54 +05:30
alena 3f7c9f3868 bug 11321: update vms in obsolete "Creating" state to "Error" state.
status 11321: resolved fixed
2011-09-02 17:29:01 -07:00
alena e5ac59afbc bug 10550: check if the network is configured properly on the backend before vm creation
status 10550: resolved fixed
2011-09-02 16:58:55 -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 30e6ab28e4 bug 11324: merge fix from branch 2.2.10 2011-09-02 15:36:35 -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
Edison Su 9439423317 fix the long time issue that sometimes libvirt reports volume missing 2011-09-02 01:01:01 -07:00
Kelven Yang d7a1af950a bug 11296 : merge fix from 2.2.10 2011-09-01 11:56:17 -07:00
anthony 452957f653 try pingXenServer first before getConnect in getCurrentStatus 2011-09-01 11:48:53 -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 7162a9e016 turn-off temporary debugging stuff 2011-08-31 18:17:59 -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 0afb545e07 partly bring usage back to spec file to work around rpm build 2011-08-31 16:21:43 -07:00