prachi 
							
						 
					 
					
						
						
						
						
							
						
						
							ed9a11c6b6 
							
						 
					 
					
						
						
							
							API changes for Bug 3316 - Manual live migration of Virtual Machines  
						
						 
						
						... 
						
						
						
						This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer  will expose new API:
   Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService  will expose a new API:  UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)
------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state 
						
						
					 
					
						2011-03-11 17:49:53 -08: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 
							
						 
					 
					
						
						
						
						
							
						
						
							346ca43714 
							
						 
					 
					
						
						
							
							bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count  
						
						 
						
						... 
						
						
						
						Also fixed couple of other issues:
* usage event generation - generate event only when snapshot is created on primary and backed up on secondary
* zoneId was always set to 0 for snapshot.delete event, fixed this.
* Fixed resource_count decrement for manual snapshot deletion 
						
						
					 
					
						2011-03-10 18:03:06 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							df3704e360 
							
						 
					 
					
						
						
							
							bug 8861: introduced optional zoneId parameter to listNetworkOfferings command  
						
						 
						
						... 
						
						
						
						status 8861: resolved fixed 
						
						
					 
					
						2011-03-09 18:05:53 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							b6ae35728e 
							
						 
					 
					
						
						
							
							bug 8816: 1) return linkLocal instead of private ip/netmask/mac in listRouters 2) return linkLocal/private ip/netmask/mac in listSystemVms response  
						
						 
						
						
						
						
					 
					
						2011-03-09 16:47:46 -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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							5129df106b 
							
						 
					 
					
						
						
							
							bug 8847: createUser api - "account" parameter is required now  
						
						 
						
						... 
						
						
						
						status 8847: resolved fixed 
						
						
					 
					
						2011-03-09 10:21:50 -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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							469280866d 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						able to add external DHCP server 
						
						
					 
					
						2011-03-08 17:29:33 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								anthony 
							
						 
					 
					
						
						
						
						
							
						
						
							5b1a421e62 
							
						 
					 
					
						
						
							
							bug 8712: prepare from snapshot db migration  
						
						 
						
						
						
						
					 
					
						2011-03-08 17:10:27 -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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							3db6d9cad4 
							
						 
					 
					
						
						
							
							Fixed Api doc for create/listNetworks  
						
						 
						
						
						
						
					 
					
						2011-03-04 15:24:54 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kishan 
							
						 
					 
					
						
						
						
						
							
						
						
							a61a92b0fe 
							
						 
					 
					
						
						
							
							bug 8675: Added action events for Domain commands  
						
						 
						
						... 
						
						
						
						status 8675: resolved fixed 
						
						
					 
					
						2011-03-04 16:59:19 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kishan 
							
						 
					 
					
						
						
						
						
							
						
						
							db7a0ddb75 
							
						 
					 
					
						
						
							
							bug 8672: Added action events for User commands  
						
						 
						
						... 
						
						
						
						status 8672: resolved fixed 
						
						
					 
					
						2011-03-04 16:45:49 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							715a929e91 
							
						 
					 
					
						
						
							
							Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone  
						
						 
						
						
						
						
					 
					
						2011-03-03 16:13:00 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							b3ff533244 
							
						 
					 
					
						
						
							
							bug 8795: start domR after corresponding network is shutdown - implement network before starting the domR  
						
						 
						
						... 
						
						
						
						status 8795: resolved fixed
Conflicts:
	api/src/com/cloud/deploy/DeployDestination.java 
						
						
					 
					
						2011-03-02 13:46:57 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							7fa053370e 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						Add bare metal planner 
						
						
					 
					
						2011-03-01 17:47:37 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							53eb46dc2a 
							
						 
					 
					
						
						
							
							Add local storage support for kvm  
						
						 
						
						
						
						
					 
					
						2011-03-01 19:51:43 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							ec7a6e6863 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						Add LinMin username, password, apid fields in AddPxeServerCmd 
						
						
					 
					
						2011-03-01 14:55:22 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							a99029750f 
							
						 
					 
					
						
						
							
							fix NPE when failed to start VM  
						
						 
						
						
						
						
					 
					
						2011-03-01 16:38:18 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							35b7c26689 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						able to start, stop, reboot, destroy VM 
						
						
					 
					
						2011-03-01 11:40:40 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kishan 
							
						 
					 
					
						
						
						
						
							
						
						
							65eaf27c5c 
							
						 
					 
					
						
						
							
							bug 8670, 8672: Added action events for account/user actions  
						
						 
						
						... 
						
						
						
						status 8670: resolved fixed 
						
						
					 
					
						2011-03-01 21:19:34 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							8240ae7e8c 
							
						 
					 
					
						
						
							
							fix migration  
						
						 
						
						
						
						
					 
					
						2011-02-28 12:16:40 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							2705adb3b1 
							
						 
					 
					
						
						
							
							security group is per bridge  
						
						 
						
						
						
						
					 
					
						2011-02-28 12:16:40 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							62b3d548d6 
							
						 
					 
					
						
						
							
							bug 8753: never release public Ip address without ensuring that all corresponding resources (PF/StaticNat/Lb rules) are cleaned up.  
						
						 
						
						... 
						
						
						
						Fixed couple of other problems along:
