Commit Graph

3908 Commits

Author SHA1 Message Date
Kelven Yang 83a9e74927 guard GlobalLock lock with finally clause 2011-08-04 16:20:31 -07:00
Kelven Yang d9392a6aa7 guard GlobalLock lock with finally clause 2011-08-04 16:19:28 -07:00
anthony 7958ab566e bug 10964: if snapshot's volume's templateId is NULL, change snapshot version from 2.1 to 2.2 directly, not upgrade snapshot is needed.
status 10964: resolved fixed
2011-08-04 16:09:22 -07:00
anthony 41759c153d bug 10964: if snapshot's volume's templateId is NULL, change snapshot version from 2.1 to 2.2 directly, not upgrade snapshot is needed.
status 10964: resolved fixed
2011-08-04 16:08:50 -07:00
anthony 5fbd0a7a5f bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
status 9255: resolved fixed
2011-08-04 15:32:45 -07:00
anthony 3272241440 bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
status 9255: resolved fixed
2011-08-04 15:28:38 -07:00
Edison Su c37d75fc00 release capacity if current state is in starting and not transit to running 2011-08-04 14:28:40 -07:00
Edison Su e5478457ee don't put cpu/mem into reserved capacity if failed to start/stop vm 2011-08-04 14:28:33 -07:00
Edison Su 1d49275ca8 release capacity if current state is in starting and not transit to running 2011-08-04 14:26:21 -07:00
Edison Su ccdfe240bd don't put cpu/mem into reserved capacity if failed to start/stop vm 2011-08-04 14:26:21 -07:00
Chiradeep Vittal e936a52f10 merge changes from parent branch 2011-08-04 12:39:25 -07:00
alena 6882b39a1e Fixed upgrade for volumes table 2011-08-04 11:22:25 -07:00
alena 354bc8f684 Fixed upgrade for volumes table 2011-08-04 11:22:14 -07:00
alena 4abb737c04 Fixed upgrade for volumes table 2011-08-04 11:22:04 -07:00
alena 294e30d7c2 Merged 228-229 db upgrade from 228 branch 2011-08-04 10:19:23 -07:00
alena 3d0758691f 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

Conflicts:

	setup/db/db/schema-228to229.sql
2011-08-04 10:01:06 -07:00
Nitin a3cb6d9a09 bug 9345: Remove pool_id from template_host_ref. Its not needed anymore. Also removed the unwarranted code.
status 9345: resolved fixed
2011-08-04 12:51:35 +05:30
alena dfd0d7730e 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:47:44 -07:00
alena 527c3b024f 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:46:33 -07:00
Chiradeep Vittal e5c4bf4e28 bug 10659: manage elb vms independently of virtualnetworkappliance. 2011-08-03 18:55:01 -07:00
Sheng Yang fc57860390 Send CheckRouter command only when router is running 2011-08-03 16:57:59 -07:00
Sheng Yang a46c2cb650 Send CheckRouter command only when router is running 2011-08-03 16:57:43 -07:00
keshav 34a0c44f4f Added a new table for inline load balancer deployments, to store mappings between public IPs and NICs. 2011-08-03 16:10:20 -07:00
alena 603de56c93 Merged fixes for 228-229 upgrade from 2.2.8 zucchini branch 2011-08-03 10:39:02 -07:00
alena da4b39279d Added 229 to 2210 upgrade path
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	setup/db/db/schema-228to229.sql
2011-08-03 10:23:27 -07:00
alena cf7e351cbf bug 10921: remove obsolete keys during 2.1.x to 2.2.9 upgrade
status 10921: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade228to229.java
2011-08-03 10:15:09 -07:00
Naredula Janardhana Reddy 46427fef91 bug 10561: Allowing ICMP traffic through static NAT 2011-08-03 21:15:02 +05:30
Naredula Janardhana Reddy 954d8673c7 bug 10561: Allowing ICMP traffic through static NAT 2011-08-03 18:13:09 +05:30
Nitin c73f5da276 bug 10725: add checksum to listIso and registerIso (its an optional parameter for this command).
status 10725: resolved fixed
2011-08-03 17:41:29 +05:30
Abhinandan Prateek bf0e761be1 checking domain list syntax 2011-08-03 14:45:23 +05:30
Abhinandan Prateek f6303c13fb bug 10812: putting key in ZoneConfig and other nomenclature changes 2011-08-03 14:42:29 +05:30
Abhinandan Prateek b74c398d76 domain syntax check for zoneupdate 2011-08-03 14:41:04 +05:30
Abhinandan Prateek cd78c5cb9b bug 10812: putting key in ZoneConfig and other nomenclature changes 2011-08-03 14:32:28 +05:30
Abhinandan Prateek 6dd519ddd4 bug 10812: putting key in ZoneConfig and other nomenclature changes 2011-08-03 14:16:08 +05:30
Abhinandan Prateek 7e727be42c bug 10748: use external dnses if set thru global config (dhcp otpion 6) 2011-08-03 12:34:02 +05:30
Chiradeep Vittal 8ccfdc08de handle release of ip on deletion of loadbalancer rule 2011-08-02 20:31:37 -07:00
alena 8d47c53735 Revert "bug 10435: removed vpn feature"
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	scripts/vm/hypervisor/xenserver/vmops
	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
alena e0033c5d9d bug 10869: always allocate first ip address from the range for the dhcp server.
status 10869: resolved fixed

Here is the flow (design is approved by Will Chan):

1) If user specifies custom ip address, and this ip is not the first ip in the range, the dhcp server gets the ip.
2) If user specifies custom ip address, and this ip is the first ip in the range, the dhcp server will get the random ip address from the range.
2) If user doesn't specify custom ip address, we always try to allocate first ip address from the range for the dhcp server; if this ip is already allocated, the dhcp server will get the random ip from the range.

This will work for:

* domR's Guest network
* dhcp's Direct network
2011-08-02 17:42:12 -07:00
alena 64eeb8d79b bug 10869: always allocate first ip address from the range for the dhcp server.
status 10869: resolved fixed

Here is the flow (design is approved by Will Chan):

1) If user specifies custom ip address, and this ip is not the first ip in the range, the dhcp server gets the ip.
2) If user specifies custom ip address, and this ip is the first ip in the range, the dhcp server will get the random ip address from the range.
2) If user doesn't specify custom ip address, we always try to allocate first ip address from the range for the dhcp server; if this ip is already allocated, the dhcp server will get the random ip from the range.

This will work for:

* domR's Guest network
* dhcp's Direct network
2011-08-02 17:41:03 -07:00
anthony 9df76d883d fixed build 2011-08-02 17:32:03 -07:00
anthony 37dcec77bb Bug 10197:
implement pool-wise VM sync,
    For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host

Conflicts:

	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-08-02 17:31:36 -07:00
anthony bba811a714 Bug 10197:
1. don't try HA vms if host hypervisor version changes
    2. fixed a bug related to VM full sync with hosttrack enabled
2011-08-02 17:29:16 -07:00
anthony fc70e15059 fixed build 2011-08-02 17:24:22 -07:00
Chiradeep Vittal e725c8ffeb Ensure gc is slower, make some configs visible 2011-08-02 17:16:57 -07:00
anthony dc7ff2b5ad Bug 10197:
implement pool-wise VM sync,
    For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
2011-08-02 16:52:24 -07:00
anthony 5f9884d97a Bug 10197:
1. don't try HA vms if host hypervisor version changes
    2. fixed a bug related to VM full sync with hosttrack enabled
