1001 Commits

Author SHA1 Message Date
Frank
92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Kelven Yang
1b9cbd9166 bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing 2011-04-13 15:13:54 -07:00
Kelven Yang
03afe54084 Regression fixes for adding openNew() to Transaction.java 2011-04-11 17:44:31 -07:00
Kelven Yang
149eb0fade Use seperate DB connection to handle cluster management 2011-04-11 16:37:58 -07:00
Frank
105db3b15a Merge branch 'baremetal' to master
modifies:
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/commands/AddHostCmd.java
	api/src/com/cloud/api/commands/CreatePodCmd.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	api/src/com/cloud/dc/Pod.java
	api/src/com/cloud/network/NetworkService.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/dc/HostPodVO.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	setup/db/create-schema.sql
	utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
anthony
288a36d09f Merge branch '2.2.4'
Conflicts:
	api/src/com/cloud/configuration/ConfigurationService.java
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-21to22.sql
	setup/db/db/schema-222to224.sql
	utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
2230c24ab3 check in changes from 2.2.4 2011-04-05 11:01:35 -07:00
Alex Huang
075fba5899 stackmaid is now taskmanager 2011-04-05 10:17:22 -07:00
kishan
5401ee84ba add support to run scripts on usage DB 2011-04-05 16:11:02 +05:30
prachi
204aa86686 Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:39:27 -07:00
prachi
53f8ebf6f0 Bug 9043 - VM manual migration - when destination host is out of memory for migration, VMs being migrated remained in 'migrating' state
Changes:
- When migration fails we try to do cleanup on the destination host agent. The AgentUnavailableException in this cleanup was not caught.
-Due to that other cleanup like reverting capacity allocated and vm state were skipped.
-Fix is to catch the AgentUnavailableException so that rest of the cleanup can happen.
- Also corrected the exceptions in various cases of migration failure.
- In case the VM is still starting, HA should schedule a retry. Introduced a special migration exception for handling this.
2011-04-04 17:30:08 -07:00
Kelven Yang
f14be91167 Apply changes in FOSS because of prioprietary merges 2011-04-01 14:13:38 -07:00
Kelven Yang
6ff40b7e88 allow controllable stack dump in ExceptionUtil.java 2011-03-29 14:04:04 -07:00
Alex Huang
6bd978abfe bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:59 -07:00
Alex Huang
f2e692099e bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache 2011-03-29 11:31:23 -07:00
Kelven Yang
fa0dd8a228 Allow cluster management confliction detection to handle quick manageemnt server restarts 2011-03-28 15:14:51 -07:00
Kelven Yang
359dc18992 Fix possible duplicated JMX registration issue 2011-03-25 15:16:41 -07:00
Kelven Yang
aadeceaf78 Add a DNS name resolution helper 2011-03-22 10:58:22 -07:00
alena
7c1a6e4884 bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left 2011-03-21 18:17:59 -07:00
Kelven Yang
b264866d2e Perform and alert management.network.cidr configuration on management server startup 2011-03-21 16:46:43 -07:00
Alex Huang
093fa851fa made the upgrade utility work with the current version 2011-03-18 10:06:38 -07:00
Alex Huang
d3ecf719ce looks like everything is working except for snapshots 2011-03-18 09:14:05 -07:00
Alex Huang
d50f2dd9c5 added the concept of system integrity checking before starting up the system 2011-03-16 18:00:22 -07:00
Alex Huang
8bec1e0b9f added the concept of system integrity checking before a system starts 2011-03-16 17:59:34 -07:00
Frank
bf6a6f0d57 Bug 8208 - bare metal provisioning
check role before adding role to LinMin
2011-03-14 14:34:00 -07:00
Frank
e872996084 Bug 8208 - bare metal provisioning
get DHCP entry state from DHCP server
2011-03-11 14:09:23 -08:00
Frank
4324efea26 Bug 8208 - bare metal provisioning
able to get IP from external DHCP server
2011-03-11 14:09:23 -08:00
alena
3448513465 bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
Alex Huang
e81f02f9b5 more changes for direct networks 2011-03-09 17:56:11 -08:00
Kelven Yang
a5c21dc130 1) make JMX port configuration in deverloper build, 2) Add property map based dynamic bean 2011-03-09 11:59:13 -08:00
Frank
469280866d Bug 8208 - bare metal provisioning
able to add external DHCP server
2011-03-08 17:29:33 -08:00
Frank
6c819c1491 Merge branch 'bareMetal'
Conflicts:
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	api/src/com/cloud/offering/ServiceOffering.java
	api/src/com/cloud/vm/UserVmService.java
	client/tomcatconf/components.xml.in
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/deploy/FirstFitPlanner.java
	server/src/com/cloud/service/ServiceOfferingVO.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-03-08 14:18:11 -08:00
Kelven Yang
d0892a964d Add JMX monitoring to cluster management 2011-03-07 18:40:33 -08:00
Alex Huang
40db230095 more changes for db upgrade 2011-03-04 11:09:24 -08:00
Kelven Yang
5d3052c05f Add string util function to retrieve exception info 2011-03-04 10:52:56 -08:00
Frank
35b7c26689 Bug 8208 - bare metal provisioning
able to start, stop, reboot, destroy VM
2011-03-01 11:40:40 -08:00
prachi
889827b63a Bug 7845 - Productize DeploymentPlanner
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages

Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
anthony
1970161844 bug 8714: support paraleel recursive snapshot
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume

status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
Frank
a9728998ff Bug 8208 - bare metal provisioning
Successfully add start entry into LinMin PXE server
2011-02-25 18:58:07 -08:00
Alex Huang
378a0da0df more unittest support 2011-02-25 11:58:12 -08:00
Kelven Yang
bd8a1e2c6d Add FileUtil.java 2011-02-17 11:26:34 -08:00
Alex Huang
c6efb2b09d bug 8529: propagated to master. Added junit test support to ant 2011-02-16 17:40:59 -08:00
Alex Huang
6b0d4947ed bug 8529: propagated to master. Added junit test support to ant 2011-02-16 17:40:58 -08:00
alena
6913ed21c5 bug 8572: added more restrictions for network's domain name (see below)
status 8572: resolved fixed

1) As full domain name may not exceed a total length of 253 characters, and host name can be 63 chars long, so don't allow network domain length to exceed 190 chars.
2) Each label can have up to 63 chars
3) The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen.Labels may not start or end with a hyphen.
2011-02-16 15:53:47 -08:00
alena
53adcc64a6 bug 8572: don't allow vm host name to start with digit. Also removed name uniqueness constraint as vm host name doesn't have to be unique even inside the same network 2011-02-16 15:53:47 -08:00
alena
4054d7e2b5 Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables 2011-02-09 19:35:03 -08:00
Edison Su
08285af33f fix capacity caclulation issue after migration 2011-02-09 13:33:42 -05:00
Chiradeep Vittal
711c4eeaae bug 8209,8370,8459: cleanup scripting 2011-02-08 12:10:07 -08:00
Alex Huang
b322fb072f bug 8186: Changed the investigator to use the new networking 2011-02-07 16:04:23 -08:00
Kelven Yang
33d804846f Native HA support improvements 2011-02-04 14:32:18 -08:00