cloudstack/server/src/com/cloud
Koushik Das ab60e9eae9 CLOUDSTACK-4636: In a scaled up setup all Vm's in a cluster were stopped and/or started after management server restart
Issue happens as there are more than one thread processing connect for a host simultaneously. The VM full sync. is not designed to work in this scenario and as a result user VMs may get stopped incorrectly.
Direct agent scan task runs at regular intervals (direct.agent.scan.interval defaulted to 90 secs) and identifies hosts that needs to be processed for connect. In a normal scenario hosts mostly get connected within that interval and there are no issues. But if due to some reason the connect process takes more time and is not completed by the time next agent scan runs. In this case, based on the db. state same hosts may get picked up again. And then there will be situations where more than one thread is processing connect for the same host.
The fix is to check if there is a thread already processing connect for a host and in this case all subsequent threads for that host will simply bail out. Also there may be a scenario where one thread already completed processing connect but another thread already got scheduled before that and will again repeat the same. This is also prevented by putting appropriate checks.
2013-09-10 11:54:32 +05:30
..
account Patch from Chip Childers 2012-07-02 09:51:21 -04:00
acl CLOUDSTACK-4337 Dedicated Resources: Zone dedicated to an account should only be visible and accessible to that account 2013-08-14 16:11:55 -07:00
agent CLOUDSTACK-4636: In a scaled up setup all Vm's in a cluster were stopped and/or started after management server restart 2013-09-10 11:54:32 +05:30
alert Fix for incorect capacity displayed at the db. 2013-07-30 22:13:44 +05:30
api CloudStack CLOUDSTACK-4484 2013-08-26 17:53:06 -07:00
async CLOUDSTACK-1047: tracking in logs using job id. 2013-07-11 10:57:13 +05:30
capacity CLOUDSTACK-3047 java.lang.NullPointerException encountered when executing capacityChecker thread. 2013-08-15 17:44:07 -07:00
cluster merge master 2013-05-11 15:28:43 +05:30
configuration CLOUDSTACK-4498 we should not reserve memory and cpu for vmware VMs if the vmware.reserve.cpu and vmware.reserve.mem are set to false. 2013-08-27 19:42:07 +05:30
consoleproxy CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied 2013-08-14 18:01:09 -07:00
dao CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl 2013-02-05 16:49:34 +05:30
dc CLOUDSTACK-4189: [UI] In multi zone setup, dedicating a single zone to a domain, shows other zones dedicated as well 2013-08-12 18:24:40 +05:30
deploy CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group 2013-08-10 11:02:57 -07:00
event Summary: Fix null pointer and op_networks blocker to account cleanup 2013-07-30 11:20:15 -06:00
ha CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/ 2013-08-07 10:29:18 -07:00
hypervisor CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/ 2013-08-07 10:29:18 -07:00
keystore merge master 2013-05-11 15:28:43 +05:30
metadata =CLOUDSTACK-3102 ResourceDetail API - If you add detail for any resource other than volume and nic then throw an exception 2013-08-01 17:37:00 +05:30
network Revert "CLOUDSTACK-2792: Send "saved_password" to BACKUP router when reset password for user VM" 2013-09-05 14:55:45 -07:00
projects CLOUDSTACK-2331: Failed to display exception object information in case of CloudRuntimeException. 2013-05-28 16:01:33 -07:00
resource CLOUDSTACK-4636: In a scaled up setup all Vm's in a cluster were stopped and/or started after management server restart 2013-09-10 11:54:32 +05:30
resourcelimit CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly. 2013-07-19 16:19:23 +05:30
secstorage merge master 2013-05-11 15:28:43 +05:30
server CLOUDSTACK-4572: findHostsForMigration API does not return correct host list 2013-08-30 12:31:25 -07:00
servlet CLOUDSTACK-4186. Signature computed while accessing VM's console is not aligned with how signature is computed for other APIs 2013-08-08 16:17:51 +05:30
storage CLOUDSTACK-4627: fix NPE in vm migration 2013-09-09 15:58:22 -07:00
tags CLOUDSTACK-3346: Fixed setting up resourceTags for network ACL - added missing @Inject when load NetworkACLItemDao 2013-07-15 10:19:55 -07:00
template CLOUDSTACK-4530:Create Template from a Snapshot fails with unable to 2013-08-27 16:56:49 -07:00
test SolidFire plug-in and related changes 2013-06-28 16:59:21 -06:00
usage CLOUDSTACK-3868: fixed "count" param in listUsageRecords API to return the actual number of records matching the search criteria. Used to return the wrong value - the number of records per page 2013-07-26 15:37:20 -07:00
user CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain 2013-08-10 11:02:42 -07:00
uuididentity When UUID field is null for existing records, set it to id 2013-05-14 15:11:41 -07:00
vm CLOUDSTACK-1192: fix collectVmDiskStatistics issue when stopping a vm 2013-09-03 13:13:58 +02:00