Commit Graph

686 Commits

Author SHA1 Message Date
Chiradeep Vittal f49469270e bug 10920: avoid deadlocks by not using order by random 2011-07-30 12:54:50 -07:00
Chiradeep Vittal 41e6aeae96 bug 10884:
1. cleanup was scheduled wrong (seconds vs ms)
2. when finding a work item to do, lock one random row to reduce contentions by thundering herds of workers
3. cleanup thread also finds scheduled work items and gets threads to work on them. this way other mgmt servers can take jobs
4. add lots of trace logs
5. commit transactions when returning early
2011-07-29 16:28:06 -07:00
Alex Huang c00b9bf5aa fixed problems with security group. it's possible for threads to disappear due to exceptions. Also it needed to define in memory transaction boundary 2011-07-29 10:41:36 -07:00
Chiradeep Vittal 1226a49976 bug 10884: use the proper keys this time 2011-07-27 17:58:59 -07:00
Chiradeep Vittal 8cc694a579 bug 10884: bump up thread pool and cleanup less often 2011-07-27 14:44:52 -07:00
Alex Huang 45074e7cba bug 10799: There are two problems. The deadlock was ate up but then the savepublicip call return true, causing the problem with the pod_vlan_map hitting a constraint problem. HostPodDao was used as the scope for the insufficient capacity exception which causes the virtualmachinemanager to not to retry starting the vm. It should have been HostPod instead of HostPodDao. 2011-07-21 11:22:55 -07:00
Nitin 0c91e938e1 bug 10290: Allow turning off router stats collector
Status 10290: resolved fixed
2011-07-21 19:52:32 +05:30
alena 3167c49687 bug 10736: when deploy vm in Basic zone, 1) send vmData/Password info to the Dhcp running in the same pod 2) send dhcp information to all pods in the system only when network.dns.basiczone.updates has "all" value
status 10736: resolved fixed
2011-07-20 16:50:58 -07:00
alena 25206e6257 bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
alena 864a04ea6d bug 10671: list domain level networks for children domains when domainId is not specified
status 10671: resolved fixed
2011-07-08 21:17:32 -07:00
alena 9db9d3f36f When release public ip address, make a search by ip+networkId instead of ip+accountId as ipAddress is unique in network only. 2011-07-08 15:55:15 -07:00
Kelven Yang e522ecb3a1 Add data integrity check for Console Proxy/SSVM/Domain Router 2011-07-06 17:22:21 -07:00
alena a8a9b37824 bug 10553: allow networkDomain update for Guest system network in Basic zone
status 10553: resolved fixed
2011-07-06 14:16:04 -07:00
alena b2942572e7 bug 10453: fixed NPE in startRouter command - used to happen when domR start was called for existing domR as a part of networkImplement
status 10453: resolved fixed
2011-06-30 11:35:51 -07:00
anthony 7cafe9eae4 fixed compile warning 2011-06-28 10:56:35 -07:00
Alex Huang a59d70e7e4 bug 10375: fixed deadlock issue I think 2011-06-27 10:43:32 -07:00
alena 41f12eb642 Pass isForRebalance parameter to processConnect method of all the listeners - some listeners don't have to be notified when connection happens as a a part of Agent Rebalance process (VirtualMachineManagerImpl listener for instance) 2011-06-27 10:20:41 -07:00
alena 0bf34f3612 bug 10447: don't notify VirtualMachineManager listener when do host rebalance - vm sync is not needed in this case.
status 10447: resolved fixed
2011-06-27 10:20:40 -07:00
Alex Huang 97b562fc2a logging changes 2011-06-27 10:18:40 -07:00
alena 74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
alena 38ffe66b66 bug 10424: send userData information only when vm is in one of the following states: Running, Starting, Stopping, Migrating
status 10424: resolved fixed
2011-06-23 11:06:52 -07:00
Alex Huang 129f40d0cb bug 10375: trying to reduce the scope of the transaction 2011-06-22 16:34:14 -07:00
Murali Reddy 34a36b7009 Bug 10012: Vague error event created when user attempted to exceed limit set for a given resource
status 10012: resolved fixed
2011-06-22 13:00:59 +05:30
Alex Huang a254e90ab3 Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 10:15:42 -07:00
alena 336235e5e3 bug 10359: don't allow system network deletion
status 10359: resolved fixed
2011-06-20 09:23:07 -07:00
Abhinandan Prateek 976aab77bb bug 10305: for a systemvm only applicable system vm offering should be displayed
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek cf15573d06 bug 10313: marking default system offering as default so that they should not be deleted
status 10313: resolved fixed
2011-06-19 12:30:07 +05:30
alena 9fa2e68be6 Validate network domain in upateNetwork command 2011-06-17 16:59:15 -07:00
Alex Huang 3d0b30073e bug 10341: deploying virtual router and deploying dhcp server should not be acquiring locks in lock table 2011-06-17 08:17:13 -07:00
Murali Reddy aa4f654929 bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
kishan dfd3e128f5 bug 8879: Send network usage command for domain routers in Running state only
status 8879: resolved fixed
2011-06-15 14:17:30 +05:30
kishan ed6809c53d bug 8144: Added event for router start/stop and reboot
status 8144: resolved fixed
2011-06-15 12:40:23 +05:30
alena 3127acde93 bug 10233: listNetworks - don't default isSystem=false when id parameter is specified
status 10233: resolved fixed
2011-06-13 09:51:30 -07:00
Alex Huang 44d15d38b0 bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object. 2011-06-11 13:45:00 -07:00
Sheng Yang 2971fb32fb bug 9516: Fix network.throttling.rate on DomR other vnifs
It's due to nobody tell getNetworkRate() it's the router who want to get network
throttling rate, then the function failed to follow the policy.

