Commit Graph

6584 Commits

Author SHA1 Message Date
alena 869bb62684 Fixed upgrade for volumes table 2011-08-04 11:20:46 -07:00
alena 18b59af656 bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
status 10954: resolved fixed
2011-08-03 20:43:01 -07:00
Alex Huang 6cfad45f1e schedule the work after transaction 2011-08-03 16:29:02 -07:00
Alex Huang 310f83fe8b missed one file 2011-08-03 15:02:29 -07:00
Alex Huang 11650bfc9d one big transaction to see if it's any faster 2011-08-03 14:39:59 -07:00
Sheng Yang 9ace67310e bug 10946: Add default buffer length for compressed request
Then it can support 2.2.8 system vm connection.

status 10946: resolved fixed
2011-08-03 11:26:04 -07:00
Alex Huang 28963568cd Somehow I missed a problem with lock release that was fixed in other branches 2011-08-02 15:37:06 -07:00
alena a7fad59ab8 bug 10921: remove obsolete keys during 2.1.x to 2.2.9 upgrade
status 10921: resolved fixed
2011-08-02 14:18:27 -07:00
Chiradeep Vittal fd1dbe9683 bug 10884: do not lock if not necessary 2011-08-02 13:51:26 -07:00
Alex Huang 5c543ffdb1 bug 10884: fixed a bug where the security group keeps processing a vm that has been removed 2011-08-02 10:45:29 -07:00
alena dd7ba12949 bug 10916: don't return removed entries when do listDiskOfferings by regular user
status 10916: resolved fixed
2011-08-02 09:44:44 -07:00
Alex Huang 92b8b29fe4 Revert "sg improvements. don't use global lock"
This reverts commit 1d9961c588976a910d60c6420487c29a9080b73a.
2011-08-02 03:49:30 -07:00
Alex Huang 79ddba246d Revert "looks like lock tables don't return the tables locked"
This reverts commit 76781c10f8534acdd6f81c46952f88ade941e269.
2011-08-02 03:48:57 -07:00
Alex Huang 91550836cf looks like lock tables don't return the tables locked 2011-08-02 02:10:47 -07:00
Alex Huang 6905a1db1d sg improvements. don't use global lock 2011-08-01 22:59:59 -07:00
Alex Huang f150f68128 sg improvements 2011-08-01 22:09:41 -07:00
Chiradeep Vittal efaa63a428 bug 10884: try out a global lock instead of per-vm locks 2011-08-01 18:52:06 -07:00
Kelven Yang a6a2383561 bug 10929: allow only OperationFailedToError event to trigger transition to Error state. 2011-08-01 18:38:14 -07:00
alena f73c2695a1 bug 10927: instance_id is foreign key, not index, in port_forwarding_rules table 2011-08-01 17:25:25 -07:00
alena 5ffaed128d bug 10927: added index for Removed field in create-schema 2011-08-01 17:11:59 -07:00
alena 1d5543ec79 Removed the key from upgrade-228-229.sql as we are adding it as a part of java code
Fixed the typo in 2.2.8 to 2.2.9 upgrade
2011-08-01 17:00:06 -07:00
alena 95d858d1f2 bug 10927: Drop key i_snapshots__removed (if exists) and readd it. Done to fix inconsistency between 2.1.x to 2.2.9 and 2.2.x to 2.2.9 upgrades 2011-08-01 16:22:06 -07:00
Alex Huang 270303e525 bug 10927: missing indexes in upgrade script 2011-08-01 16:19:22 -07:00
alena 333e435fc5 bug 10927: added missing constraint to firewall_rules_cidr table 2011-08-01 15:52:44 -07:00
alena a0977ee61f Fixed db upgrade to do 228 to 229 when do upgrade from 224 branch 2011-08-01 15:44:42 -07:00
Chiradeep Vittal b4b87b1de8 bug 10920: avoid deadlocks by avoiding locks on the index on step 2011-08-01 15:32:23 -07:00
alena f48efae77c bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10 2011-08-01 15:14:12 -07:00
alena f4f51f0451 Revert "bug 10812: modifying dhcp option 119 on domR as per zone config"
This reverts commit 606ec843475911680adb743d7975bf7d584ab240.
2011-08-01 13:00:53 -07:00
alena 51dc821c60 bug 10864: fixed UI to return system Direct Guest network for the Advanced Security Group enabled zone
status 10864: resolved fixed
2011-08-01 12:36:54 -07:00
Abhinandan Prateek 826a3d6ad0 bug 10812: modifying dhcp option 119 on domR as per zone config
status 10812: resolved fixed.
2011-08-01 14:44:31 +05:30
Chiradeep Vittal 3951699542 bug 10920: convert seconds to milliseconds 2011-07-30 18:19:58 -07:00
frank 6c1cd20fff Add DB integrity checker, it checks:
1. Are there multiple hosts connect to the same local storage pool due to 2.1.x bug
2. Is there any missed premium upgrade

either true answer of above cause mangemnt stopping and asking user to contact Cloud.com support
2011-07-30 17:16:33 -07:00
Chiradeep Vittal f49469270e bug 10920: avoid deadlocks by not using order by random 2011-07-30 12:54:50 -07:00
frank 03fbe13f58 Add upgrade path to 2.2.9
Add files
2011-07-29 20:05:50 -07:00
frank 44f3ac98f6 A couple of things:
add 229 upgrade path

Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)

run checker before any components loaded
2011-07-29 20:05:50 -07:00
Kelven Yang 1c4e1ba5a5 bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit 2011-07-29 18:33:21 -07:00
Edison Su d120b9cca4 bug 10770: don't select cluster if it's removed in firstfitplanner
status 10770: resolved fixed
2011-07-29 16:37:03 -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
anthony d48e97a368 bug 10768: root cause is StopCommand is not sent out in force stop,
status 10768: resolved fixed
2011-07-29 15:41:00 -07:00
Alex Huang 1f4d34b9d5 print further into the stack so we can see who's calling the Transaction methods 2011-07-29 10:51:16 -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
Alex Huang c948ff3611 moved security ingress command to trace 2011-07-28 11:07:54 -07:00
anthony 0691417807 fixed a typo 2011-07-28 10:19:45 -07:00
Chiradeep Vittal 1226a49976 bug 10884: use the proper keys this time 2011-07-27 17:58:59 -07:00
Alex Huang 70e0b54a83 Upgrade scripts for missing indexes 2011-07-27 17:56:16 -07:00
frank 9aae53fbb3 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load

status 10860: resolved fixed
2011-07-27 17:43:38 -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 6fea146903 more index. moved op_lock to memory table to try it 2011-07-27 14:06:40 -07:00
Sheng Yang 3a8e13f968 Add exception message for AgentManagerImpl.investigate() 2011-07-27 10:52:48 -07:00
anthony 7c951361c6 fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running 2011-07-26 17:39:24 -07:00