2011-08-02 16:48:27 -07:00
alena bdbc16f081 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:14:20 -07:00
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 9ad41d9fc8 bug 10916: don't return removed entries when do listDiskOfferings by regular user
status 10916: resolved fixed
2011-08-02 09:46:35 -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
Nitin 09c26e5671 bug 10775: copyTemplate - Compute checksum at source from now on because the checksum might be referring to the compressed template. Send this checksum for comparison. 2011-08-02 20:30:10 +05:30
Abhinandan Prateek 2f804dd799 bug 10748: use external dns, configurable thru global param 2011-08-02 16:21:55 +05:30
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
Naredula Janardhana Reddy b3b32fce9b bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4 only for Basic network 2011-08-02 13:53:26 +05:30
Naredula Janardhana Reddy a790e79f44 bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4 2011-08-02 13:52:47 +05:30
Naredula Janardhana Reddy 580e8503cd bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4 only for Basic network 2011-08-02 13:49:24 +05:30
Naredula Janardhana Reddy 2af0b22703 bug 10811: public_hostname and public_ipv4 are set same as that of local_hostname, local_ipv4 2011-08-02 13:28:44 +05:30
Abhinandan Prateek 4f3dec5f1c bug 10812: adding domain suffixes to zone's router conf 2011-08-02 11:34:38 +05:30
Alex Huang 6905a1db1d sg improvements. don't use global lock 2011-08-01 22:59:59 -07:00
Abhinandan Prateek 5cb3882349 bug 10812: adding domain suffixes to zone's router conf 2011-08-02 11:23:33 +05:30
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 04528c821b bug 10929: allow only OperationFailedToError event to trigger transition to Error state. 2011-08-01 18:40:29 -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 80684861cf Bug 10197: do not check timeout against cluster which is not managed 2011-08-01 17:01:22 -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
alena d30fe74794 Added 229 to 2210 upgrade path 2011-08-01 15:42:16 -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 eda4a61a96 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:33 -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 ca78e49cbd 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:21:50 -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
Chiradeep Vittal b329f61782 Fix duplicate ip addresses returned for loadbalancing 2011-07-29 23:21:27 -07:00
frank 47c88d5499 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
run checker before any component loaded
2011-07-29 20:23:30 -07:00
frank 316ed91542 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
run checker before any component loaded
2011-07-29 20:22:39 -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 8bcad6960c add rhel6.1 support 2011-07-29 20:05:01 -07:00
Edison Su 22483a9c13 add RHEL 6.1 support 2011-07-29 19:14:15 -07:00
Kelven Yang 2335fc5be4 bug 10918: cap async-job execution thread pool to be 2/3 of maximum DB connection limit 2011-07-29 18:37:32 -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
anthony 50a2fc7111 private template may be downloaded to multiple secondary storage in a zone,
fixed it
2011-07-29 17:34:55 -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 93244b5b62 Bug 10197: if VM is already running, just return the host it is running on 2011-07-29 16:33:57 -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 595f9250b7 clean up public ip in secondary_storage_vm table after ssvm expunged 2011-07-29 15:30:32 -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
frank 055ec48ae8 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:25:35 -07:00
Chiradeep Vittal 56d7be35f1 WIP 2011-07-29 11:04:54 -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
Chiradeep Vittal 1471b0a97a Add parameter to ListPublicIpAddressCmd : forloadbalancing 2011-07-28 14:38:14 -07:00
Chiradeep Vittal a6b1453254 minor cleanup 2011-07-28 14:38:14 -07:00
Kelven Yang 79cb5b7c19 bug 10834: fix step 2. Sending command to pool now only picks hosts that are in UP state 2011-07-28 14:32:28 -07:00
anthony ffd07621cc fixed a bug about putting cluster into Unmagaged status 2011-07-28 12:35:52 -07:00
anthony e581c63f58 fixed a bug about putting cluster into Unmagaged status 2011-07-28 12:34:35 -07:00
Chiradeep Vittal 94be1584ac fix build, better names 2011-07-28 10:20:58 -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
Nitin 527a668ca2 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:01:26 +05:30
Chiradeep Vittal 2971e77401 change supportELB to report on which ips the ELB runs guest or public 2011-07-28 00:39:05 -07:00
Chiradeep Vittal fae6fa790c ELB VM: implement delete LB by deleting ELB vm
in the future we will manage a pool of vms more intelligently
2011-07-28 00:15:16 -07:00
Chiradeep Vittal 2162cdf283 WIP2: make creating an ELB bullet proof 2011-07-27 21:11:26 -07:00
Chiradeep Vittal b240c4a645 WIP: make creating an ELB bullet proof 2011-07-27 21:11:26 -07:00
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 37fc68bcd3 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:47:09 -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
frank 262e6784e5 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:41:38 -07:00
frank 1381c58fa1 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:32:12 -07:00
Chiradeep Vittal 0ee45261e7 set a flag so that api clients know whether to use the elb api 2011-07-27 16:00: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 6fea146903 more index. moved op_lock to memory table to try it 2011-07-27 14:06:40 -07:00
Chiradeep Vittal 042c06fbb6 Make createLoadBalancer async 2011-07-27 12:00:08 -07:00
Chiradeep Vittal b829cde18f track ip to vm mapping 2011-07-27 12:00:08 -07:00
Chiradeep Vittal 07c2f6cdc7 differentiate between dhcp server and elb vm 2011-07-27 12:00:07 -07:00
Chiradeep Vittal e1c5d4ef55 fix npe 2011-07-27 12:00:07 -07:00
Chiradeep Vittal 2447830c55 fix network type check 2011-07-27 12:00:07 -07:00
Chiradeep Vittal cd8e069f80 Acquire an ip and launch an ELB vm 2011-07-27 12:00:07 -07:00
Sheng Yang 6c493bfb82 Add exception message for AgentManagerImpl.investigate() 2011-07-27 10:53:06 -07:00
Sheng Yang 3a8e13f968 Add exception message for AgentManagerImpl.investigate() 2011-07-27 10:52:48 -07:00
Sheng Yang 96568df702 Add exception message for AgentManagerImpl.investigate() 2011-07-27 10:51:44 -07:00
Naredula Janardhana Reddy 3c66075b8b bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config 2011-07-27 14:06:26 +05:30
Naredula Janardhana Reddy 93680fdc9e Bug:10557 2011-07-27 14:05:47 +05:30
Naredula Janardhana Reddy f0b1f3d229 bug 10557: made more feature enhancement instead of bug- added more stats parametes as global config 2011-07-27 13:42:14 +05:30
anthony a449aa320f fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running 2011-07-26 17:42:01 -07:00
anthony fb6228ef75 fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running 2011-07-26 17:41:47 -07:00
anthony 4c8f5e0591 fixed NPE, secondary storage VM host may not exist even the secondary storage VM is running 2011-07-26 17:41:32 -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
Sheng Yang b116f54741 Generate keystore using RSA rather than DSA
Also fix a typo.
2011-07-25 18:23:44 -07:00
Sheng Yang 4d20d21c95 Generate keystore using RSA rather than DSA
Also fix a typo.
2011-07-25 18:23:06 -07:00
Sheng Yang 611a1564cc Generate keystore using RSA rather than DSA
Also fix a typo.
2011-07-25 18:22:30 -07:00
Alex Huang 200d2b9cd0 bug 10847: sg got executed in a big transaction leading to the deadlock 2011-07-25 17:41:11 -07:00
Alex Huang 9c627a15f3 Inaccurate clock new gets an mbean to control it 2011-07-25 16:01:31 -07:00
Alex Huang c610925304 moved agent ping to in memory rather than db based 2011-07-25 15:21:06 -07:00
Alex Huang 1b56808be5 brought over agent ping uses the same db connection 2011-07-25 10:57:00 -07:00
Alex Huang 10ac7753ed Switched ping to use the same db connection so that running out of db connections won't affect basic operations 2011-07-25 10:36:00 -07:00
Murali Reddy 5322accbc8 bug 10764: changing service offering drops cpu cap
status 10764: resolved fixed
2011-07-25 18:23:11 +05:30
Murali Reddy 9e90999aab bug 10764: changing service offering drops cpu cap
status 10764: resolved fixed
2011-07-25 18:15:31 +05:30
Naredula Janardhana Reddy 96bacb85f8 Bug:10557 2011-07-25 17:40:33 +05:30
Alex Huang 3f18192df8 Make all connections READ COMMITTED isolation level instead of setting it everytime we get the db connection causing useless round trips 2011-07-23 14:58:32 -07:00
Alex Huang 429c1a0a18 changed a bunch of map logs to trace 2011-07-22 18:14:02 -07:00
Alex Huang 18fa544da1 changed a bunch of map logs to trace 2011-07-22 18:13:24 -07:00
Alex Huang 7464b6474e changed a bunch of map logs to trace 2011-07-22 18:12:27 -07:00
Edison Su cd531d7562 bug 10770: don't select cluster if it's removed in firstfitplanner
status 10770: resolved fixed
2011-07-22 15:10:25 -07:00
Edison Su 8c1d77b23e bug 10770: don't select cluster if it's removed in firstfitplanner
status 10770: resolved fixed
2011-07-22 15:06:33 -07:00
Alex Huang 12cd5db620 deleted a file by mistake 2011-07-22 11:39:16 -07:00
Alex Huang b59c6b4ab6 propagate lock table fix 2011-07-22 11:35:47 -07:00
Alex Huang 44ce9488a6 propagate lock table fixes 2011-07-22 11:30:23 -07:00
Alex Huang 66713a490d fixed problem with the standalone connection has open transaction 2011-07-22 11:25:43 -07:00
Nitin bb60543fbf bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type. 2011-07-22 19:56:01 +05:30
Nitin 65b0af0a9d bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type. 2011-07-22 19:30:14 +05:30
Nitin fb6a44d248 bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type. 2011-07-22 19:14:47 +05:30
Nitin bb3d7013a9 bug 9452: ListCapacity - works now. Remove all the pagination logic. 2011-07-22 13:12:44 +05:30
anthony e666cf5e77 bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support 2011-07-21 17:31:43 -07:00
Kelven Yang 3a6f3b71e0 bug 10791: add data integrity check upon management server startup 2011-07-21 17:08:29 -07:00
Kelven Yang 95b48ba222 bug 10791: add data integrity check upon management server startup 2011-07-21 17:07:21 -07:00
keshav 4ce137ef2e Added account ID to IpAddressTO and NetworkElementCommand. 2011-07-21 16:44:13 -07:00
alena c21273d23a bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
status 10734: resolved fixed
2011-07-21 16:18:43 -07:00
alena d6112b1632 Revert "bug 10373: Intermediate checkin for Domain level guest Virtual networks"
This reverts commit e5c25f3868965e36c4bff1c78ca4552a8c852241.

Conflicts:

	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-21 16:04:55 -07:00
alena 66f879e400 Revert "bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts"
This reverts commit c18e1a020357c0c42454656c070fa4827f8c0703.

Conflicts:

	setup/db/db/schema-228to229.sql
2011-07-21 16:03:01 -07:00
alena b1d5b5a51d 2 fixes for Agent Load Balancer:
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default
2011-07-21 15:43:52 -07:00
alena ee98887176 2 fixes for Agent Load Balancer:
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default

Conflicts:

	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/host/dao/HostDaoImpl.java
	setup/db/db/schema-228to229.sql
2011-07-21 15:28:11 -07:00
alena 307741edcd 2 fixes for Agent Load Balancer:
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default

Conflicts:

	server/src/com/cloud/configuration/Config.java
	setup/db/db/schema-228to229.sql
2011-07-21 15:27:50 -07:00
Alex Huang d7667180c5 bug 10816: more db lock controls 2011-07-21 13:38:37 -07:00
Alex Huang abd3321077 bug 10799: propagate to 2.2.9 2011-07-21 11:30:03 -07:00
Alex Huang f82aa97273 bug 10799: propagate to main 2011-07-21 11:27:10 -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
Nitin 1e0c7274ec bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly. 2011-07-21 18:33:47 +05:30
Nitin 0bc6c7dc0e bug 9452: ListCapacity - works now. Remove all the pagination logic. 2011-07-21 18:17:32 +05:30
Nitin f6077e605f bug 9452: ListCapacity - works now. Remove all the pagination logic. 2011-07-21 18:13:36 +05:30
Abhinandan Prateek dff712f2a9 bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
status 10731: resolved fixed
2011-07-21 13:48:42 +05:30
Abhinandan Prateek de34d6089d bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
status 10731: resolved fixed
2011-07-21 13:40:06 +05:30
Nitin 358c9eba05 bug 10624: ExtractVolume - code change for multiple secondary storage. 2011-07-21 11:11:04 +05:30
Nitin 5b834edea2 bug 10624: ExtractVolume - code change for multiple secondary storage. 2011-07-21 11:10:47 +05:30
alena c03d360968 bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts 2011-07-20 18:21:15 -07:00
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
anthony 9f2eaca6cb Support XenServer 6.0 beta 2011-07-20 16:47:48 -07:00
anthony d206bf7852 bug 10768: root cause is StopCommand is not sent out in force stop,
status 10768: resolved fixed
2011-07-20 16:47:48 -07:00
Alex Huang 109ef29e86 bug 10632: propagate to 2.2.9 2011-07-20 16:27:06 -07:00
Alex Huang db8be16f98 bug 10632: propagated to 2.2.8.z 2011-07-20 16:11:59 -07:00
alena 6dc8e515f4 bug 10736: when restart dhcp in basic zone, generate vmData info only for vms in the same pod 2011-07-20 15:22:11 -07:00
alena f290b7cc14 bug 10736: when restart dhcp in basic zone, generate vmData info only for vms in the same pod 2011-07-20 15:21:26 -07:00
alena 36edf298e7 bug 10373: Intermediate checkin for Domain level guest Virtual networks 2011-07-20 13:44:26 -07:00
anthony d4ae9483cb bug 10768: root cause is StopCommand is not sent out in force stop,
status 10768: resolved fixed
2011-07-20 12:11:21 -07:00
kishan 28119036b8 bug 10398: Added scheduled job, alert and interval config param for usage sanity check 2011-07-20 17:20:11 +05:30
kishan 6b4c61a348 bug 10382: Move volume delete events to destroyVolume method
status 10382: resolved fixed
2011-07-20 11:22:31 +05:30
kishan ddd416a492 bug 10382: wrapped usage events in txn 2011-07-20 11:19:39 +05:30
kishan 427b73a2b9 bug 10372: Added Vm State Machine listener for usage events
status 10372: resolved fixed
2011-07-20 11:13:56 +05:30
anthony 811063f769 bug 10197: enable trackVmHostChange for XenServer 2011-07-19 15:53:41 -07:00
anthony 20cbe7e739 bug 10197: enable trackVmHostChange for XenServer 2011-07-19 15:52:45 -07:00
anthony bef3b480cd bug 10197:
The step to upgrade xenserver,

