Alex Huang
433a631916
Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code.
2013-11-21 07:56:47 -08:00
Hugo Trippaers
cf715ff491
Bump 4.3.0 to 4.4.0 in master
2013-11-21 16:01:15 +01: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
e4b22d0fca
Replace all tabs, particularly the ones in the comments
2013-11-21 03:39:58 -08:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Darren Shepherd
891b85d516
Add missing licenses
2013-10-23 15:20:08 -07:00
Darren Shepherd
e3280bdba2
Merge remote-tracking branch 'origin/spring-modularization'
...
Conflicts:
client/tomcatconf/applicationContext.xml.in
client/tomcatconf/nonossComponentContext.xml.in
client/tomcatconf/simulatorComponentContext.xml.in
framework/db/src/com/cloud/utils/db/Transaction.java
plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockAgentManagerImpl.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-10-23 11:14:42 -07: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
Hugo Trippaers
71dc43ebb0
Remove duplicate scripts and move the remaining items to the systemvm project
2013-10-14 08:02:35 +02: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
67186429e1
Spring Modularization
...
ACS is now comprised of a hierarchy of spring application contexts.
Each plugin can contribute configuration files to add to an existing
module or create it's own module.
Additionally, for the mgmt server, ACS custom AOP is no longer used
and instead we use Spring AOP to manage interceptors.
2013-10-02 15:41:04 -07:00
Hugo Trippaers
15a97ec412
Cleanup pom.xml in various projects to properly use managed versions and other defaults
2013-09-21 17:21:06 +08:00
Hugo Trippaers
17977b426b
Forgot to add a few items to the commit to move the systemvm
2013-09-20 18:52:47 +08:00
Donal Lafferty
e958f22ff3
CIFS support for secondary storage is documented here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CIFS+Support
...
It was implemented by extending the NFS provider. Its validation was updated so that you can pass it a URL containing the
details of a CIFS share. The code that mounts NFS shares was extended to allow it do the same for CIFS shares. Otherwise,
the secondary storage code is left unchanged.
2013-09-11 14:23:29 +05:30
Min Chen
b11a8e12e8
CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
...
storage after create template from snapshot on S3.
2013-09-06 17:48:40 -07:00
Min Chen
bf83efcf4b
CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
...
staging storage after successfule volume migration, specially handle
DeleteVolume command for Vmware volume structure in secondary storage.
2013-09-06 14:39:03 -07:00
Min Chen
49dd7289c0
CLOUDSTACK-4468:template created from snapshot is destroyed once we
...
restart management server.
2013-08-26 11:58:53 -07:00
Wido den Hollander
a5c10767d6
CLOUDSTACK-4249: Do not assume KVM snapshots are in QCOW2 format
...
RBD snapshots are in RAW format and are stored as such on Secondary Storage.
When creating a template from such a snapshot, honor the image format passed
down by the management server and act on that.
The old code simply assumed it always was QCOW2.
2013-08-21 17:12:30 +02: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
Min Chen
c675f826e5
CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied
...
to Staging storage during snapshot creation.
2013-08-14 18:12:53 -07:00
Min Chen
67beef15c9
CLOUDSTACK-3706:[Object_Store_Refactor] Failed to create template from
...
stopped guest vm's root disk.
2013-08-14 13:11:06 -07:00
Kishan Kavala
21831211f6
CLOUDSTACK-4295 : TemplateTO should contain physical size along with virtual size. Usage ignores templates with size 0
2013-08-14 17:34:05 +05:30
Edison Su
1a6b7d6714
CLOUDSTACK-4216: fix extract volume for kvm
2013-08-12 17:20:15 -07:00
Edison Su
9a89fd94fc
CLOUDSTACK-4211: fix s3 on kvm
2013-08-12 17:20:09 -07:00
Alex Huang
5495f10bce
Revert "Reverting the range of commits that broke the build"
...
This reverts commit b59e3aaefced03d40d5b4b63c421c69743bcd387.
2013-08-08 15:02:40 -07:00
Prasanna Santhanam
b59e3aaefc
Reverting the range of commits that broke the build
...
This reverts commits 30c33415..f6a2c817bc
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 14:46:56 +05:30
Alex Huang
942f282a6e
Moved config into it's own package
2013-08-07 16:41:02 -07:00
Donal Lafferty
25fa21f190
Get QuickCloud working again
...
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-08-07 11:22:32 -07:00
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
Alex Huang
66cca4d9ac
Fixed up the pom.xml to use dependencies specified in cloudstack pom
2013-08-02 13:51:47 -07:00
Chip Childers
8225374138
Updating pom.xml version numbers for release 4.3.0-SNAPSHOT
...
Signed-off-by: Chip Childers <chipchilders@apache.org>
2013-08-01 10:35:00 -04:00
Min Chen
42da3efbc3
CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code.
2013-07-29 14:31:33 -07:00
Edison Su
86d919eee2
CLOUDSTACK-2481: the wait is in seconds in copycommand
2013-07-25 10:32:14 -07:00
Edison Su
80ac885e22
CLOUDSTACK-2304: fix migrate volume for vmware
2013-07-24 19:06:42 -07:00
Min Chen
44cae46014
CLOUDSTACK-3741: generate template.properties so that KVM processor will
...
not fail with FileNotFound.
2013-07-24 17:51:28 -07:00
Min Chen
7799f6482f
CLOUDSTACK-3741: a typo in adding .qcow2 extension.
2013-07-24 14:53:00 -07:00
Min Chen
df452ba13a
CLOUDSTACK-3741:Object_Store_Refactor - [KVM] Creation of Template from
...
Snapshot Fails.
2013-07-24 09:49:28 -07:00
Edison Su
d22bea6031
CLOUDSTACK-2630: fix delta snashpt
2013-07-24 09:48:59 -07:00
Edison Su
be3883b678
fix create template from snapshot if it's swift
2013-07-24 09:48:07 -07:00
Min Chen
f8b5a4159b
CLOUDSTACK-3419: [Object_Store_Refactor] Uploaded volume is being
...
deleted while attaching it to guest VM.
2013-07-20 12:16:55 -07:00
Edison Su
bf32776f9f
be able to upload template into swift
2013-07-16 18:07:06 -07:00
Min Chen
9f019ec7c3
CLOUDSTACK-2497: Object_Store_Refactor - Snapshots - Not able to delete
...
snapshots.
2013-07-16 14:42:29 -07:00
Edison Su
8f4575e877
CLOUDSTACK-3400: add swift support
2013-07-13 02:07:15 -07:00
Edison Su
0c1ae20e77
add inital swift support
...
Conflicts:
server/src/com/cloud/resource/ResourceManagerImpl.java
server/test/com/cloud/resource/MockResourceManagerImpl.java
2013-07-13 02:07:03 -07:00
Wei Zhou
521dcbdcc0
CLOUDSTACK-1475: fix RegisterISO error after Update SSL Certificate
2013-07-11 16:08:26 +02:00
Edison Su
e8b0cff1c6
CLOUDSTACK-2658: timeout can't be null
2013-06-14 18:26:20 -07:00
Min Chen
04b5f53392
Removed unused code handling for DeleteSnapshotBackupCommand since we
...
don't send that command anymore.
2013-06-07 17:55:05 -07:00
Min Chen
83b080c4b3
Fix a path bug in s3ListTemplate and s3ListVolume, path should include
...
filename.
2013-06-07 16:48:47 -07:00