Prasanna Santhanam
f1134da8df
Group storage subsystem components for spring
...
Breaking down storage components among oss, nonoss and simulator
contexts. The default components are loaded by
OSS - applicationContext + componentContext
NonOSS - applicationContext + nonossComponentContext
Simulator - applicationContext + simulatorComponentContext
provider beans are are selectively overridden for simpler configuration.
Where possible beans are loaded by local reference.
<list merge=true> does not unfortunately work perfectly for bean merging
the providers causing a bit of bloat. Explore for later.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-29 13:53:41 +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
Donal Lafferty
4361418e41
Removed Dead Code from Management Server Hyper-V 2012 Support
...
Update ImageFormat enum to include VHDX format introduced with Hyper-V
Server 2012.
Remove existing Hyper-V plugin, because it does not work and is dead
code.
Remove references to existing Hyper-V plugin from config files.
Remove Hypervisor.HypervisorType.Hyperv special cases from manager code
that are unused or unsupported.
Specifically, there is no CIFS secondary storage class
"CifsSecondaryStorageResource". Also, the Hyper-V plugin's
ServerResource is contacted by the management server and not the other
way around.
Add Hyperv-V support to ListHypervisorsCmd API call
Signed-off-by: Edison Su <sudison@gmail.com>
2013-06-27 11:46:02 -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
cc0de88088
Remove old DeleteTemplateCommand, DeleteVolumeCommand,
...
DeleteSnapshotBackupCommand, replaced by DeleteCommand.
2013-06-10 17:55:30 -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
Edison Su
0a5228922b
clean up storage related coded
2013-05-29 18:04:37 -07:00
Min Chen
bc91e7692d
Fix build.
2013-05-29 15:22:04 -07:00
Edison Su
0ed441c690
CLOUDSTACK-2637: fix upload volume
2013-05-24 19:00:52 -07:00
Min Chen
8d08f9b74b
CLOUDSTACK-2655: use ssvm public IP to construct extract url.
2013-05-23 12:05:58 -07:00
Edison Su
5af888c67a
add image format in volumevo
2013-05-22 13:38:11 -07:00
Edison Su
ed065418b6
add license header
2013-05-14 21:58:07 -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
Edison Su
492127c035
fix kvm
2013-05-12 18:27:37 -07:00
Edison Su
e8259e38c2
integration test is passed again
2013-05-12 14:41:06 -07:00
Edison Su
993187622e
fix compile, after rebase to master
2013-05-10 20:39:02 -07:00
Edison Su
90de46c4fe
get vmware works
2013-05-10 19:26:44 -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
15fc4e137d
add license header
2013-05-10 11:40:11 -07:00
Min Chen
fa11575212
Add store_role to template_store_ref, and add search function to find
...
template_store_ref entry based on DataStoreRole and ZoneId.
2013-05-08 22:06:07 -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
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
41272c976e
Add DeleteTemplate unit test.
2013-05-06 23:02:28 -07:00
Min Chen
e7f6333209
Merge branch 'object_store' of https://git-wip-us.apache.org/repos/asf/cloudstack into object_store
2013-05-06 21:21:40 -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
Min Chen
f5d5526d41
Fix unit test to test NFS template download flow.
2013-05-06 18:02:52 -07:00
Alex Huang
3722d66aae
Fixed up unit testing to use only an in class TestConfiguration
2013-05-06 16:34:27 -07:00
Edison Su
acafccfbc6
fix volume state change
2013-05-03 15:01:09 -07:00
Min Chen
23db72d8b4
S3 template download test is working except state transition part.
2013-05-03 14:59:13 -07:00
Edison Su
fc74d76696
add volume test case
2013-05-03 09:53:06 -07:00
Edison Su
0c6e87c701
download template to primary storage works now
2013-05-03 09:45:31 -07:00
Min Chen
87fafb7287
Add S3 register template integration test.
2013-05-02 15:20:46 -07:00
Edison Su
2384276536
make template download testable
2013-05-02 00:38:11 -07:00
Edison Su
164bedd5ae
revive java integration test
2013-05-01 18:24:47 -07:00
Edison Su
4d992fd18f
fix template download to primary storage
2013-05-01 17:51:24 -07:00
Min Chen
5b76e4914c
Remove sendToSecStorage methods from agentManager to use EndPoint
...
instead.
2013-04-24 16:21:41 -07:00
Edison Su
b8c5c67fbc
add copycommand at resouce side
2013-04-22 19:12:50 -07:00
Min Chen
29687663e8
Rename SnapshotStrategy to SnapshotService to have consistent naming
...
convention for Template, Snapshot, Volume. Also rename CopyCmd to
CopyCommand to follow internal command naming convention.
2013-04-22 16:15:57 -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
Min Chen
86913ab4d3
Use data motion service to implement copy template.
2013-04-19 23:01:59 -07:00
Min Chen
b8229349f5
Rename HypervisorHostEndPoint to RemoteHostEndPoint to accommodate ssvm
...
as well.
2013-04-19 17:46:33 -07:00
Devdeep Singh
21ce3befc8
Storage motion for Xenserver changes: 1. Implemented Api findStoragePoolsForMigration. Added a new response objects to list storage pools available for migration. 2. Updated migrateVolume api for allowing migrating volumes of running vms. These changes are integrated into the latest storage refactoring changes. 3. Added the implementation for findHostsForMigration api. It lists the hosts to which an instance can be migrated, including hosts from within and across clusters to which an instance may be migrated with storage motion. The work of migrating a volume of a running vm is also done in copyAsync. 4. Updated the listHosts api for backward compatibility. 5. Added the implementation for migrateVirtualMachineWithVolume api. It migrates an instance with its volumes within a cluster and also across clusters. Also introduced a new XenServerStorageMotionStrategy for migrating volumes of a vm. When a vm is being migrated with its volumes, the vm is put in migrating state and a request is send to the volume manager to migrate the vm and its volumes. Volume manager calls into the volume service which forwards the request to data motion service after moving all the volumes to migrating state. Data motion service enumerates the strategies and the request reaches the XenServerStorageMotionStrategy. It calls in to the resource to complete the operation. 6. Resolved an issue where storage xenmotion of 2nd VM created from the same template to a host was failing with duplicate_vm exception. Made changes to remove the mac_seed key value pair from other_config when vms are created. This is was storage motion to fail. 7. Updated the db upgrade schema script. 8. Added the right permissions in commands.properties 9. Marvin tests for testing storage motion. Following scenarios are tested. 9.1. A virtual machine is migrated to another host. Its volumes are also migrated to another storage pool. 9.2. Just the volumes of a vm are migrated to another storage pool while the vm continues to run on the same host. 10. Unit tests for testing migration of a vm with its volumes.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 11:36:42 +05:30
Edison Su
ef30ee52ee
add copy stuff from s3 into nfs cache storage
2013-04-18 13:44:49 -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
Min Chen
14b5f0da19
Rename ImageDataFactoryxxx to TemplateDataFactory to have consistent
...
naming conventions for Template data factory class.
2013-04-17 11:45:25 -07:00