alena
21afd1785a
bug 10938: do search includingRemoved when generate the log for the vm state transition. The fix is needed for the specific case when expunge interval is really small, and vm gets expunged right after it's state transitioned to Destroyed, but before the log for state transition is generated
...
status 10938: resolved fixed
2011-08-02 16:10:23 -07:00
Alex Huang
f043f63eaa
Merged changes from 2.2.8.zucchini
2011-08-02 15:33:48 -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
bdb44c6850
bug 10916: don't return removed entries when do listDiskOfferings by regular user
...
status 10916: resolved fixed
2011-08-02 09:46:17 -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
Abhinandan Prateek
9009026eba
bug 10748: use external dns
...
status 10748: resolved fixed
2011-08-02 15:35:13 +05:30
Abhinandan Prateek
70b9769bd5
putting a check for domain name list
2011-08-02 15:22:49 +05:30
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
Abhinandan Prateek
46be774ce8
bug 10812: adding domain suffixes to zone's router conf
2011-08-02 11:08:24 +05:30
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
Kelven Yang
40f42a784f
bug 10929: allow only OperationFailedToError event to trigger transition to Error state.
2011-08-01 18:33:02 -07:00
anthony
7d02ed344e
Bug 10197: do not check timeout against cluster which is not managed
2011-08-01 17:00:58 -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
alena
d63426119e
Fixed db upgrade to do 228 to 229 when do upgrade from 224 branch
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-08-01 15:48:42 -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
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
nit
e910e513c9
bug 8677 , 8673 : listIsos - make the parameter - name work properly.
...
status 8677 , 8673: resolved fixed
2011-08-01 15:16:02 +05:30
nit
b7f16b8b34
bug 9860 : listIsos - make the parameter - name work properly.
...
status 9860: resolved fixed
2011-08-01 15:14:35 +05:30
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
50b665d713
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:22:09 -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
67265eeaa7
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
...
run checker before any component loaded
2011-07-29 20:21:53 -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
Edison Su
22483a9c13
add RHEL 6.1 support
2011-07-29 19:14:15 -07:00
Kelven Yang
2ce851d698
bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit
2011-07-29 18:35:02 -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
anthony
ccc3c79466
private template may be downloaded to multiple secondary storage in a zone,
...
fixed it
2011-07-29 17:36:58 -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
anthony
31100824d7
Bug 10197: if VM is already running, just return the host it is running on
2011-07-29 16:33:33 -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
Edison Su
b9ab17bbf5
clean up public ip in secondary_storage_vm table after ssvm expunged
2011-07-29 15:28:16 -07:00
frank
b0b3f16dae
Two things:
...
Load non-routing resource in ClusteredAgentManager includes External DHCP, PxeServer, ExternalFirewall, ExternalLoadBalancer
Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)
changes in line with UI
2011-07-29 11:28:09 -07:00
anthony
055e5c82c7
bug 9997:
...
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.
status 9997: resolved fixed
2011-07-29 10:45:11 -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
anthony
e581c63f58
fixed a bug about putting cluster into Unmagaged status
2011-07-28 12:34:35 -07:00
Nitin
63205f1f02
bug 10868: CheckAccess - If the domainId = -1 and the accountId is still valid then try and calculate the domainId. This case will be hit for all the entities which do not have domain id column in the DB table. What was happenning due to this was that we were not checking the domain hierarchy in such case which was leading to security leaks. Example - templates.
2011-07-28 17:11:14 +05:30
Kelven Yang
9d4aebd7e3
bug 10834: fix step 2. Sending command to pool now only picks hosts that are in UP state
2011-07-27 18:11:14 -07:00
Chiradeep Vittal
1226a49976
bug 10884: use the proper keys this time
2011-07-27 17:58:59 -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