* when expunge PF/Static nat rules as a part of vmExpunge/IpRelease process, first mark all rules as Revoke, and then send commands to the backend. Group commands by Ip address.
Before we used to do Revoke/Send per rule basis.
* When release source nat rule, make sure that corresponding vpn (if exists) is being expunged. 
						
						
					 
					
						2011-02-28 09:21:05 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							ec76406942 
							
						 
					 
					
						
						
							
							bug 8737: set entityOwnerId for all api commands including non-Async ones  
						
						 
						
						... 
						
						
						
						status 8737: resolved fixed 
						
						
					 
					
						2011-02-28 09:21:05 -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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								abhishek 
							
						 
					 
					
						
						
						
						
							
						
						
							bae62f844d 
							
						 
					 
					
						
						
							
							bug 8742,8216: reverting to use org vol's disk off id whilst creating vol from snapshot. Also changing event generation so that an event is generated @ data vol creation (as opposed to attaching to vm). we will correspondingly generate an event at data vol's deletion  
						
						 
						
						
						
						
					 
					
						2011-02-25 12:00:27 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								abhishek 
							
						 
					 
					
						
						
						
						
							
						
						
							8062d8d273 
							
						 
					 
					
						
						
							
							bug 8725: making disk offering id a reqd param; as we create vol from either 1. disk offering 2. snapshot (which takes in a snapshot id + private disk offering id)  
						
						 
						
						
						
						
					 
					
						2011-02-25 08:41:03 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kishan 
							
						 
					 
					
						
						
						
						
							
						
						
							0b9fa1cc8a 
							
						 
					 
					
						
						
							
							bug 5747: Added action events for system Vms commands  
						
						 
						
						... 
						
						
						
						status 5747: resolved fixed 
						
						
					 
					
						2011-02-25 16:29:16 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								kishan 
							
						 
					 
					
						
						
						
						
							
						
						
							44d60576f9 
							
						 
					 
					
						
						
							
							bug 8606: changed network offering event names. Use Assign/remove instead of create/delete  
						
						 
						
						... 
						
						
						
						status 8606: resolved fixed 
						
						
					 
					
						2011-02-25 15:26:55 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							5035778b1a 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						StartCommand cloud reach to BareMetalResrouce 
						
						
					 
					
						2011-02-24 19:22:34 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							8a40371288 
							
						 
					 
					
						
						
							
							refactor security group in advanced network mode: use direct tagged network instead of public network  
						
						 
						
						
						
						
					 
					
						2011-02-24 19:58:18 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							039b11b9ba 
							
						 
					 
					
						
						
							
							1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.  
						
						 
						
						... 
						
						
						
						2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation 
						
						
					 
					
						2011-02-24 15:36:01 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							f82dec999d 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						complete createVirtualMachine method 
						
						
					 
					
						2011-02-24 14:07:10 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							2e91b702fc 
							
						 
					 
					
						
						
							
							fix createzone parameters  
						
						 
						
						
						
						
					 
					
						2011-02-24 15:35:35 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							cf6d430f66 
							
						 
					 
					
						
						
							
							return security group status per zone  
						
						 
						
						
						
						
					 
					
						2011-02-24 14:16:35 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							b0aabc1b20 
							
						 
					 
					
						
						
							
							bug 8682: implemented search by id in listPortForwardingRules  
						
						 
						
						... 
						
						
						
						status 8682: resolved fixed 
						
						
					 
					
						2011-02-24 09:55:03 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							1f1e393b03 
							
						 
					 
					
						
						
							
							Release vnet during network shutdown for guest networks only  
						
						 
						
						
						
						
					 
					
						2011-02-23 18:50:23 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								alena 
							
						 
					 
					
						
						
						
						
							
						
						
							6424042cac 
							
						 
					 
					
						
						
							
							bug 8659: deleteNetwork is async now  
						
						 
						
						... 
						
						
						
						status 8659: resolved fixed 
						
						
					 
					
						2011-02-23 18:01:33 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Frank 
							
						 
					 
					
						
						
						
						
							
						
						
							828f8c9493 
							
						 
					 
					
						
						
							
							Bug 8208 - bare metal provisioning  
						
						 
						
						... 
						
						
						
						Able to add cluster and host 
						
						
					 
					
						2011-02-23 17:20:43 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							0a1af426df 
							
						 
					 
					
						
						
							
							remove test code  
						
						 
						
						
						
						
					 
					
						2011-02-23 16:01:00 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Edison Su 
							
						 
					 
					
						
						
						
						
							
						
						
							2f284d92b5 
							
						 
					 
					
						
						
							
							fix typo  
						
						 
						
						
						
						
					 
					
						2011-02-23 15:58:24 -05:00