Marcus Sorensen
95364a4022
CLOUDSTACK-5531
...
Initial support for vhd, raw, vmdk image formats on KVM. Tested all formats with local and CLVM.
2013-12-16 14:32:51 -07:00
Alex Huang
be5e5cc641
All Checkstyle problems corrected
2013-12-12 12:26:07 -08:00
Alex Huang
d620df2bdd
Reformatted all of the code.
2013-11-21 06:15:26 -08:00
Alex Huang
224f479974
Removed trailing spaces
2013-11-21 04:08:01 -08:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Min Chen
99ead3419c
Fix S3 system vm start issues caused by recent storage refactor work.
2013-11-02 22:30:10 -07:00
Chris Suich
dad27aaf40
Fixed bug with snapshotting failing as 'not implemented'
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-10-17 16:58:38 -07:00
Marcus Sorensen
a504c004bf
CLOUDSTACK-4887: Fix CLVM template download from storage refactoring work
2013-10-17 17:47:11 -06:00
Min Chen
25acfbad78
CLOUDSTACK-4816:provide configurable option to choose single vs
...
multipart upload to S3 object storage based on object size.
2013-10-17 10:28:59 -07:00
Min Chen
f1895ea39a
CLOUDSTACK-4816: Make S3 upload multipart or singlepart configurable.
2013-10-04 18:21:25 -07:00
Chris Suich
180cfa19e8
Refactor Storage Related Resource Code
...
These changes are a joint effort between Edison and I to refactor some
of the code around snapshotting VM volumes and creating
templates/volumes from VM volume snapshots. In general, we were working
towards allowing PrimaryDataStoreDrivers to create snapshots on primary
storage and not requiring the snapshots to be transferred to secondary
storage.
High level changes:
-Added uuid to NfsTO, SwiftTO & S3TO to cut down on the requirement of
PrimaryDataStoreTO and ImageStoreTO which don't really serve much of a
purpose
-Initial work towards enable reverting VM volume from snapshots
-Added hypervisor commands for introducing and forgetting new hypervisor
objects (snapshots, templates & volumes)
Signed-off-by: Edison Su <sudison@gmail.com>
2013-10-04 13:06:42 -07:00
Darren Shepherd
aed5e9dc2a
Add Manage Context framework
...
The managed context framework provides a simple way to add logic
to ACS at the various entry points of the system. As threads are
launched and ran listeners can be registered for onEntry or onLeave
of the managed context. This framework will be used specifically
to handle DB transaction checking and setting up the CallContext.
This framework is need to transition away from ACS custom AOP to
Spring AOP.
2013-10-02 13:09:52 -07:00
Hugo Trippaers
4945d465bf
Check all warnings in core and fix where applicable, also apply autoformatting on save.
2013-09-21 16:15:36 +08:00
Edison Su
45b35aaeef
CLOUDSTACK-4398: get physical size of template if the template is stored in S3
2013-08-19 17:52:28 -07:00
Kishan Kavala
b0c67a3cc5
CLOUDSTACK-4295 : Template Physical size is stored as size in template.properties. physicalsize param does not exist in template.properties
2013-08-14 17:34:14 +05:30
Edison Su
36c7a56d12
CLOUDSTACK-4073: fix s3 on vmware
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
2013-08-05 20:23:01 -07:00
Edison Su
ae534388c0
CLOUDSTACK-3852: fix upload volume
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java
server/src/com/cloud/template/TemplateManagerImpl.java
2013-07-29 11:50:16 -07:00
Alex Huang
a4cea4ebf2
Removed schema from the dependency of many components
2013-07-29 10:55:19 -07:00
Edison Su
7f200d966e
CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot
2013-07-24 19:06:30 -07:00
Edison Su
be3883b678
fix create template from snapshot if it's swift
2013-07-24 09:48:07 -07:00
Min Chen
2849f8117f
CLOUDSTACK-3570:Vmware - Template downloads are getting re-initiated
...
every time management server is restarted.
2013-07-16 18:00:10 -07:00
Prasanna Santhanam
085e8838e4
Fix typo in backupSnapshotCommand
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Min Chen
f0ebb0596d
CLOUDSTACK-3027:Object_Store_Refactor - Uploaded template S3
...
content-type is not appropriate
2013-06-19 16:50:27 -07:00
Min Chen
1df4cf839e
CLOUDSTACK-3028: Object_Store_Refactor - S3 reduced redundancy storage
...
should be an option.
2013-06-17 11:49:33 -07:00
Min Chen
0acce2c518
Remove extra / for template install path during sync.
2013-06-14 15:14:41 -07:00
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Min Chen
4e404953ad
Support Multi part upload for S3 using TransferManager.
2013-06-05 09:40:33 -07:00
Anthony Xu
56535a7a83
zero size of template/volume being registered causes infinite loop on SSVM,
...
the fix is if the size is 0, return success without download
2013-05-29 15:18:20 -07:00
Min Chen
f5732fe3bf
Consolidate code to use UriUtils.validateUrl instead of repeating code
...
several places.
2013-05-21 16:50:02 -07:00
Edison Su
a0c3d280b4
merge to master
2013-05-15 00:40:53 -07:00
Edison Su
879a954b98
delete snapshot at the backend
2013-05-14 21:58:07 -07:00
Edison Su
68ffe1c706
fix bug in create volume from snapshot
2013-05-14 16:38:02 -07:00
Min Chen
3424ac86ad
Fix size issue for template created from snapshot.
2013-05-13 17:45:22 -07:00
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30
Alex Huang
342624e0eb
Merged with head
2013-05-10 16:33:57 -07:00
Alex Huang
3047929367
Merged
2013-05-10 16:21:43 -07:00
Edison Su
15fc4e137d
add license header
2013-05-10 11:40:11 -07:00
Edison Su
42e25a22fc
refactor kvm/vmware resource code
2013-05-09 23:10:05 -07:00
Min Chen
a83b87b7e5
Set template size for S3 template downloader.
2013-05-09 22:49:14 -07:00
Min Chen
f965e2d892
Download system template while adding S3 image store is working.
2013-05-09 21:49:12 -07:00
Min Chen
292e77b96b
Fix marvin test to add S3 image store and cache storage.
2013-05-09 16:19:06 -07:00
Min Chen
8ad517c028
Append template unique name for S3 key for template sync.
2013-05-08 17:58:52 -07:00
Min Chen
dc5d2f45e9
Make copyFromS3ToNFS flow work.
2013-05-08 17:39:46 -07:00
Min Chen
3b45bc9c30
Make S3 register template work.
2013-05-08 11:12:26 -07:00
Edison Su
ac7be218d5
creat template from volume/snapshot, and then create vm from template works now
2013-05-07 20:18:19 -07:00
Edison Su
5aeca646ae
make create template from volume/snapshot work
2013-05-07 20:18:19 -07:00
Min Chen
3315b23595
Relax url port validation and some MockLocalNfsSecondaryStorageResource
...
fix.
2013-05-07 13:34:27 -07:00
Min Chen
f5d5526d41
Fix unit test to test NFS template download flow.
2013-05-06 18:02:52 -07:00
Alex Huang
f6913b5088
Removed files that are no longer used and further separated out the files in the core project
2013-05-06 16:34:21 -07:00
Alex Huang
ad2777c547
Moved agent commands to core and out of api
2013-05-06 16:34:20 -07:00