Sateesh Chodapuneedi
7bdf541bd7
CLOUDSTACK-4157 Failure to add zone wide primary storage pool is leaving storage pool in database
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 17:42:13 +05:30
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
f23c7d21a1
CLOUDSTACK-3987: Setting extract.url.expiration.interval is not honored
...
for S3 generated url, which is hard-coded to 1 hour.
2013-07-31 16:30:46 -07:00
Min Chen
42da3efbc3
CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code.
2013-07-29 14:31:33 -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
Devdeep Singh
d06a5bc5f0
CLOUDSTACK-3890. Delting the storage pool is not getting from xenserver. The
...
storage pool entry was removed from the db but the pool wasn't unmounted from
the host. There was a check that if the pool is not in UP state then the entry
can just be removed. That is wrong. A pool can only be removed if it is in
maintenance state. So after putting the pool in maintenance state if admin
tries to delete the pool we just remove the db entry without un-mounting the
storage pool from the host. Removed the incorrect check.
2013-07-29 17:26:55 +05:30
Alex Huang
c2752ba93c
Removed mysql as any dependency
2013-07-26 20:35:48 -07:00
Edison Su
fa358cf01f
CLOUDSTACK-2630: fix delta snashpt
2013-07-24 09:48:41 -07:00
Sanjay Tripathi
6e63f10a4f
CLOUDSTACK-2510: Getting NPE while executinng listStoragePools API command.
2013-07-19 16:02:08 +05:30
Alex Huang
5af61a85ae
Fixed build. Not sure why it didn't come up on my compile before the commit
2013-07-18 22:53:30 -07:00
Mike Tutkowski
5bcb6ec9ca
Changes related to Review Board comments
2013-07-13 23:43:48 -06: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
Vijayendra Bhamidipati
7ea8c5fd9a
CLOUDSTACK-1510: NPE when primary storage is added with wrong path
...
Description:
a) Fixing NPE when wrong path is provided for primary datastore.
b) No error dialog shows up in GUI when wrong path is provided,
after NPE fix - propagating exception upward.
c) If the KVM agent is down, an invalid datastore gets logged in
storage_pool table and doesn't get removed, so it shows up
in the GUI in the list of datastores - fixing this as well.
2013-07-10 14:55:57 -07:00
Mike Tutkowski
06f73092fb
Changes related to Review Board comments
2013-07-09 22:50:14 -06:00
Edison Su
94aa67eae0
fix simulator
2013-07-09 10:42:03 -07:00
Prasanna Santhanam
bd784fb8ec
Include license header for solidfire util
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 16:55:55 +05:30
Edison Su
49ded7e4a3
the plugin better not touch database
2013-06-29 15:09:43 +05:30
Prasanna Santhanam
57641d85f7
Set all templates/volumes to Ready in the simulator
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +05:30
Prasanna Santhanam
fd867d5afa
DataStore - provider, lifecycle, driver implementations for simulator
...
mock implementation to manage secondary storage related operations for
the simulator.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:52:16 +05:30
Prasanna Santhanam
de38cd815f
Fix typo in class name
...
AsyncRpcConext -> AsyncRpcContext
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:50:25 +05:30
Mike Tutkowski
99227f7b3e
SolidFire plug-in and related changes
...
SolidFire plug-in
SolidFire plug-in related
2013-06-28 16:59:21 -06:00
Min Chen
1eb39665bd
CLOUDSTACK-3030: Object_Store_Refactor - Download template from S3
...
should not set template to public-readable.
2013-06-18 09:45:50 -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
Edison Su
a715eb8121
clean up storage related code, and add lru replacement algorithm for cache storage
2013-06-14 15:55:59 -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
66e702222d
Simplify various DeleteTemplateCommnad, DeleteVolumeCommand and
...
DeleteSnapshotBackupCommand to use one DeleteCommand, also provide
BaseImageStoreDriverImpl class for plugin to inherit to avoid code
duplication.
2013-06-06 18:00:38 -07:00
Min Chen
ef03d5a122
Move data store specific extract template/iso logic from
...
TemplateManager to data store driver.
2013-06-04 11:50:43 -07:00
Sateesh Chodapuneedi
7998413f48
CLOUDSTACK-2029 zone wide primary storage support for cloudstack over vmware deployments
...
Added hypervisor type to CreateStoragePoolCmd & Storage pool responses.
DatastoreLifeCycle would consider hypervisor type while attaching datastore to zone.
ZoneWideStoragePoolAllocator would filter zone wide primary storage pools by hypervisor type along with tags in disk profile.
hypervisor type is mandatory parameter if scope is specified as ZONE while creating primary storage pool.
As of now KVM, VMware are allowed to use ZoneWideStoragePoolAllocator.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-01 00:05:27 +05:30
Min Chen
2473ceb111
Have different callback for create template and create volume since they
...
will update different tables.
2013-05-30 17:39:44 -07:00
Edison Su
0a5228922b
clean up storage related coded
2013-05-29 18:04:37 -07:00
Min Chen
8a1a51c6fc
Clean up deleteSnapshot agent command, since snapshot path is already
...
stored in snapshot_store_ref, no need to construct path in resource
side.
2013-05-28 13:36:54 -07:00
Edison Su
0ed441c690
CLOUDSTACK-2637: fix upload volume
2013-05-24 19:00:52 -07:00
Min Chen
d1704a389a
Exclude removed template from template sync.
2013-05-23 17:23:25 -07:00
Min Chen
755b9311a4
Fix some typo.
2013-05-23 10:49:41 -07:00
Min Chen
a4e6784e0b
CLOUDSTACK-2578: NPE in deleting template from S3.
2013-05-21 14:43:32 -07:00
Min Chen
ef541a2a7b
Fix CLOUDSTACK-2538: Add name as an optional parameter for addImageStore
...
api.
2013-05-20 13:39:43 -07:00
Edison Su
879a954b98
delete snapshot at the backend
2013-05-14 21:58:07 -07:00
Min Chen
564d3d6fa0
Fix CLOUDSTACK-2488: Delete iso async job is running forever.
2013-05-14 16:12:49 -07:00
Min Chen
95e7e270d4
Fix the hanging issue in deleting ISO referenced by some user vms.
2013-05-14 14:57:02 -07:00
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30
Edison Su
993187622e
fix compile, after rebase to master
2013-05-10 20:39:02 -07:00
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
42e25a22fc
refactor kvm/vmware resource code
2013-05-09 23:10:05 -07:00
Min Chen
dc5d2f45e9
Make copyFromS3ToNFS flow work.
2013-05-08 17:39:46 -07:00
Min Chen
ac1b75dc9f
Fix a bug in deleteTemplate return result.
2013-05-07 17:58:45 -07:00
Min Chen
8a514ea4b8
Update template size in VMTemplate table.
2013-05-07 17:45:06 -07:00
Min Chen
70f866156f
Fix a bug in updating template_store_ref entry.
2013-05-07 17:45:06 -07:00
Min Chen
26424ff2a8
Make url in AddImageStoreCmd not required since S3 does not have url.
2013-05-06 22:14:49 -07:00
Edison Su
9f7bad2cef
fix creating snapshot
2013-05-06 18:27:15 -07:00
Edison Su
2d544e7127
volume related operation works
2013-05-06 18:27:15 -07:00
Alex Huang
ad2777c547
Moved agent commands to core and out of api
2013-05-06 16:34:20 -07:00
Min Chen
0d78209b73
Address various UI requirements by introducing provider constants.
2013-05-06 15:12:33 -07:00
Min Chen
c60c373a38
Modify DownloadCommand to pass DataTO.
2013-05-02 23:05:19 -07:00
Min Chen
87fafb7287
Add S3 register template integration test.
2013-05-02 15:20:46 -07:00
Min Chen
36c1538f06
Bugfix to make deployDataCenter.py work.
2013-04-30 17:42:48 -07:00
Edison Su
99dcb23b1c
fix build
2013-04-29 19:37:47 -07:00
Edison Su
2f689171e0
refactor snapshot
2013-04-29 18:51:14 -07:00
Edison Su
37cbe8890f
refactor snapshot
2013-04-29 18:51:13 -07:00
Min Chen
5b7ea8b0fe
Remove DeleteObjectFromSwiftCommand, which can be achieved through
...
DeleteTemplateCommand.
2013-04-26 17:52:50 -07:00
Min Chen
c2e9be8d31
Handle DeleteVolumeCommand for S3.
2013-04-26 16:45:11 -07:00
Min Chen
91bfbdf1c4
Handle ListTemplateCommand in NfsSecondaryStorageResource for various
...
data store provider.
2013-04-26 12:25:06 -07:00
Edison Su
4029e7af44
refactor data motion service for volumes
2013-04-24 18:53:57 -07:00
Min Chen
79151f5f5d
Remove sendToSSVM reference from SnapshotManagerImpl and
...
TemplateManagerImpl.
2013-04-24 17:45:32 -07:00
Min Chen
4c174a6867
Fix DeleteSnapshotBackupCommand to pass dataStore information.
2013-04-24 17:30:38 -07:00
Min Chen
792fc471a2
Remove VolumeHostDao references from codebase.
2013-04-24 11:11:58 -07:00
Min Chen
7543f314a7
Remove more VMTemplateHostDao references.
2013-04-23 17:12:21 -07:00
Edison Su
b8c5c67fbc
add copycommand at resouce side
2013-04-22 19:12:50 -07:00
Min Chen
9c584b5500
Use EndPoint to send local/remote command, and hide agentMgr message
...
passing.
2013-04-22 13:21:28 -07:00
Min Chen
ffdf567b58
Add implemention to pick EndPoint for secondary storage
2013-04-22 13:19:04 -07:00
Edison Su
0a6e386997
fix callback installation
2013-04-22 11:18:48 -07:00
Edison Su
f3ee8fbd7d
clean up createasync
2013-04-21 23:15:50 -07:00
Edison Su
abf40435f3
refactor downloadlistener, sync system vm templates when adding a new image store
2013-04-21 22:46:02 -07:00
Edison Su
1fe5d7c886
need to download image to cache storage from s3/swift on mgt server for default system vm templates
2013-04-18 01:56:34 -07:00
Mice Xia
7cc82db345
Fix CLOUDSTACK-2062 NPE while deleting the primary storage[Added with scope=cluster]
2013-04-17 22:06:45 +08:00
Min Chen
c74969fcb0
add deleteTemplate implementation into S3 and Swift driver
...
implementation.
2013-04-16 16:53:13 -07:00
Min Chen
1b3994e180
Fix copyTemplateCmd.
2013-04-16 16:38:14 -07:00
Min Chen
0da2da852b
Fix the flow of deleteTemplateCmd.
2013-04-16 12:03:12 -07:00
Min Chen
593337565e
Add S3 code to handle DownloadCommand for registerTemplate.
2013-04-15 14:44:39 -07:00
Pascal Borreli
20614598bf
Fixed typos
...
Signed-off-by: Milamber <milamber@apache.org>
2013-04-13 13:28:32 +00:00
Min Chen
2dd8e2cb97
add getStoreTO into each DataStoreDriver, and add implementation for 3
...
data store plugins.
2013-04-12 18:22:23 -07:00
Edison Su
b81fa6d9ea
add copy template to cache store
2013-04-12 16:03:30 -07:00
Min Chen
bb64672715
Refactor DownloadMonitorImpl code, move some functionalities to
...
TemplateServiceImpl and VolumeServiceImpl.
2013-04-11 18:09:42 -07:00
Edison Su
e5bf38ed05
add cache storage
2013-04-11 10:52:53 -07:00
Min Chen
02686583cf
First draft of register template using image store.
2013-04-10 18:02:53 -07:00
Min Chen
3897590bb1
Add check in addImageStoreCmd to guarantee our assumption of homogeneous
...
image stores.
2013-04-09 16:36:02 -07:00
Min Chen
74880fa26f
add DeleteImageStoreCmd Api.
2013-04-08 16:18:06 -07:00
Min Chen
a872d6d306
Renamed internal classes to use "imageStorexxx" instead of previous
...
"imageDataStorexxx". Add new addImageStoreCmd to use 3 image store
provider plugins.
2013-04-05 17:33:35 -07:00
Min Chen
86a3840412
Fix AddSecondaryStorageCmd to use CloudStack default secondary storage
...
store plugin.
2013-04-05 11:18:33 -07:00
Min Chen
5b31a45ebc
Some further naming refactoring.
2013-04-05 11:18:32 -07:00
Min Chen
a5416797ab
Move previous AncientImageDataStore provider and DefaultImageDataStore
...
provider code into plugins.
2013-04-05 11:18:32 -07:00
Edison Su
f18a1d6f14
fix bunch of bugs related to zone wide storage
2013-04-03 21:51:17 -07:00
Brian Spindler
99bcfd24c7
All slashes were being removed from the storage path which caused adding the pool to break.
...
Reviewed-by: Edison Su<sudison@gmail.com>
2013-03-26 17:36:29 -07:00
Edison Su
3ed6200ef8
move default primary storage plugin into its own pom
2013-03-20 17:21:40 -07:00
Sheng Yang
1b408509d6
CLOUDSTACK-1332: Add IPv6 DNS for Zone
2013-02-25 16:08:10 -08:00
Edison Su
ff047e75d3
refactor snapshot, move existing snapshot code into its own snapshotstrategy
2013-02-21 11:22:49 -08:00
Edison Su
a22403edcd
squash changes into one giant patch
2013-02-21 11:22:48 -08:00
Rohit Yadav
80d58b6c73
CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:56 +05:30
Edison Su
e4e2cf6be7
skip test in cloud engine
2013-01-22 13:25:48 -08:00
Edison Su
c921118c58
add image create test case
2013-01-22 13:25:48 -08:00
Edison Su
ddc53771bf
implement toURI
2013-01-17 18:49:50 -08:00
Edison Su
c93918a896
rename dataobject to datastream
2013-01-15 15:46:21 -08:00
Edison Su
8af85b04d0
refactor api, based on suggestion from community
2013-01-14 18:52:39 -08:00
Rohit Yadav
ea3f5ecb54
Fix license for xml files in javelin
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-12 06:31:47 -08:00
Rohit Yadav
ba20e7f85a
Fix license headers for java files in javelin
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-12 06:27:09 -08:00
Edison Su
9410cd1f3c
add deletevolume and createdata disk
2013-01-03 18:56:18 -08:00
Edison Su
ce2120d09d
fix build
2013-01-02 17:43:55 -08:00
Edison Su
5d1e97e407
add create volume
2013-01-02 17:32:54 -08:00
Edison Su
8f3789dab2
fix build
2012-12-28 17:24:49 -08:00
Alex Huang
54cce5fa18
Getting things to compile
2012-12-28 16:07:56 -08:00
Edison Su
8aaf5ba3a0
fix unit test
2012-12-19 16:01:58 -08:00
Edison Su
716a5673d0
1st try to add async api in the storage component, it's ugly like hell
2012-12-14 18:25:40 -08:00
Edison Su
510d3759a7
fix build
2012-12-13 15:17:23 -08:00
Edison Su
7652a44be7
add datastore configurator, for each hypervisor and each protocol, needs to have its own configurator
2012-12-07 18:23:08 -08:00
Edison Su
ae59bf6c3b
add lifecycle on primarydatastore
2012-12-07 18:23:08 -08:00
Edison Su
0836bb8ec9
add state machine for templateonprimarystorage, thus we don't need hold lock
2012-12-04 19:02:14 -08:00
Edison Su
2c689adce7
add more implementation in volume project
2012-12-03 18:34:49 -08:00
Edison Su
ac5622cc2a
add sample driver code: solidfire and s3
2012-11-28 19:50:41 -08:00