status 9516: resolved fixed
2011-06-10 19:52:59 -07:00
Kelven Yang 5f7f885c6a bug 10214: merge fix from 2.2.4 branch 2011-06-10 12:08:22 -07:00
alena b9325a28dd bug 9579: allow domain name suffix update for existing networks.
Block update only in these cases:

* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
2011-06-09 16:10:24 -07:00
Alex Huang 575ac62926 bug 9651: propagating 3fd50fd8634958727f4c64c9d1fb7fa27e07e4c8 2011-06-08 15:58:01 -07:00
alena 8948c3dd84 1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
kishan b82fac179a bug 9785: Added Vlan Assign Release events
status 9785: resolved fixed
2011-06-06 13:33:21 +05:30
alena 14cdc7de14 bug 9127: covered failure scenarios for agent LB.
status 9127: resolved fixed

The feature is completed; please file separate bugs if any issue arises during the testing.
Wiki link describing how agentLB works: http://intranet.lab.vmops.com/engineering/release-2.2-features/agent-load-balancing
2011-06-05 17:35:30 -07:00
Alex Huang d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
Alex Huang bc67b2a973 bug 9651: update now also shows tags 2011-06-01 17:50:04 -07:00
Alex Huang 2ceadec326 bug 9651: tags parameter added to createnetwork 2011-06-01 17:36:14 -07:00
alena df403c953d bug 10080: update nic profile with DNS info for the nics with reservation_strategy=Create
status 10080: resolved fixed
2011-06-01 17:05:32 -07:00
Alex Huang 67ff27496d tags added 2011-05-31 09:48:34 -07:00
Murali Reddy 9f93fee7b6 Revert "bug 9785: events around VLAN assign/release"
pulling out as action event is required not the usage event

This reverts commit 7052e5451878a1595cb5b0d359a3a4482d9f9bc7.
2011-05-24 15:08:42 +05:30
Murali Reddy 8ad3fbf9d2 bug 9785: events around VLAN assign/release
adding usage event for new VLAN allocation for the account from the zone vlans
2011-05-24 13:55:22 +05:30
Alex Huang 0dfc44582b bug 9651: Adding network tags
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Abhinandan Prateek 5ad41e09ae bug 7553: Virtual Router service offering 2011-05-21 22:21:12 +05:30