1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts

TODO,

1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:44:37 -07:00
anthony 3881e13387 bug 10197:
The step to upgrade xenserver,

1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts

TODO,

1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:26:25 -07:00
Sheng Yang 8d2e41abd1 bug 10429: Enable redundant virtual router for 2.2.9
status 10429: resolved fixed
2011-07-19 15:06:20 -07:00
Sheng Yang fa623c04e2 bug 10640: Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
The old strategy is to deploy the second virtual router to diffent host only.

status 10640: resolved fixed
2011-07-19 15:06:15 -07:00
Sheng Yang e5e76881c6 Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
The old strategy is to deploy the second virtual router to diffent host only.
2011-07-19 14:26:37 -07:00
alena 1a38c8547d bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
updateNetwork command is async now

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-19 12:09:25 -07:00
Sheng Yang 0449ba6c8c Fix restartNetwork command on destroying virtual router 2011-07-19 11:56:02 -07:00
Sheng Yang aa8fc81790 Fix restartNetwork command on destroying virtual router 2011-07-19 11:55:16 -07:00
alena c48c3edfbc bug 10271: don't include removed records when search for local storage pool
status 10217: resolved fixed
2011-07-19 11:10:53 -07:00
alena 8c9fe2ec71 bug 9871: deployVm - check network's zone when do vm deployment
status 9871: resolved fixed

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-19 11:10:53 -07:00
alena 3468d1b7ea bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
status 9894: resolved fixed
2011-07-19 11:10:53 -07:00
alena 630e8d9db4 bug 9991: do account permission check in getCloudIdentifier api
status 9991: resolved fixed
2011-07-19 11:10:53 -07:00
alena c663217b00 bug 9642: listVms by regular user using domainId parameter will work only when domainId specified is the domainId the caller belongs to.
status 9642: resolved fixed
2011-07-19 11:10:52 -07:00
alena fa312617f1 bug 9723: fixed listServiceOfferings to work right with isSystem/domainId parameters
status 9723: resolved fixed

Conflicts:

	server/src/com/cloud/server/ManagementServerImpl.java
2011-07-19 11:10:52 -07:00
alena 81117f325d bug 9743: respect id/accountName/domainId parameters when call is executed by the regular user
status 9743: resolved fixed
2011-07-19 11:10:52 -07:00
alena 5be1f94c0d bug 9620: fixed updateUser api to make updates only for the fields that are specified in the request
status 9620: resolved fixed
2011-07-19 11:10:52 -07:00
alena 8b100f7c4d bug 10409: added domainSuffix parameters to account/domain objects
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/upgrade/dao/Upgrade228to229.java
	server/src/com/cloud/user/AccountManagerImpl.java
	setup/db/db/schema-228to229.sql
2011-07-19 11:10:52 -07:00
Sheng Yang 3100d4b22f Update RestartNetworkCmd to reimplment the network
Because the redundant router config may change.

Back port from 8c7c9a4b499ceee8a07f1f3a2b908d4a128aef32 partly.
2011-07-19 10:53:21 -07:00
alena 19f7c9e26f Close ResultSet and PreparedStatement when gather vm information during the listVirtualMachines call 2011-07-19 10:33:34 -07:00
alena ca87603925 Throw correct types of exceptions when fail to create account 2011-07-19 10:33:34 -07:00
alena d970c13cf2 bug 10417: Basic zone - send vm data info only to the dhcp server in the same pod
status 10417: resolved fixed

Conflicts:

	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-07-19 10:33:34 -07:00
alena e2eac341a4 bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
status 10710: resolved fixed

Conflicts:

	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
	setup/db/db/schema-228to229.sql
2011-07-19 10:33:34 -07:00
kishan 14a8cbdc28 throw exception after intercepting to log error event 2011-07-19 18:39:32 +05:30
kishan 427b70e572 bug 10276: Throw exception for account APIs failure
status 10276: resolved fixed
2011-07-19 18:38:54 +05:30
Abhinandan Prateek 57f41a3a05 bug 10731: added optional paramter source cidr 2011-07-19 12:21:39 +05:30
Abhinandan Prateek 24510cd5fb bug 10731: adding optional paramter for cidr 2011-07-19 12:10:48 +05:30
Sheng Yang 978b2640e2 Backport VirtualNetworkApplianceManager
Also:
1. Discard VPN related change.
2. Add network.dns.basiczone.updates in Config.java
3. Add findByNetworkOutsideThePod() for DomainRouterVO

Tested with VLAN and basic mode, works.

Disable redundant virtual router temporaily, would enable it after more testing.
2011-07-18 18:30:05 -07:00
Sheng Yang 44d4113ae6 bug 10429: backport redundant router
Part 2

commit 797839360c65cd348d2eb20630521177ab0919de
    bug 9154: redundant virtual router

commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
    bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB

commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
    bug 9154: Add redundant state to DomainRouterResponse

commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
    bug 9154: Add router fault state report

commit 7a3090378f9785caecf741b70554f6ea17c41764
    bug 9154: Send alert if found two virtual routers in master state

commit 66831056e4bf27665871bccd24e6159071564847
    bug 9154: Code clean up

commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
    bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
Sheng Yang 4bc8686513 bug 10429: Backport redundant virtual router
Part 1

This backport contained:

commit 52317c718c25111c2535657139b541db0c9d1e1f
    bug 9154: Initial check in for enabling redundant virtual router

commit 54199112055d754371bfb141168fb5538bf6d6ea
    Add host verification for CheckRouterCommand

commit cef978a228c90056ead9be10cbc4de74c2b8de76
    Fix CheckRouterAnswer's isMaster report

commit 4072f0a6991ac3b63601a1764fbe14188965f62f
    Some build fixes and code refactoring for redundant router

commit 4d3350b7cd8ee2706a9bace4437fc194e36c8dd5
    Redundant Router: Fix OVS

commit 6a228830e7c46d819fa0c3317e159e041337e887
    Fix findByNetwork()/findByNetworkAndPod()'s return

commit c627777b3d5bdbcd60db4032cebd349a5b1ecd83
    Redundant Router: Fix isVmAlive()

commit e1275d2514adc41f8744f5107d4069c38be195f1
    Only issue CheckRouterCommand to redundant routers

And all modification to the scripts till
commit 4e3942462ed3fde3a3d7011e95839e2128fba514
logging changes

in the master branch.
2011-07-18 18:29:56 -07:00
Alex Huang d54f6d536a propagating transaction isolation fix for merovingian2 2011-07-18 16:48:49 -07:00
Alex Huang 5590cd93ce bug 10716: Changed the connection's isolation level to allow for more concurrency 2011-07-18 16:32:12 -07:00
alena 7a04334b60 bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
status 10734: resolved fixed
2011-07-18 15:00:13 -07:00
alena 62270fe62e bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
status 10734: resolved fixed
2011-07-18 14:32:57 -07:00
Alex Huang 392c03ce6f propagated db connection savings from master 2011-07-18 14:22:49 -07:00
Alex Huang e52a97b969 Switched ping to use the same db connection so that running out of db connections won't affect basic operations 2011-07-18 14:22:49 -07:00
frank 244de00b65 Bug 9887 - baremetal: support for image operation (create template from guest disk)
Resolved fixed
2011-07-18 13:57:03 -07:00
Nitin 149c8d4b03 bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
status 9596: resolved fixed
2011-07-18 10:28:59 -07:00
Nitin 85b8205522 bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly. 2011-07-18 22:08:19 +05:30
Nitin b3957d525b bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
status 9596: resolved fixed
2011-07-18 12:10:51 +05:30
anthony 10f1499438 bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
status 10680: resolved fixed
2011-07-15 18:20:16 -07:00
anthony 4a30f38dd4 bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
status 10680: resolved fixed
2011-07-15 18:17:53 -07:00
alena 93090d867d bug 10297: make default page size unlimited (-1) 2011-07-15 16:02:37 -07:00
alena 15aa7d9102 bug 10297: make default page size unlimited (-1) 2011-07-15 16:01:44 -07:00
alena 9c7aade3d1 bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
status 10733: resolved fixed

Conflicts:

	setup/db/db/schema-228to229.sql
2011-07-15 15:10:11 -07:00
alena f67c771410 bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
status 10733: resolved fixed
2011-07-15 15:07:11 -07:00
alena 0d84cde633 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-15 14:40:39 -07:00
alena 84edb80c0c bug 10687: respect "bootable" parameter when listIso
status 10687: resolved fixed
2011-07-15 14:28:53 -07:00
alena 21afc889d0 bug 10438: always return success on disableAccount when it got disabled successfully in the DB. If his vms failed to stop on the backend, mark account for cleanup and let background thread to do the cleanup job
status 10438: resolved fixed
2011-07-15 14:27:58 -07:00
alena 5300dd52a9 bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
status 4706: resolved fixed

Merge from master to 2.2.8 branch

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:23:28 -07:00
alena 0d2787e2db bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
status 4706: resolved fixed

