Commit Graph

17062 Commits

Author SHA1 Message Date
Edison Su 96bb6a7b7c fix NPE that template was deleted 2011-03-09 15:27:06 -05:00
Kelven Yang a5816ce48e bug 8911: getjar URL was actually deprecated, console proxy download should be gone through ConsoleProxyAjaxResourceHandler which contains security check aganst the attack specified in the bug report 2011-03-09 14:51:27 -08:00
Kelven Yang 8cab7c3188 Enable JMX on tomcat config 2011-03-09 14:25:47 -08:00
prachi 34836aaaa5 Merging 2.1.8 fix to master : Bug 8801 - reserve some space for snapshots
StoragePoolAllocators need to respect storage.capacity.threshold in allocations - this was broken after StatsCollector started maintaining the primary storage Stats separately
Fixed allocator to refer the correct in-memory stats map.
2011-03-09 13:46:25 -08:00
alena a0d79bda91 bug 8931: get account information for Action even from IP object, not from the Caller
status 8931: resolved fixed
2011-03-09 13:32:36 -08:00
alena 0c04007e04 bug 8734: search by keyword in listPublicIpAddresses command
status 8734: resolved fixed
2011-03-09 13:32:36 -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
alena 5129df106b bug 8847: createUser api - "account" parameter is required now
status 8847: resolved fixed
2011-03-09 10:21:50 -08:00
Edison Su 670afd2331 bug 8875: add new management cidr configuration for vmware: if there are multiple management servers, each of them may talk to domR, so that means domR needs to know the routing to all the mgt servers.
status 8875: resolved fixed
2011-03-09 10:20:05 -05:00
Edison Su ccab6c21c4 fix bug when one of template was deleted, then delpoyvm, got NPE 2011-03-09 10:20:05 -05:00
Edison Su c4ac92af3f fix destroy snapshot 2011-03-09 10:20:05 -05:00
prachi 3624fee85d Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile.
However in case of createVolume from Snapshot, there is no VM associated. So VM passed is null and this can cause a NPE.

Allocators hardly use the VM instance. LocalStoragePoolAllocator was mainly using it for checking if host has capacity. But it need not do this check, since that is done by HostAllocators anyway.
So removing the use of VM in StoragePoolAllocators.
2011-03-09 10:12:04 -08:00
alena 7668e1878a bug 8898: allow service offering upgrade for Running vm 2011-03-09 10:03:26 -08:00
alena e2de70f363 bug 8884: deleteUser - id is required parameter
status 8884: resolved fixed
2011-03-09 09:44:50 -08:00
alena e25fbe3a89 bug 8885: enableAccount - account/domainID are required parameters now
status 8885: resolved fixed
2011-03-09 09:31:39 -08:00
alena a50950bbef 221 to 222 DB upgrade for InstanceGroup. Unit test is included 2011-03-09 08:34:08 -08:00
anthony c013d0a6c6 fixed unit test 2011-03-08 20:04:28 -08:00
anthony 5781aafdcb fixed upgrade unittest 2011-03-08 18:24:11 -08:00
anthony 9e9ec24c70 remove snapshot_policy_ref index 2011-03-08 18:03:16 -08:00
Frank 469280866d Bug 8208 - bare metal provisioning
able to add external DHCP server
2011-03-08 17:29:33 -08:00
anthony b32e8f23a6 bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
Kelven Yang 33b3333d65 Add JMX support to async job management, active job details will be checked in jConsole 2011-03-08 16:34:17 -08:00
nit 47882e9809 bug 7433: In case of multiple zones deleting a tempate from a zone doesn't prevent a user from selecting it to deploy the VM in the same zone. It was still visible in the listTemplates. Made change to check for template_zone_ref and template_host_ref removed and destroyed columns. During deployVM disallow a vm to be deployed from a template that has been removed in the zone. 2011-03-08 15:41:10 -08:00
alena fe267c2cb2 Basic zone 221 to 222 DB upgrade. Unit test is included 2011-03-08 15:32:55 -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
Frank 20a7d95c06 Bug 8208 - bare metal provisioning
make an individual package and move to premium
2011-03-08 10:45:50 -08:00
Frank 5517046a66 Bug 8208 - bare metal provisioning
throw exception when pxe server is not per pod
2011-03-08 10:05:58 -08:00
alena 5842392ec1 bug 8146: Multiple network case (default network is Virtual) - for Direct networks dhcp servers set dns to the eth0 ip address of the domR belonging to virtualNetwork
bug 8146: resolved fixed
2011-03-07 19:56:25 -08:00
anthony 0c2a639a2d bug 6772: use vhd-util to coalesce snapshots into primary storage
status 6772: resolved fixed
2011-03-07 19:47:29 -08:00
anthony b8e03aca4c script fix 2011-03-07 19:47:29 -08:00
anthony a9c36d7b79 use new vhd-util for xenserver 2011-03-07 19:47:29 -08:00
anthony 8e334107f0 remove timestamp check for vhd-util check 2011-03-07 19:47:29 -08:00
anthony e01ca05208 copy_vhd_from_secondarystorage implement coalesce 2011-03-07 19:47:29 -08:00
anthony 79dacfacb5 Revert "make vhd-util cross build work"
This reverts commit c26de0b3e1.
2011-03-07 19:47:28 -08:00
Kelven Yang 13c5a4ebcf forget to add new files in 2011-03-07 19:43:37 -08:00
Kelven Yang d0892a964d Add JMX monitoring to cluster management 2011-03-07 18:40:33 -08:00
Alex Huang 35275c1615 added user ip address upgrade 2011-03-07 17:53:43 -08:00
Chiradeep Vittal 20045b3664 bug 8892: accept nameserver configurations on non-default networks. this is because if dnsmasq sends no nameservers, dhclient deletes all entries from resolv.conf. the MS will send the eth0 ip of the dhcp server / virtual router on the default network as the nameserver on the non-default networks 2011-03-07 17:04:45 -08:00
Kevin Kluge 69c4a59696 resolved fixed: 8853
update to handle multiple NICs and non-virtual-networking cases.
2011-03-07 13:26:01 -08:00
Kevin Kluge 3395c566f9 set version to 2.2.2 2011-03-07 11:35:55 -08:00
Kelven Yang 5dcc70c8d2 1) Add new code-signing certificate (signed under Cloud.com)
2) Rename vmops->Cloud in places that have customer exposure
2011-03-07 11:15:00 -08:00
David Nalley 7fa8ad1b1d bug 8693: adding dist tag to spec file.
status 8693: closed fixed
2011-03-07 13:45:14 -05:00
alena b20fafeaa4 bug 8874: rebootVm - don't try to implement already implemented network
status 8874: resolved fixed
2011-03-07 10:23:48 -08:00
alena 94fb0612f2 Fixed DB upgrade script - vm_type field can be NULL
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang bda3264a77 networks are generated now from the domr 2011-03-04 18:07:26 -08:00
Alex Huang f7ea6e17cd break upgrade fix upgrade 2011-03-04 18:07:26 -08:00
Alex Huang 2d58d85a89 break upgrade fix upgrade 2011-03-04 18:07:26 -08:00
nit 7c127bf096 bug 8824: remove capacity entry when deleting secondary storage.
status 8824: resolved fixed
2011-03-04 17:40:43 -08:00
Kelven Yang cbb5aa0e89 Allow to query management server node alive status 2011-03-04 17:39:26 -08:00