344 Commits

Author SHA1 Message Date
Kris McQueen
2740ba6c40 final merge of master->2.1.refactor preparing for merge back into master 2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2 more changes for refactor 2010-10-12 07:17:47 -07:00
anthony
8daf888f83 don't need to execute pif.plug, merge from 2.1.x 2010-10-07 17:23:04 -07:00
edison
3028dab141 fix systemvm template in direct attached mode, guest vm can't get gateway and dns server 2010-10-07 16:32:46 -07:00
anthony
cbdfc10673 change config.getValue 2010-10-06 19:36:51 -07:00
Kris McQueen
5fa6ff7fe4 Manual snapshots won't have an async job id, the job id gets set when the recurring snapshots get scheduled for execution. If the policy id is MANUAL, don't search for a job id. 2010-10-06 18:24:19 -07:00
anthony
48f1264a80 bug 6446: do not pass private, guest, public network in host_detail to CitrixResourceBase.configure
status 6446: resolved fixed
2010-10-06 18:16:19 -07:00
Alex Huang
9d1270b35f console proxy started completely and running 2010-10-06 17:22:35 -07:00
anthony
dc7a723660 backport from 2.1.x 2010-10-06 17:01:04 -07:00
Alex Huang
94a26d2038 Still needs to add mac address allocation but basically console proxy is started and running 2010-10-06 10:18:09 -07:00
edison
139ff273ff fix systemvm template for kvm, using chiradeep's latest debian template 2010-10-05 20:41:39 -07:00
Kris McQueen
9c593352d0 Fixing events for async jobs so that there's a scheduled event recorded with appropriate type/description whenever the API framework schedules the async command to run. A few miscellaneous fixes as well uncovered during regression testing (router response was not parsed correctly by UI, etc.) 2010-10-05 20:26:18 -07:00
anthony
6ae0bc596a try host.destroy after pool.eject 2010-10-05 18:26:36 -07:00
Alex Huang
5f88268ef2 console proxy vm is now started but it is not reading the disk correctly 2010-10-04 17:59:06 -07:00
edison
aaaa5dc3ad bug 6379: add ListHypervisors cmd to list all the supported hypervisors.
status 6379: resolved fixed

The supported hypervisors are controlled by hypervisor.list in configuration table
2010-10-04 16:55:25 -07:00
Kelven Yang
5f3bb36650 1) Merge following change from 2.1.X
Add time stamped ticket to console access URL to make it more secure

2) Fix a problem caused by the inconsistency of using different path seperator between windows platform and linux platform
2010-10-04 15:31:05 -07:00
edison
d370ae6a32 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-10-04 14:48:40 -07:00
edison
3d9f25e903 bug 1974: add upgraderoutercmd to upgrade router vm's service offering
status 1974: resolved fixed
It's a synced API, which just update router vm's service offering,
parameter: router id, service offering id,
return: ture on successfull, otherwise false
2010-10-04 14:45:28 -07:00
Alex Huang
652d86956c more files checked in 2010-10-04 12:04:59 -07:00
alena
136060e5cf 1) Finished XmlApiDoc writer. The program gets api classes from commands.properties.in file, and build Command objects with "name"/"description"/"request"/"response" fields. Request and response are represented by the list of arguments, each argument contains "name"/"description"/"isrequired" fields. The commands are being serialized to commands.xml using imported xstream library, and can be desiarialized later - it will help to compare commands from differemt product versions.
2) Added description() methods to Implementation and Param annotations.
2010-10-04 09:50:14 -07:00
anthony
21d523402f in premium, use async vdi.copy API, avoid time out 2010-10-01 17:22:07 -07:00
anthony
f433a4d360 bug 6363:
1. delete local storage when delete host
    2. delete host detail when delete host
    3. allow one host in maintance mode in a cluster instead of in a pod

    status 6363: resolved fixed
2010-10-01 10:40:08 -07:00
edison
b441deec94 Need to set all the system vms as read state 2010-09-30 20:39:34 -07:00
edison
b467faf826 fix typo about guest os mapping 2010-09-30 18:37:08 -07:00
edison
23e0b2ce29 bug 6365: xenserver and xcp need different guest os mapper
status 6365: resolved fixed
2010-09-30 18:18:49 -07:00
anthony
2c5723d26c bug 6329: skip removed storage pool
status 6329: resolved fixed
2010-09-30 12:40:53 -07:00
edison
26807bc701 bug 6362: Need to call guestos.getDisplayName to the guest os name now.
status 6362: resolved fixed
2010-09-30 12:26:37 -07:00
edison
7615f569ff after rebase, fix bugs 2010-09-29 18:41:55 -07:00
edison
ad1ef80459 Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
edison
6fc7528809 create data volume is splitted into two stage:
1. create a volume entry in the database,
2. when user attaching the volume to a VM, then actually create the volume on storage pool.
2010-09-29 18:41:54 -07:00
edison
ccf629360a Sometimes, the permission of secondary-stoarage/templates is 755, no-writable.
Fix it by "chmod 777 -R" for secondary storage
2010-09-29 18:41:54 -07:00
edison
964f8f1fe3 fix boot from iso 2010-09-29 18:41:54 -07:00
Kelven Yang
478f41ec48 Do not delete OVA file after download to avoid repeated downloading 2010-09-29 18:41:53 -07:00
edison
9e0f57bc0e change code for new UI 2010-09-29 18:40:52 -07:00
edison
8943cc6745 create volume
Conflicts:

	api/src/com/cloud/vm/VmCharacteristics.java
	core/src/com/cloud/dc/ClusterVO.java
	core/src/com/cloud/server/ManagementServer.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
Kelven Yang
86d59bdddd Implement CreateVolume/AttachVolue for vmware 2010-09-29 18:40:51 -07:00
Kelven Yang
72e8b767fe Mount secondary storage as a datastore to implement ISO attachment 2010-09-29 18:40:50 -07:00
Kelven Yang
f81491d5bd Fixes to VmdkProcessor 2010-09-29 18:40:50 -07:00
Kelven Yang
b262e0ec2c add vmware template post-processing 2010-09-29 18:40:50 -07:00
Kelven Yang
d33d1a632d Switch from VMDK to OVA on vmware image format 2010-09-29 18:40:50 -07:00
edison
3aef9f408e step1 2010-09-29 18:40:47 -07:00
edison
211b4c5da2 hybrid 2010-09-29 18:40:47 -07:00
anthony
43bd6d1d2d remove guestOS list 2010-09-29 17:23:38 -07:00
anthony
bca96b1079 pass guest OS name instead of guest ID when start system VM 2010-09-29 17:18:27 -07:00
anthony
be5fa82229 remove snapshotpolicyRef 2010-09-29 16:24:57 -07:00
anthony
5b75f8e03b bug 6365: find policy from volumeId instead of snapshotID
status 6365: resolved fixed
2010-09-29 15:25:46 -07:00
abhishek
cd42fcc1bf some code refactoring 2010-09-29 11:17:42 -07:00
anthony
319d4f1aa0 snapshot redesign
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -07:00
abhishek
72cb2ce4ca test checkin 2010-09-28 18:11:36 -07:00
Kris McQueen
848ce60097 Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework. 2010-09-28 15:47:14 -07:00