Merge from master to 2.2.8 branch

Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/guru/GuestNetworkGuru.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:20:52 -07:00
anthony 0c53bddb16 bug 10628: root cause is CheckHealthCommand return false, XenServerInvestigator is not called
status 10628: resolved fixed
2011-07-15 10:12:54 -07:00
anthony f15fae8983 bug 10705: don't need to print trace
status 10705: resolved fixed
2011-07-15 10:12:37 -07:00
anthony 36bd6f5859 bug 10691: expand try-catch, and add more log 2011-07-15 10:12:25 -07:00
anthony 8722f35f91 bug 10691: add more log 2011-07-15 10:12:07 -07:00
Nitin 0dba08a431 bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly. 2011-07-15 20:03:32 +05:30
Kelven Yang 06ea7338a8 bug 10732: fix console proxy assignment issue - file was not saved, commit again 2011-07-14 21:56:51 -07:00
Kelven Yang 1081a3cfaa bug 10732: fix console proxy assignment issue 2011-07-14 21:56:34 -07:00
Kelven Yang 1e24c6a745 bug 10732: fix console proxy assignment issue - file was not saved, commit again 2011-07-14 21:54:52 -07:00
Kelven Yang 028d235716 bug 10732: fix console proxy assignment issue 2011-07-14 21:52:16 -07:00
anthony 18003deedf bug 10628: root cause is CheckHealthCommand return false, XenServerInvestigator is not called
status 10628: resolved fixed
2011-07-14 20:42:26 -07:00
Kelven Yang 281201be8e Make cluster request timeout to be configurable 2011-07-14 18:23:23 -07:00
Kelven Yang 61676ff3ea Make cluster request timeout to be configurable 2011-07-14 18:11:32 -07:00
alena 731c3bc20a bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
status 10710: resolved fixed
2011-07-14 16:28:13 -07:00
Alex Huang 161b7f1cad Switched ping to use the same db connection so that running out of db connections won't affect basic operations 2011-07-14 10:48:07 -07:00
alena 3b3a99ce43 bug 10727: fixed duplicated usage event generation when create volume from snapshot
status 10727: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-07-14 10:34:55 -07:00
alena d11ac32f08 bug 10727: fixed duplicated usage event generation when create volume from snapshot
status 10727: resolved fixed
2011-07-14 10:28:28 -07:00
Nitin 1a6d859f22 bug 10718: checkSumSync - remove it as we dont require it.
status 10718: resolved fixed
2011-07-14 16:48:42 +05:30
Nitin 721ac489b2 bug 10718: checkSumSync - remove it as we dont require it.
status 10718: resolved fixed
2011-07-14 16:45:20 +05:30
kishan f198b892e9 throw exception after intercepting to log error event 2011-07-14 11:51:14 +05:30
anthony b9803a05ae bug 10705: don't need to print trace
status 10705: resolved fixed
2011-07-13 18:35:56 -07:00
alena f76a5e0043 Throw correct types of exceptions when fail to create account 2011-07-13 18:25:13 -07:00
alena 1979d1d065 bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
status 10681: resolved fixed

Conflicts:

	server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
anthony b6d4c3e86d bug 10691: expand try-catch, and add more log 2011-07-13 18:24:14 -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
anthony 72b405948b bug 10691: add more log 2011-07-13 11:47:58 -07:00
Kelven Yang 11527ad914 bug 10699: log on listener registration 2011-07-12 16:58:55 -07:00
Kelven Yang 280a93a83d bug 10699: more log for this 2011-07-12 16:14:58 -07:00
Kelven Yang 40145b0b8b add logging to clustering notification 2011-07-12 16:14:58 -07:00
Nitin df3855420d bug 10624: ExtractVolume - code change for multiple secondary storage. 2011-07-12 20:30:43 +05:30
kishan b8a19e73af bug 6128: Throw exception when applying port forwarding rule fails
status 6128: resolved fixed
2011-07-12 16:41:17 +05:30
kishan 59399966c2 bug 7127: Added action event for lock user
status 7127: resolved fixed
2011-07-12 14:56:23 +05:30
alena 1acfa6013d Close ResultSet and PreparedStatement when gather vm information during the listVirtualMachines call 2011-07-11 18:26:15 -07:00
alena 738811305b bug 10687: respect "bootable" parameter when listIso
status 10687: resolved fixed
2011-07-11 18:06:39 -07:00
alena 50dce6d5a0 bug 10438: always return success on disableAccount when it got disabled successfully in the DB. If his vms failed to stop on the backend, mark account for cleanup and let background thread to do the cleanup job
status 10438: resolved fixed
2011-07-11 17:45:50 -07:00
alena 73574ebf5b Do regular vm stop (not forced=true) when disableAccount 2011-07-11 17:35:35 -07:00
alena 67f76b5192 Do regular vm stop (not forced=true) when disableAccount 2011-07-11 17:35:22 -07:00
anthony 72098e4ebd bug 10688: if the template is not installed in the primary storage, the asking zie is doubled, fixed by using physical size for template
status 10688: resolved fixed
2011-07-11 17:32:19 -07:00
anthony 0e9d1a8d1d bug 10688: if the template is not installed in the primary storage, the asking zie is doubled, fixed by using physical size for template
status 10688: resolved fixed
2011-07-11 17:28:30 -07:00
Kelven Yang 6d8eb45bad add logging to clustering notification 2011-07-11 17:16:23 -07:00
Kelven Yang 0fa8b65cde bug 10656: check OutOfMemoryError in critical path, fix run.sh to let it be able to monitor process termination 2011-07-11 16:33:19 -07:00
alena 506ca6cff3 bug 10686: generate volume.delete usage event (along with vm.destroy) when vm fails to create/start.
status 10686: resolved fixed

Also updated 227 to 228 db upgrade to insert missing usage_event records

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-11 16:13:22 -07:00
alena cc9a629cea bug 10686: generate volume.delete usage event (along with vm.destroy) when vm fails to create/start.
status 10686: resolved fixed

Also updated 227 to 228 db upgrade to insert missing usage_event records
2011-07-11 16:11:05 -07:00
Alex Huang 1d2a529556 put big log trace in firstfit planner in to trace instead of debug 2011-07-11 14:37:52 -07:00
Alex Huang f5d5ed5dce put big log trace in firstfit planner in to trace instead of debug 2011-07-11 14:37:36 -07:00
Kelven Yang e4bd357c53 bug 10677: add client side time out to cluster servlet interface 2011-07-11 13:37:33 -07:00
Kelven Yang b9f00ccbab bug 10677: add client side time out to cluster servlet interface 2011-07-11 12:08:12 -07:00
alena bb6468b814 Fixed typo 2011-07-11 10:31:42 -07:00
alena 98b728bf70 Fixed typo 2011-07-11 10:31:25 -07:00
alena edb68eb6b7 More logging to agent lb 2011-07-11 10:29:57 -07:00
alena f348b2f324 More logging to agent lb 2011-07-11 10:29:04 -07:00
Sheng Yang b9c740bcfd Update keystore generation cmdline 2011-07-11 10:19:40 -07:00
Sheng Yang 964cef3767 Update keystore generation cmdline 2011-07-11 10:18:39 -07:00
Nitin 8a54013812 bug 10624: ExtractVolume - code change for multiple secondary storage. 2011-07-11 20:33:07 +05:30
kishan 8069a45a26 bug 10276: Throw exception for account APIs failure
status 10276: resolved fixed
2011-07-11 14:09:38 +05:30
Alex Huang 186654b299 find templates that are not removed 2011-07-09 13:37:45 -07:00
Alex Huang fb8c3c032a find templates that are not removed 2011-07-09 13:37:26 -07:00
Alex Huang e0cce66bcc got rid of dos eol which seems to confuse jdk in generating line numbers 2011-07-09 13:35:52 -07:00
Alex Huang 26b3c26974 got rid of dos eol which seems to confuse jdk in generating line numbers 2011-07-09 13:35:06 -07:00
Alex Huang 852cf0e6c7 fix migration npe when recovering 2011-07-09 08:32:10 -07:00
Alex Huang db5afa4994 fix migration npe when recovering 2011-07-09 08:31:44 -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 cad925bc6b bug 10671: list domain level networks for children domains when domainId is not specified
status 10671: resolved fixed
2011-07-08 21:11:51 -07:00
Kelven Yang 72cbd65db2 bug 10668: add DB upgrade scripts for 2.2.7 to 2.2.8 upgrade 2011-07-08 18:12:13 -07:00
Alex Huang ea48d40e5f connection conierge to deal with connections that are not returned to pools 2011-07-08 18:04:57 -07:00
Alex Huang c679fc078a bug 10632: allow volume to be recreated when it is in recreating state 2011-07-08 18:04:57 -07:00
anthony cae81c9a66 bug 10669: it is due to there is a templatehostref for this template, whose status is not DOWNLOADED
fixed by only check ready templatehostref for ISO download

status 10669: resolved fixed
2011-07-08 17:39:19 -07:00
anthony dda3f220d6 bug 10669: it is due to there is a templatehostref for this template, whose status is not DOWNLOADED
fixed by only check ready templatehostref for ISO download

status 10669: resolved fixed
2011-07-08 17:37:34 -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
alena 47f519f5de 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:47:25 -07:00
frank 12d6f53898 Bug 10660 - ConfigurationServer loads failed because DB upgrade happens after it
resolved fixed
2011-07-08 15:20:41 -07:00
frank 7b1b56548a Bug 10660 - ConfigurationServer loads failed because DB upgrade happens after it
resolved fixed
2011-07-08 14:49:50 -07:00
Edison Su 0dacd3913a bug 10423: agent in ssvm needs to add default keystore, as we copying templates through https://**realhostip.**
status 10423: resolved fixed
2011-07-08 13:49:43 -07:00
Edison Su a24eef5c81 add new option to force destroy vm when delete host, if the VMs are created on local storage 2011-07-08 13:49:05 -07:00
Edison Su 492bf2371c bug 10092: fix the Long compare
status 10092: resolved fixed
2011-07-08 13:32:54 -07:00
Edison Su d3093048f8 bug 10303: don't show system vm template for templatefilter == (self and feature)
status 10303: resolved fixed
2011-07-08 13:31:49 -07:00
Edison Su 8306bf7ee5 fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped 2011-07-08 13:31:34 -07:00
Edison Su 902f8172e3 bug 10293: don't destroy volume if it's not created
status 10293: resolved fixed
2011-07-08 13:19:32 -07:00
Edison Su 76d4636823 bug 10190: add log if failed to delete host when host is in UP state 2011-07-08 13:19:16 -07:00
alena 40211d186d Fixed the case when vm failed to start when corresponding domR was in Stopped state 2011-07-08 11:50:00 -07:00
Alex Huang 040cffafca bug 10447: don't set the reservation id to null 2011-07-08 11:36:52 -07:00
Alex Huang b23c2a3c53 bug 10447: don't set the reservation id to null 2011-07-08 11:36:30 -07:00
alena 62a570484c fix db upgrade from 2.2.6 to 2.2.8
Conflicts:

	setup/db/db/schema-227to228.sql
