Edison Su
|
c476d7866e
|
CLOUDSTACK-2482: fix create volume from snapshot
|
2013-05-15 19:41:50 -07:00 |
|
Min Chen
|
b66c484905
|
Fix size issue in copying template from S3 to cache storage to make
system vm up.
|
2013-05-15 18:54:55 -07:00 |
|
Edison Su
|
a0c3d280b4
|
merge to master
|
2013-05-15 00:40:53 -07:00 |
|
Edison Su
|
68ffe1c706
|
fix bug in create volume from snapshot
|
2013-05-14 16:38:02 -07:00 |
|
Rajesh Battala
|
756a4179e2
|
Fixed CLOUDSTACK-2189 Volume is stuck in resizing state
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
|
2013-05-13 14:41:00 +05:30 |
|
Min Chen
|
0b9e0c0f3a
|
Override getRootDir in LocalNfsSecondaryStorageResource to make mount
successfully on MS side. Now S3 is working.
|
2013-05-12 17:41:44 -07:00 |
|
Min Chen
|
1bd216fc48
|
Merge with latest code rebased from master
|
2013-05-11 21:05:54 -07:00 |
|
Min Chen
|
8a9a7a4adc
|
Fix a bug in create cache object for S3.
|
2013-05-10 17:53:32 -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 |
|
Sanjay Tripathi
|
3aed20c9d2
|
CLOUDSTACK-1603: Management server .log Java Exceptions are displayed with Alerts
|
2013-05-10 10:18:37 +05:30 |
|
Edison Su
|
0e28772957
|
fix race condition, when multiple vms on the same templates are started at the same time
|
2013-05-06 19:04:41 -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
|
a221ecb484
|
Workaround an issue of null url when ListTemplateCommand is received on
SSVM side, also fix a bug in listTemplates with id passed.
|
2013-05-04 23:09:23 -07:00 |
|
Edison Su
|
acafccfbc6
|
fix volume state change
|
2013-05-03 15:01:09 -07:00 |
|
Min Chen
|
df7a56d63f
|
Removed redundant getInstallPath to use getPath in VolumeInfo.
|
2013-05-03 10:01:23 -07:00 |
|
Edison Su
|
0c6e87c701
|
download template to primary storage works now
|
2013-05-03 09:45:31 -07:00 |
|
Min Chen
|
c60c373a38
|
Modify DownloadCommand to pass DataTO.
|
2013-05-02 23:05:19 -07:00 |
|
Edison Su
|
4d992fd18f
|
fix template download to primary storage
|
2013-05-01 17:51:24 -07:00 |
|
Min Chen
|
8a5bd9e8f8
|
Fix a sql bug in selecting end point to send message.
|
2013-05-01 16:04:40 -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 |
|
Edison Su
|
4029e7af44
|
refactor data motion service for volumes
|
2013-04-24 18:53:57 -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 |
|
Edison Su
|
abf40435f3
|
refactor downloadlistener, sync system vm templates when adding a new image store
|
2013-04-21 22:46:02 -07:00 |
|
Devdeep Singh
|
b01f63123f
|
CS-1879: NPE while migrating volume. The state transitions on the volume that has to be migrated were incorrect. A volume to be migrated is in ready state and cannot be transitioned to copying state. Similarly, the duplicated volume is in ready state too and cannot be transitioned to creating state. Fixed it by transitioning the volume to migrating state when a migrateVolume api call is made. Also, a volume has to be destroyed first before it can be expunged. Fixed that too.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
|
2013-04-19 16:15:24 +05:30 |
|
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 |
|
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 |
|
Min Chen
|
fe3b01ece1
|
Update DataObjectInStore interface and unify implementation of
ImageDataFactory, VolumeDataFactory and SnapshotDataFactory
implementations.
|
2013-04-17 11:40:57 -07:00 |
|
Min Chen
|
1b3994e180
|
Fix copyTemplateCmd.
|
2013-04-16 16:38:14 -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 |
|
Min Chen
|
2ff01a79ca
|
Rename TemplateTO/VolumeTO in cloud-engine-storage to
TemplateObjectTO/VolumeObjectTO to avoid name conflicting with the one
in cloud-api.
|
2013-04-12 17:10:19 -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
|
1c448cd6e3
|
add cache storage
|
2013-04-11 11:01:29 -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
|
2a177de2bc
|
Remove unused DataStoreProviderDao since provider does not has its own
db table.
|
2013-04-09 14:59:07 -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
|
3ed6200ef8
|
move default primary storage plugin into its own pom
|
2013-03-20 17:21:40 -07:00 |
|
Edison Su
|
c60ef79321
|
CLOUDSTACK-1608: don't support attach volume between different storage scopes
|
2013-03-19 14:36:37 -07:00 |
|
Deepti Dohare
|
27b753a434
|
CLOUDSTACK-1575 Failed to transit volume with uploadVolume
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
|
2013-03-13 10:40:08 +05:30 |
|
Edison Su
|
409ec9c6b6
|
CLOUDSTACK-1426: We has strong implication that VO must implement an interface, otherwise EntityManagerImpl can't the vo
|
2013-03-07 18:25:57 -08:00 |
|