2011-07-08 09:51:50 -07:00
alena 27ef3a1d2d bug 10651: added missing keys to 227 to 228 db upgrade
status 10651: resolved fixed

Conflicts:

	setup/db/db/schema-227to228.sql
2011-07-08 09:49:19 -07:00
alena 70b1c69ef3 bug 10651: added missing keys to 227 to 228 db upgrade
status 10651: resolved fixed
2011-07-08 09:45:12 -07:00
Alex Huang 44666b6333 fixed the problem that vms in starting state were not being cleaned up when management server restarts 2011-07-08 00:05:55 -07:00
Alex Huang aa757f0303 fixed the problem that vms in starting state were not being cleaned up when management server restarts 2011-07-08 00:05:29 -07:00
anthony 4c0fce700b bug 10639: if register iso for all zones, zoneId is -1,
fixed

status 10639: resolved fixed
2011-07-07 21:03:09 -07:00
anthony 093af8afdf bug 10639: if register iso for all zones, zoneId is -1,
fixed

status 10639: resolved fixed
2011-07-07 21:01:15 -07:00
anthony fc5c657980 bug 10608:
only one primary storage in a cluster can be in PrepareMaintenance mode
2011-07-07 19:43:43 -07:00
anthony f2117197f5 bug 10608:
only one primary storage in a cluster can be in PrepareMaintenance mode
2011-07-07 19:40:04 -07:00
Kelven Yang d0de1a5b94 bug 10620: allow ISO attachment failure to propogate up 2011-07-07 17:02:51 -07:00
Kelven Yang 25d2c893e6 bug 10620: allow ISO attachment failure to propogate up 2011-07-07 17:00:51 -07:00
anthony 01a04935aa bug 10611: MS puts primary storage into cancelmaintenace mode, then try to start VMs which were running on top of it, but failed because primary storage is in cancelmaintenace mode
fixed

status 10611: resolved fixed
2011-07-07 16:21:23 -07:00
anthony a7f8b66813 bug 10611: MS puts primary storage into cancelmaintenace mode, then try to start VMs which were running on top of it, but failed because primary storage is in cancelmaintenace mode
fixed

status 10611: resolved fixed
2011-07-07 16:20:25 -07:00
alena 80ede648e3 bug 10629: fixed regression bug in listVms - security group name and display text weren't returned
status 10629: resolved fixed
2011-07-07 15:48:02 -07:00
alena a2abb3ce18 bug 10417: Basic zone - send vm data info only to the dhcp server in the same pod
status 10417: resolved fixed
2011-07-07 15:48:01 -07:00
alena b92abc5333 bug 10629: fixed regression bug in listVms - security group name and display text weren't returned
status 10629: resolved fixed
2011-07-07 15:42:44 -07:00
frank 3c1a375978 Bug 9887 - baremetal: support for image operation (create template from guest disk)
Resolved fixed
2011-07-07 15:34:42 -07:00
anthony b885915f1e bug 10628: if private network and storage network use the same nic, MS will start HA very quickly within 20 seconds, it breaks heartbeat check, which require 60 seconds interval. add 60s sleep before trying to HA on VMs
status 10628: resolved fixed
2011-07-07 12:39:46 -07:00
anthony 931dcff710 bug 10628: if private network and storage network use the same nic, MS will start HA very quickly within 20 seconds, it breaks heartbeat check, which require 60 seconds interval. add 60s sleep before trying to HA on VMs
status 10628: resolved fixed
2011-07-07 12:36:39 -07:00
anthony 9b640085ab bug 10618: fixed NPE
status 10618: resolved fixed
2011-07-07 10:24:22 -07:00
anthony dd6972ee07 bug 10618: fixed NPE
status 10618: resolved fixed
2011-07-07 10:23:29 -07:00
Nitin 17e4e7014f bug 10602: Fix NPE in StatsCollector - ssvm might not be up so check for that.
status 10602: resolved fixed
2011-07-07 13:49:37 +05:30
Nitin 9f13b46d61 bug 10602: Fix NPE in StatsCollector - ssvm might not be up so check for that.
status 10602: resolved fixed
2011-07-07 13:45:40 +05:30
anthony 47296e64ac bug 10587: correctly use transaction
status 10587: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-07-06 18:57:36 -07:00
anthony 4040b39fe1 bug 10587: correctly use transaction
status 10587: resolved fixed
2011-07-06 18:55:15 -07:00
alena a2531b60f9 bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
updateNetwork command is async now
2011-07-06 18:00:15 -07:00
Kelven Yang efa431ed1b Add data integrity check for Console Proxy/SSVM/Domain Router 2011-07-06 17:31:39 -07:00
Kelven Yang e522ecb3a1 Add data integrity check for Console Proxy/SSVM/Domain Router 2011-07-06 17:22:21 -07:00
alena 9be9a970c9 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-06 16:57:19 -07:00
Alex Huang ee2670edc7 Some operations on the lock table allowed through jmx 2011-07-06 16:10:18 -07:00
Alex Huang 7e9836dfd0 Some operations on the lock table allowed through jmx 2011-07-06 16:09:05 -07:00
anthony f1bee86263 fixed a NPE 2011-07-06 16:07:53 -07:00
anthony 90cb2dea6a add more logs 2011-07-06 16:07:46 -07:00
anthony 67e2f130d0 fixed a NPE 2011-07-06 16:07:29 -07:00
Edison Su 79f5ece7dc fix NPE in put primary storage into maintainance mode 2011-07-06 16:05:22 -07:00
alena 2fca9d0a49 bug 10603: fixed NPE in listTemplates
status 10603: resolved fixed
2011-07-06 14:22:40 -07:00
alena 4727b1229e bug 10603: fixed NPE in listTemplates
status 10603: resolved fixed
2011-07-06 14:21:38 -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 01a47e0717 bug 10553: allow networkDomain update for Guest system network in Basic zone
status 10553: resolved fixed
2011-07-06 12:01:09 -07:00
anthony dc492c5d9e add more logs 2011-07-06 11:54:00 -07:00
Nitin fb981be800 bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
status 10580: resolved fixed
2011-07-06 18:20:17 +05:30
Nitin 1c73e378da bug 10580: Making necessary changes to stats collection to entertain multiple secondary storage.
status 10580: resolved fixed
2011-07-06 18:15:18 +05:30
kishan 561f415d5a bug 10382: Move volume delete events to destroyVolume method
status 10382: resolved fixed
2011-07-06 18:08:48 +05:30
Abhinandan Prateek 2aa1f3e596 bug 10570: fixed ISO id and name
status 10570: resolved fixed
2011-07-06 11:26:10 +05:30
Abhinandan Prateek c62ad3d11a bug 10570: fixed ISO id and name
status 10570: resolved fixed
2011-07-06 11:23:23 +05:30
frank 05c7995153 Bug 10559 - Couldn't add baremetal template/image throught the ui, zone id passed in was negative
resolved fixed
2011-07-05 19:35:26 -07:00
frank 38c0772507 Bug 10560 - Baremetal template created 5 entries when added (edit)
resolved fixed
2011-07-05 19:35:15 -07:00
Kelven Yang 399e6a673b bug 10577: implemente VMware CPU reservation based on CPU overprovisioning factor 2011-07-05 18:05:17 -07:00
Kelven Yang 51f93a6020 bug 10577: implemente VMware CPU reservation based on CPU overprovisioning factor 2011-07-05 17:34:38 -07:00
frank 3c4671aac5 Bug 10560 - Baremetal template created 5 entries when added (edit)
resolved fixed
2011-07-05 17:22:46 -07:00
frank 4a8812af68 Bug 10559 - Couldn't add baremetal template/image throught the ui, zone id passed in was negative
resolved fixed
2011-07-05 16:41:51 -07:00
alena deca4337c5 Fixed deployVm with sshKeyPair via 8096 port - take account info from the vm's owner, not from the caller 2011-07-05 13:37:39 -07:00
alena ba95181dc4 Fixed deployVm with sshKeyPair via 8096 port - take account info from the vm's owner, not from the caller 2011-07-05 13:35:29 -07:00
alena bb1f000414 createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
registerSshKeys command - added ability for admin to register key for another user

Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:10:52 -07:00
alena c31605d51f createSshKeys command - fixed the case when admin couldn't create a key for another user via 8096 port.
registerSshKeys command - added ability for admin to register key for another user

Fixed NPE in registerUserKeys command - used to happen in failure case, when invalid publicKey was specified
2011-07-05 12:08:43 -07:00
Abhinandan Prateek 5f12ea73a8 bug 8962: Completed moving VM from one account to another. 2011-07-04 13:15:40 +05:30
Nitin 857f8ca0f9 Fixing the merge - adding import which wasnt present 2011-07-04 12:12:18 +05:30
Nitin 62aab14e05 bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
Status 8915: resolved fixed
2011-07-04 12:01:04 +05:30
Nitin 90ae601fc8 bug 10112: generarting the right url for corresponding hypervisors for extract template.
status 10112: resolved fixed
2011-07-04 11:59:58 +05:30
Edison Su d548e8fc38 fix db upgrade from 2.2.6 to 2.2.8 2011-07-01 19:16:14 -07:00
anthony 401e5ce0e9 handle register template/iso to all zones
Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
2011-07-01 17:42:59 -07:00
anthony 2bd3f6c74e handle register template/iso to all zones 2011-07-01 17:06:43 -07:00
anthony c0f22970d3 per angie, Below sequence doesn't work
1. copy template1 from z1 to z2
2. remove template1 from z2
3. copy tempalte1 from z1 to z2 again,
4. template1 for z2 doesn't show up in MyTemplate

fixed
2011-07-01 16:19:38 -07:00
anthony 09562e771c per angie, Below sequence doesn't work
1. copy template1 from z1 to z2
2. remove template1 from z2
3. copy tempalte1 from z1 to z2 again,
4. template1 for z2 doesn't show up in MyTemplate

fixed
2011-07-01 16:17:18 -07:00
anthony 494f29702b fixed list featured template 2011-07-01 16:09:18 -07:00
anthony 010858da0d fixed list featured template 2011-07-01 16:08:17 -07:00
Kelven Yang 7512689dc8 bug 10546: move sending agent command out of transaction 2011-07-01 15:49:48 -07:00
Kelven Yang 7e6e097b58 bug 10482: use version-based systemvm ISO in secondary storage to solve the upgrade issue 2011-07-01 14:09:58 -07:00
Kelven Yang 3b46e7c695 bug 10482: use version-based systemvm ISO in secondary storage to solve the upgrade issue 2011-07-01 14:02:09 -07:00
alena 17f785f07a Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin 2011-07-01 13:19:12 -07:00
Alex Huang f28a2b40a3 bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug. 2011-07-01 11:03:37 -07:00
Alex Huang cfc25d01be bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug. 2011-07-01 11:03:12 -07:00
kishan 9a6c567269 bug 10503: Skip usage events when StopAnswer details is Vm does not exist
status 10503: resolved fixed
2011-07-01 18:27:27 +05:30
kishan fd6900a3d8 bug 10382: wrapped usage events in txn 2011-07-01 18:11:56 +05:30
kishan 36d7ee5634 bug 10372: Added Vm State Machine listener for usage events
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
Nitin 7677a2bfee bug 10112: generarting the right url for corresponding hypervisors for extract template.
status 10112: resolved fixed
2011-07-01 13:58:47 +05:30
Abhinandan Prateek 2a2611d6f6 group id is optional 2011-07-01 13:20:57 +05:30
Abhinandan Prateek 4120a07526 group id is optional 2011-07-01 13:17:32 +05:30
alena 9b54b8761a bug 10538: avoid duplicated config values insertion when multiple management servers start at the same time
status 10538: resolved fixed
2011-06-30 18:26:52 -07:00
alena e0c74004f1 bug 10538: avoid duplicated config values insertion when multiple management servers start at the same time
status 10538: resolved fixed
2011-06-30 18:24:28 -07:00
anthony da179d7f46 clean up 2011-06-30 15:15:06 -07:00
anthony e0d05f8b49 bug 10533: do not use daos in upgrade code
status 10533: resolved fixed
2011-06-30 15:15:06 -07:00
anthony 12113c4ee8 clean up 2011-06-30 15:14:24 -07:00
anthony a125219dda bug 10533: do not use daos in upgrade code
status 10533: resolved fixed
2011-06-30 15:12:57 -07:00
anthony a217baebf6 bug 5873: Checking if scmbug works
status 5873: resolved fixed
2011-06-30 14:06:20 -07:00
anthony 9f8d515b2e bug 5873: Checking if scmbug works
status 5873: resolved fixed
2011-06-30 14:04:16 -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
Abhinandan Prateek c15723a716 bug 10526: adding root device, volume type 2011-06-30 22:02:39 +05:30
Abhinandan Prateek ae665d4b11 bug 10526: adding root device, volume type 2011-06-30 21:58:44 +05:30
Abhinandan Prateek 6c17fd3c7d bug 10526: added state 2011-06-30 21:13:09 +05:30
Abhinandan Prateek c6bccec8ad bug 10526: added state 2011-06-30 21:07:22 +05:30
Nitin 62078ffef2 bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
Status 8915: resolved fixed
2011-06-30 16:31:02 +05:30
Abhinandan Prateek 6cfc59b454 bug 10489: addign object type to response 2011-06-30 13:31:55 +05:30
root 6553ae7df4 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-06-30 13:18:57 +05:30
Abhinandan Prateek 978d811333 bug 10489: adding object name to response so that the front end displays it properly 2011-06-30 13:14:56 +05:30
Nitin c510c0540a bug 10422: Correcting host capacity checker thread runs. Removing the thread.sleep method and using the scheduleWithFixedDelay to execute the thread at fixed delays. Also making the hostCapacityChecker thread use the common function used by computeCapacityListener.
status 10422: resolved fixed
2011-06-30 13:00:44 +05:30
Abhinandan Prateek c30225c2af bug 10489: self review updates 2011-06-30 11:07:37 +05:30
Abhinandan Prateek 6ba0b35295 bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5 2011-06-30 11:05:18 +05:30
Abhinandan Prateek 8bdbfc78ea bug 10489: self review updates 2011-06-30 10:52:03 +05:30
Abhinandan Prateek f34252f2e0 bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5 2011-06-30 09:55:35 +05:30
anthony 1503bacc7c fixed template deletion 2011-06-29 20:36:42 -07:00
anthony 5fc6d74b95 fixed template deletion 2011-06-29 20:36:15 -07:00
anthony c4c36c5f62 bug 10511:
in template sync,

1. skip all templates with url null
2. if the template is private, and there is no record for this template in this secondary storage host, skip it

status 10511: resolved fixed

Conflicts:

	server/src/com/cloud/storage/download/DownloadMonitorImpl.java
2011-06-29 20:08:20 -07:00
anthony 5aba50deb9 bug 10511:
in template sync,

1. skip all templates with url null
2. if the template is private, and there is no record for this template in this secondary storage host, skip it

status 10511: resolved fixed
2011-06-29 20:02:14 -07:00
anthony b6eafd7102 bug 10512: lock on snapshot entry instead of volume entry
status 10512: resolved fixed
2011-06-29 18:54:53 -07:00
anthony 253ae79876 bug 10512: lock on snapshot entry instead of volume entry
status 10512: resolved fixed
2011-06-29 18:53:41 -07:00
anthony ed614c4f52 bug 10511: lock on snapshot entry instead of volume entry
status  10511: resolved fixed
2011-06-29 18:41:55 -07:00
anthony 43de3ec249 bug 10511: lock on snapshot entry instead of volume entry
status  10511: resolved fixed
2011-06-29 18:40:18 -07:00
anthony 2fb5de8852 fixed several template issues
merge createtemplateresponse and createteisoresponse

on UI template
only show template corresponding hypervisor exists

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	server/src/com/cloud/storage/StorageManager.java
2011-06-29 18:31:13 -07:00
anthony 446d08187b fixed several template issues
merge createtemplateresponse and createteisoresponse

on UI template
only show template corresponding hypervisor exists
2011-06-29 15:56:01 -07:00
Alex Huang 7a4af21f72 bug 10322: Transaction is using the new Merovingian 2011-06-29 15:34:53 -07:00
alena e16e0597c9 bug 10497: always execute next command in sequence, even when the current one fails to complete; otherwise all the remaining commands will be stuck in the queue forever
status 10497: resolved fixed
2011-06-29 15:17:29 -07:00
alena 13f67a3d56 bug 10497: always execute next command in sequence, even when the current one fails to complete; otherwise all the remaining commands will be stuck in the queue forever
status 10497: resolved fixed
2011-06-29 14:16:59 -07:00
Alex Huang 81213c2be2 bug 10322: Transaction is using the new Merovingian 2011-06-29 12:35:30 -07:00
Alex Huang c8c84af109 bug 10322: integrated into cluster management 2011-06-29 12:03:36 -07:00
Alex Huang fefc798197 bug 10322: better mannered merovingians 2011-06-29 12:03:22 -07:00
Alex Huang 687e9f6e67 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:03:05 -07:00
Alex Huang 27809e651e bug 10322: arrival of the next generation Merovingians 2011-06-29 12:02:53 -07:00
Alex Huang 63f552995f bug 10322: integrated into cluster management 2011-06-29 12:01:43 -07:00
Alex Huang e16a013335 bug 10322: better mannered merovingians 2011-06-29 12:01:43 -07:00
Alex Huang 2219269e83 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:01:43 -07:00
Alex Huang cbee5a6044 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:01:43 -07:00
alena e10020e710 bug 10496: fixed various problems in scanDirectAgentToLoad code (1) case when loadSize=clusterSize wasn't working 2) Long value comparison was done incorrectly)
status 10496: resolved fixed
2011-06-29 11:41:45 -07:00
alena 5134b44ff5 bug 10496: fixed various problems in scanDirectAgentToLoad code (1) case when loadSize=clusterSize wasn't working 2) Long value comparison was done incorrectly)
status 10496: resolved fixed
2011-06-29 11:27:01 -07:00
anthony cf83700bf4 fixed buld 2011-06-29 10:56:48 -07:00
alena 16da7e07ac Added more logging to DirectAgentsLoad task 2011-06-29 09:30:22 -07:00
alena 1581828dda Added more logging to DirectAgentsLoad task 2011-06-29 09:29:46 -07:00
Nitin 91e016114e bug 10422: Correctly populating the used and reserved capacity in ComputeCapacityListener Status 10422: resolved fixed 2011-06-29 15:40:47 +05:30
Nitin 1eb8e61c43 bug 10422: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
status 10422: resolved fixed
2011-06-29 15:27:06 +05:30
Nitin 474d666f79 bug 10422: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
status 10422: resolved fixed
2011-06-29 14:34:24 +05:30
Nitin a2bdcf5159 bug 10422: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
status 10422: resolved fixed
2011-06-29 14:34:23 +05:30
anthony 7d060d3388 list template will list ready template if there is, if not, list in progress, if not list other 2011-06-28 19:18:10 -07:00
anthony 0ca489c40b fixed template checksum command 2011-06-28 19:17:57 -07:00
anthony d902d313b7 fixed a template creation bug
Conflicts:

	server/src/com/cloud/storage/StorageManager.java
2011-06-28 19:17:34 -07:00
anthony e186369c51 use correct secondary storage when creating template from snapshot 2011-06-28 19:16:34 -07:00
anthony 260e4dbb51 list template will list ready template if there is, if not, list in progress, if not list other 2011-06-28 19:03:46 -07:00
anthony 90cdf16509 fixed template checksum command 2011-06-28 19:03:46 -07:00
anthony f85fb432ba fixed a template creation bug 2011-06-28 17:55:21 -07:00
anthony b058a0226d use correct secondary storage when creating template from snapshot 2011-06-28 16:58:15 -07:00
Kelven Yang 1edf772f92 bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql 2011-06-28 15:00:34 -07:00
Kelven Yang 0059dd0e57 bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql 2011-06-28 14:57:02 -07:00
anthony 2602614fd3 set correct secondary storage host id in snapshot table 2011-06-28 14:08:39 -07:00
anthony 1e7399dd19 set correct secondary storage host id in snapshot table 2011-06-28 14:08:18 -07:00
alena 830c230b47 bug 10492: fixed upgrade from 2.2.6 to 2.2.8
status 10492: resolved fixed
2011-06-28 13:45:37 -07:00
alena c7d17d2e3c bug 10492: fixed upgrade from 2.2.6 to 2.2.8
status 10492: resolved fixed
2011-06-28 13:44:00 -07:00
anthony 89b39d6a1a fixed compile warning 2011-06-28 11:00:16 -07:00
anthony 7cafe9eae4 fixed compile warning 2011-06-28 10:56:35 -07:00
root d46d1da86c bug 10455: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
status 10455: resolved fixed
2011-06-28 19:55:09 +05:30
Nitin 35d4c304a9 bug 10455: CreatePrivateTemplate - If the volume's template id is null and it is ROOT (meaning that the vm was created out of a blank template) then take the source template id from the user vm table.
Status 10455: resolved fixed
2011-06-28 19:54:54 +05:30
root dbc0abfa69 bug 10455: accidentally removed the code for sourceTemplate id when the the volume is created out of template. Checking it in.
status 10455: resolved fixed
2011-06-28 14:29:11 +05:30
Alex Huang 89269069f9 Added JMX to Transaction 2011-06-28 01:17:46 -07:00
Alex Huang b7e4298c94 Added JMX to Transaction 2011-06-27 17:24:26 -07:00
anthony d57f187963 bug 10410: show template per zone
status 10410: resolved fixed
2011-06-27 17:15:58 -07:00
anthony 461d256f74 bug 10410: show template per zone
status 10410: resolved fixed
2011-06-27 17:15:27 -07:00
anthony 761af73f24 bug 9855: two fixes.
1. can not cancel maintenace mode.
2. maintenance related modes are preserved through MS restart

status 9855: resolved fixed
2011-06-27 13:47:43 -07:00
anthony 468136be74 bug 9855: two fixes.
1. can not cancel maintenace mode.
2. maintenance related modes are preserved through MS restart

status 9855: resolved fixed
2011-06-27 13:48:12 -07:00
alena e716245218 bug 10447: don't allow to use system networks for vm deployment in Advance zone
status 10447: resolved fixed
2011-06-27 12:32:32 -07:00
alena 4e20cfd0ef bug 10447: don't allow to use system networks for vm deployment in Advance zone
status 10447: resolved fixed
2011-06-27 12:31:00 -07:00
anthony 9b56ac973e host is stucked in prepareMaintenance mode if you put last host into maintenance mode,
fixed

Conflicts:

	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-06-27 11:36:10 -07:00
anthony 3ab96b99af host is stucked in prepareMaintenance mode if you put last host into maintenance mode,
fixed
2011-06-27 11:33:23 -07:00
Alex Huang a59d70e7e4 bug 10375: fixed deadlock issue I think 2011-06-27 10:43:32 -07:00
alena 18dc85c765 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:37:00 -07:00
alena 826f5eedf1 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:37:00 -07:00
alena 9461ad9ddf bug 10445: Submit rebalancing task in a separate thread for each host
status 10445: resolved fixed
2011-06-27 10:37:00 -07:00
alena f9d6685d18 bug 10456: get accountId info from the volume record when create template from volume
status 10456: resolved fixed
2011-06-27 10:37:00 -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 52fab0e35e bug 10456: get accountId info from the volume record when create template from volume
status 10456: resolved fixed
2011-06-27 10:20:40 -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
alena fce33bcd76 bug 10445: Submit rebalancing task in a separate thread for each host
status 10445: resolved fixed
2011-06-27 10:20:40 -07:00
Alex Huang 791dd9777b logging changes 2011-06-27 10:19:53 -07:00
Alex Huang 97b562fc2a logging changes 2011-06-27 10:18:40 -07:00
Nitin 5810b838ed bug 10455: CreatePrivateTemplate - If the volume's template id is null and it is ROOT (meaning that the vm was created out of a blank template) then take the source template id from the user vm table.
Status 10455: resolved fixed
2011-06-27 17:20:42 +05:30
Kelven Yang f3d7d075ee bug 10449: handle the case when cluster servlet may be called during management server initialization phase 2011-06-24 18:14:11 -07:00
Kelven Yang 217ab1a851 bug 10150: we need to be told about management network group name for ESXi to pick up the correct one when there are multiple VMKernel ports be configured in vCenter 2011-06-24 18:13:53 -07:00
Kelven Yang a295e381a7 bug 10449: handle the case when cluster servlet may be called during management server initialization phase 2011-06-24 18:12:25 -07:00
Kelven Yang 6cdbd1f2bb bug 10150: we need to be told about management network group name for ESXi to pick up the correct one when there are multiple VMKernel ports be configured in vCenter 2011-06-24 18:12:25 -07:00
Edison Su 3642aef4c6 bug 10423: agent in ssvm needs to add default keystore, as we copying templates through https://**realhostip.**
status 10423: resolved fixed
2011-06-24 14:45:47 -04:00
alena 56799fcbaa Added upgrade path from 2.2.7 to 2.2.8 2011-06-24 12:07:33 -07:00
alena 67be5512c8 Added upgrade path from 2.2.7 to 2.2.8 2011-06-24 11:31:08 -07:00
Kelven Yang 1db2667c54 bug 10029: update mshost state instead of removing it 2011-06-24 11:18:28 -07:00
Kelven Yang 0be54ec4b6 bug 10029: update mshost state instead of removing it 2011-06-24 11:16:40 -07:00
alena 74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
nitin 83773978e3 bug 10290: Allow turning off router stats collector
Status 10290: resolved fixed
2011-06-24 16:27:17 +05:30
alena f42f7d8945 Always add default security group when deploy vm in basic zone 2011-06-23 20:00:49 -07:00
Kelven Yang 3da61e7c27 bug 9605: use CIDR from default interface 2011-06-23 17:47:20 -07:00
Edison Su 28f0068151 add new option to force destroy vm when delete host, if the VMs are created on local storage 2011-06-23 20:36:13 -04:00
alena 9d76f6d719 Always add default security group when deploy vm in basic zone 2011-06-23 19:59:14 -07:00
Kelven Yang 3b93d353d6 bug 9605: use CIDR from default interface 2011-06-23 17:48:37 -07:00
Kelven Yang a728f5b071 bug 10434: limit vCenter cluster size to be within VMFS limit 2011-06-23 17:24:08 -07:00
Kelven Yang e37959e2c0 bug 10434: limit vCenter cluster size to be within VMFS limit 2011-06-23 17:21:46 -07:00
Kelven Yang f91122654b bug 10176: add cluster listener registration back 2011-06-23 14:52:15 -07:00
Kelven Yang 8490fc2bf5 bug 10176: add cluster listener registration back 2011-06-23 14:50:58 -07:00
alena d380ce0897 bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
status 4706: resolved fixed
2011-06-23 11:31:39 -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
alena d196f1262f 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:03:52 -07:00
alena 123cf6c30a bug 10408: fixed user_statistics upgrade for the case when account owns vm in Direct network, and corresponding domR belongs to another account
status 10408: resolved fixed
2011-06-23 10:11:32 -07:00
alena bfc64fdcd3 bug 10408: fixed user_statistics upgrade for the case when account owns vm in Direct network, and corresponding domR belongs to another account
status 10408: resolved fixed
2011-06-23 10:09:58 -07:00
Murali Reddy 8eb9ee6a8b Bug 10377 - API listAccounts return vmtotal=-14 2011-06-23 17:31:38 +05:30
Murali Reddy 1bfe6d8d72 Bug 10377 - API listAccounts return vmtotal=-14 2011-06-23 17:28:09 +05:30
Abhinandan Prateek 4922eda764 bug 10062: reverting the change as the error can be due to several factors in deployment of domain router 2011-06-23 10:56:21 +05:30
Abhinandan Prateek a1622d9f75 bug 10062: reverting the change as the error can be due to several factors in deployment of domain router 2011-06-23 10:41:37 +05:30
root 8cdba6a7f5 Merge branch '2.2.8' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.8 2011-06-23 09:58:07 +05:30
anthony 62249f3eae 1. return message to UI if adding primary storage failed
2. delete primary storage entry if if adding primary storage failed
2011-06-22 18:44:33 -07:00
anthony 4bbed17d02 1. return message to UI if adding primary storage failed
2. delete primary storage entry if if adding primary storage failed
2011-06-22 18:39:21 -07:00
Kelven Yang be38384e76 bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source 2011-06-22 18:25:35 -07:00
Kelven Yang 7f8b129dc5 bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source 2011-06-22 18:23:43 -07:00
alena 4335b8b179 bug 10416: fixed the bug in agentLoadBalancerPlanner
status 10416: resolved fixed
2011-06-22 17:14:14 -07:00
Sheng Yang 6e405efe01 bug 10311: Update UpdateNetworkCmd, allow change networkOfferingId
And restart/re-implement the network if networkOfferingId is changed.
2011-06-22 15:30:39 -07:00
Sheng Yang 0d750dacc2 bug 10311: Update create network_offering API 2011-06-22 15:30:39 -07:00
alena 48c2f68af0 bug 10416: fixed the bug in agentLoadBalancerPlanner
status 10416: resolved fixed
2011-06-22 17:16:04 -07:00
alena b8e15a833b bug 10406: fixed concurrency problem happening during Agent Transfer Monitor task
status 10406: resolved fixed
2011-06-22 14:14:41 -07:00
Alex Huang 129f40d0cb bug 10375: trying to reduce the scope of the transaction 2011-06-22 16:34:14 -07:00
alena 979e3a2d56 bug 10406: fixed concurrency problem happening during Agent Transfer Monitor task
status 10406: resolved fixed
2011-06-22 14:12:22 -07:00
Murali Reddy 1d4bee51e7 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:06:59 +05:30
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
alena 4fcb406f2b bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
status 4706: resolved fixed
2011-06-21 16:41:43 -07:00
Edison Su 54a4af2a0c bug 10092: fix the Long compare
status 10092: resolved fixed
2011-06-21 14:33:43 -04:00
alena d08abadc19 Keep "encode.api.response" parameter in ApiServer class; initialize it as a part of init() method 2011-06-21 11:07:31 -07:00
alena daad9e4b81 Keep "encode.api.response" parameter in ApiServer class; initialize it as a part of init() method 2011-06-21 11:05:57 -07:00
Alex Huang da402fdd35 added back @DB annotation 2011-06-21 10:44:46 -07:00
Alex Huang 07354b441c added back @DB annotation 2011-06-21 10:44:32 -07:00
Abhinandan Prateek 098f68d18e bug 10340: added cidrs in response
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:57:36 +05:30
Abhinandan Prateek b6d2ec505e bug 10340: added cidrs in response
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:55:17 +05:30
Alex Huang a254e90ab3 Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 10:15:42 -07:00
Alex Huang 8459ae0beb Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 09:25:29 -07:00
Murali Reddy c9dbda493a Bug 10174 - Should not return public and featured templates for accounts that do not have access to their respective zones
pushing 2.2.8 fix to master
2011-06-21 19:50:48 +05:30
Murali Reddy 83ee4e653c Bug 10174 - Should not return public and featured templates for accounts that do not have access to their respective zones
status 10174: resolved fixed
2011-06-21 19:20:25 +05:30
Alex Huang 22e28b4941 bug 10368: better fix for the db connection problem. 2011-06-20 16:31:32 -07:00
Alex Huang 36ceb02abe removed useless manager declarations 2011-06-20 16:31:32 -07:00
Alex Huang a58d730e34 bug 10368: Print out the hash code of the db connection instead of the toString(). Changed the transaction in changeToStart() method to be of a shorter interval so it won't cause so many db connection exceptions 2011-06-20 16:31:32 -07:00
Alex Huang 78d19f8690 bug 10368: better fix for the db connection problem. 2011-06-20 16:30:38 -07:00
alena 4005c7bcce bug 10193: modified description field for login api call in API docs
status 10193: resolved fixed
2011-06-20 16:25:08 -07:00
alena 2f5e51a382 bug 10193: modified description field for login api call in API docs
status 10193: resolved fixed
2011-06-20 16:23:04 -07:00
Alex Huang dc605655a0 removed useless manager declarations 2011-06-20 16:20:48 -07:00
alena 2e3fff5b94 bug 10219: Untagged vlan ranges in Public network should have the same subnet
status 10219: resolved fixed
2011-06-20 16:17:34 -07:00
alena bc1d199353 bug 10219: Untagged vlan ranges in Public network should have the same subnet
status 10219: resolved fixed
2011-06-20 16:15:37 -07:00
Kelven Yang 50c1652172 bug 8996: make VMsync to track host change 2011-06-20 16:13:46 -07:00
Kelven Yang 7279dad925 bug 8996: make VMsync to track host change 2011-06-20 16:12:33 -07:00
Sheng Yang be216bf975 bug 9154: Add redundancy capability to VirtualRouterElement
Also move redundancy checking to VirtualRouterElement
2011-06-20 14:47:22 -07:00
Sheng Yang 470c80a2c6 bug 9154: Update addVirtualMachineIntoNetwork to accept routers as parameter 2011-06-20 14:47:22 -07:00
alena 1f087371e0 bug 9620: fixed updateUser api to make updates only for the fields that are specified in the request
status 9620: resolved fixed
2011-06-20 11:48:32 -07:00
Alex Huang e4f42d0e52 bug 10368: Print out the hash code of the db connection instead of the toString(). Changed the transaction in changeToStart() method to be of a shorter interval so it won't cause so many db connection exceptions 2011-06-20 11:30:23 -07:00
alena 5fe49efc9f bug 9743: respect id/accountName/domainId parameters when call is executed by the regular user
status 9743: resolved fixed
2011-06-20 11:22:23 -07:00
alena 3671ff63f2 bug 9723: fixed listServiceOfferings to work right with isSystem/domainId parameters
status 9723: resolved fixed
2011-06-20 10:51:33 -07:00
alena 62516b00cf bug 9642: listVms by regular user using domainId parameter will work only when domainId specified is the domainId the caller belongs to.
status 9642: resolved fixed
2011-06-20 10:32:19 -07:00
alena f1339d4d6d bug 9991: do account permission check in getCloudIdentifier api
status 9991: resolved fixed
2011-06-20 10:16:16 -07:00
alena 6a12a1c3cf bug 10359: don't allow system network deletion
status 10359: resolved fixed
2011-06-20 09:30:44 -07:00
Abhinandan Prateek 79e38f0a1f 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:11:50 +05:30
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 30ba637a04 bug 10313: on trying to delete a default offering throw error 2011-06-19 15:12:16 +05:30
Abhinandan Prateek 94a278a638 bug 10313: on trying to delete a default offering throw error 2011-06-19 15:07:45 +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
Abhinandan Prateek db29a56eaf bug 10313: marking default system offering as default so that they should not be deleted
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
Kelven Yang cf26f107a7 bug 9485: allow configurable ethernet card type in VMware. this is a short-term solution to fullfill customer's request, in longer term, we need to allow custoer select appropriate adapter type at per-NIC basis 2011-06-17 18:02:59 -07:00
Kelven Yang f5b5e750c8 bug 10350: vmware.additional.vnc.portrange.start and vmware.additional.vnc.portrange.size configuration variables are added 2011-06-17 18:02:48 -07:00
Kelven Yang 723a85c084 bug 10349: save pod_id along with host_id in state transition 2011-06-17 18:02:36 -07:00
Kelven Yang 287274ccea bug 9485: allow configurable ethernet card type in VMware. this is a short-term solution to fullfill customer's request, in longer term, we need to allow custoer select appropriate adapter type at per-NIC basis 2011-06-17 17:58:43 -07:00
Kelven Yang 1739240287 bug 10350: vmware.additional.vnc.portrange.start and vmware.additional.vnc.portrange.size configuration variables are added 2011-06-17 17:58:43 -07:00
Kelven Yang 6cd178de8b bug 10349: save pod_id along with host_id in state transition 2011-06-17 17:58:43 -07:00
Alex Huang 9d4311cc0a bug 10352: fixed the issue. I mistakenly threw an exception when I was not suppose to 2011-06-17 17:18:28 -07:00
alena d1bee20b4a Validate network domain in upateNetwork command 2011-06-17 16:58:21 -07:00
alena bb5eaf2f02 bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
status 9894: resolved fixed
2011-06-17 16:09:56 -07:00
Alex Huang 36ee97334b bug 10352: fixed the issue. I mistakenly threw an exception when I was not suppose to 2011-06-17 17:18:04 -07:00
alena 9fa2e68be6 Validate network domain in upateNetwork command 2011-06-17 16:59:15 -07:00
Alex Huang a5264297ed bug 10341: propagate fix for concurrentoperationexception from 2.2.8 2011-06-17 08:46:41 -07:00
Edison Su 240ca7f1f0 bug 10303: don't show system vm template for templatefilter == (self and feature)
status 10303: resolved fixed
2011-06-17 10:49:27 -04: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
alena 31647e299e Use different method for getting component locator in EncodedStringTypeAdapter 2011-06-16 17:26:29 -07:00
Edison Su ad5162ef86 fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped 2011-06-16 19:26:24 -04:00
alena f0e7d5e7ce Use different method for getting component locator in EncodedStringTypeAdapter 2011-06-16 17:24:35 -07:00
Kelven Yang 2a6307f272 1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled 2011-06-16 16:22:11 -07:00
alena 3098db2b31 bug 9871: deployVm - check network's zone when do vm deployment
status 9871: resolved fixed
2011-06-16 16:00:45 -07:00
alena fc28a332c5 bug 10271: don't include removed records when search for local storage pool
status 10217: resolved fixed
2011-06-16 16:00:45 -07:00
Sheng Yang d5ff0dfa12 bug 9154: Update NetworkOfferingVO field 2011-06-16 14:29:34 -07:00
alena 40d4bbeb11 bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
status 10088: resolved fixed
2011-06-16 12:14:55 -07:00
alena cad16ed27f bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:49:40 -07:00
alena c0bca3c24d bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
status 10088: resolved fixed
2011-06-16 12:17:51 -07:00
alena 57e4af6fd5 bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:47:54 -07:00
Murali Reddy 00bd79ffee bug 9419: implement api to reset resource count
adding couple of fixes
2011-06-16 19:01:03 +05:30
Murali Reddy c7e347e9a4 bug 9419: implement api to reset resource count 2011-06-16 19:00:42 +05:30
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
Murali Reddy 7ce2f0362f bug 9419: implement api to reset resource count
adding couple of fixes
2011-06-16 17:38:20 +05:30
Abhinandan Prateek afdb2f0871 bug 8962: moving vm: checked for basic networks 2011-06-16 15:11:42 +05:30
Kelven Yang 464d793754 1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled 2011-06-15 18:37:38 -07:00
alena ebd0382ea8 ApiResponseSerializer - no need to use reflection to get the field value 2011-06-15 17:41:09 -07:00
alena ad9302dac6 ApiResponseSerializer - no need to use reflection to get the field value 2011-06-15 17:40:02 -07:00
alena 695041ad27 Fixed the bug in updateUser api - api/secretKey update didn't work correctly when request was signed using apiKey 2011-06-15 15:04:59 -07:00
Sheng Yang 9466106c40 bug 9154: Add isRedundantRouter to DomainRouterResponse 2011-06-15 14:39:28 -07:00
Edison Su 83f0623f30 bug 10205: download user upload template for each local secondary storage
status 10205: resolved fixed
2011-06-15 16:41:51 -04:00
alena cab765f85e Fixed the bug in updateUser api - api/secretKey update didn't work correctly when request was signed using apiKey 2011-06-15 15:02:07 -07:00
Sheng Yang 1616084f47 bug 9154: Code clean up 2011-06-15 12:15:28 -07:00
Edison Su dca3405b8b bug 10293: don't destroy volume if it's not created
status 10293: resolved fixed
2011-06-15 14:38:37 -04:00
Edison Su 2e8d1bbd6c bug 10190: add log if failed to delete host when host is in UP state 2011-06-15 12:02:31 -04:00
Abhinandan Prateek 3429b6cde4 bug 8962: tested vm move from one account to another, successfully restarted 2011-06-15 17:55:03 +05:30
kishan 7a810d1df1 bug 7451: Added network offering action events
status 7451: resolved fixed
2011-06-15 16:56:18 +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 675ffe23e8 bug 8879: Send network usage command for domain routers in Running state only
status 8879: resolved fixed
2011-06-15 14:13:50 +05:30
kishan 090506d7f7 bug 9197: Added delete volume usage event when volume creation fails
status 9197: resolved fixed
2011-06-15 12:40:23 +05:30
kishan 8d87cf3506 bug 6770: Alert will be sent when deploying User VM fails
status 6770: resolved fixed
2011-06-15 12:40:23 +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
kishan 22577363ca bug 8373: Added new API listEventTypes 2011-06-15 12:40:23 +05:30
kishan 2c24002de9 bug 8699: Added event for glabal config update
status 8699: resolved fixed
2011-06-15 12:40:23 +05:30