Edison Su
b30e39b0e3
CLOUDSTACK-1392: add create template from snapshot and volume
2013-04-22 13:24:10 -07:00
Prachi Damle
0e689dbcc7
CLOUDSTACK-2096 Deployment Planner - Deployment planner is not looking for hosts in other clusters when vm is being started.
...
Changes:
- Cloud-engine 2 step reserver and deploy flow was not retrying out of clusters, if there are no resources in the volume's cluster.
- Fixed this by letting the reservationm step not error out and continue to let deploy step find out resources outside cluster
2013-04-19 17:55:37 -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
Harikrishna Patnala
eae22d2ffa
CLOUDSTACK-741: Granular Global Parameters
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-04-19 10:36:52 +05:30
Mice Xia
ce3337cdd6
CLOUDSTACK-1983 StackOverflowError while deleting snapshot
2013-04-16 13:18:44 +08:00
Mice Xia
cbe021b8d2
CLOUDSTACK-2040 VM with snapshot not getting destroyed during account delation
2013-04-16 13:18:44 +08:00
Pascal Borreli
20614598bf
Fixed typos
...
Signed-off-by: Milamber <milamber@apache.org>
2013-04-13 13:28:32 +00:00
Pascal Borreli
95cbb790f3
Fixed Primary typo
2013-04-12 16:20:11 +01:00
Chip Childers
3b35063adf
Revert "Fixed Primary typo"
...
This reverts commit 4e5a8a0f8adcc665755229ee3d18f40913d15913.
2013-04-12 15:18:02 +01:00
Pascal Borreli
4e5a8a0f8a
Fixed Primary typo
...
Conflicts:
client/WEB-INF/classes/resources/messages_de_DE.properties
2013-04-12 14:14:44 +01:00
Prachi Damle
c7c899f62d
Fixes after functional tests
...
Conflicts:
client/tomcatconf/commands.properties.in
2013-04-11 13:23:04 -07:00
Prachi Damle
cf7d40c6cd
Not using entity factory
2013-04-11 13:22:54 -07:00
Prachi Damle
ee0a91d111
Fixed the issue - VM deployment for local service offering for Root and with data disk(shared), was deploying data disk to local disk too. Currently there is no way to let the planner know multiple pool information, hence letting the planner search for a pool always during VM deployment.
2013-04-10 10:47:50 -07:00
Edison Su
f18a1d6f14
fix bunch of bugs related to zone wide storage
2013-04-03 21:51:17 -07:00
Brian Spindler
469c4dd139
Removing ^M's from code.
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-04 00:53:20 +05:30
Harikrishna Patnala
6110e00c54
CLOUDSTACK-1830: ZWPS: NPE while create volume from snapshot
2013-04-02 10:40:42 -07:00
Min Chen
c52d04cd63
Correct a naming typo.
2013-03-28 10:23:55 -07:00
Hugo Trippaers
c8fd16c03d
Summary: Workaround for CLOUDSTACK-1831 and CLOUDSTACK-1672
...
Exclude the transient dependency on jaxb-impl 2.1.13 in cxf-bundle-jars.
VmWare code depends on the 2.0 version
2013-03-28 15:00:04 +01: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
d5cb32f159
Multiple Secondary Storage Issue
2013-03-14 21:08:27 -04: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
Kelven Yang
cc91d826df
Fix conflicts in storage subsystem with Spring
2013-03-05 19:03:31 -05:00
Kelven Yang
333dd810d2
CLOUDSTACK-1339: Using Sping interface injection pattern to avoid using CGLIB proxying mode. Spring with CGLIB proxying will concflict with CGLIB usage in CloudStack DB code, CloudStack CGLIB usage can cause Spring to lose tack of its proxied object and therefore creates a massive amount of objects in memory
2013-03-05 19:03:30 -05:00
Edison Su
69678c82ac
suddenly, maven can't build this java file
2013-03-04 17:23:27 -08:00
Rohit Yadav
54bfd7e04a
orchestration: Fix VirtualMachineEntityFactory to process spring injections
...
The bug was found was Harikrishna P. when iso was used, in case of Isos, the
create vm from scratch which fails due to factory being used to get the object
which is not spring injected
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 17:28:15 +05:30
Edison Su
cc81413931
CLOUDSTACK-724: add zone wide storage, createstoragepoolcmd doesn't need cluster/pod any more
2013-02-26 23:16:17 -08:00
Harikrishna Patnala
254275dc26
CLOUDSTACK-1293: resetpasswordforVm shows "passsd reset to undefined"
2013-02-27 12:35:04 +05:30
David Nalley
dc6b4b54fa
adding license headers
2013-02-27 01:42:19 -05:00
Edison Su
0e6290ba87
fix build
2013-02-26 18:50:48 -08:00
Edison Su
8e360f342d
CLOUDSTACK-724: add basic zone wide storage support, refactor storage allocator, need ui support
2013-02-26 18:39:23 -08:00
Mice Xia
46e91bd794
fix issue: failed to start vm from iso caused by ClassCastException and NPE
2013-02-26 17:01:26 +08:00
Sheng Yang
1b408509d6
CLOUDSTACK-1332: Add IPv6 DNS for Zone
2013-02-25 16:08:10 -08:00
Edison Su
3bb713c5ce
fix adding nfs primary storage and build and load
2013-02-21 16:24:39 -08:00
frank
15ead099a1
CloudStack CLOUDSTACK-774
...
Supporting kickstart in CloudStack baremetal
able to start vm
Conflicts:
client/tomcatconf/componentContext.xml.in
server/src/com/cloud/baremetal/BareMetalTemplateAdapter.java
server/src/com/cloud/baremetal/BareMetalVmManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2013-02-21 15:48:08 -08:00
Chip Childers
6cc1123a3e
Correcting license headers that broke the build
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-21 16:29:05 -05:00
Edison Su
ae902590d3
fix snapshot
2013-02-21 11:22:50 -08:00
Edison Su
fb4036ece4
add test folder for snpahost project
2013-02-21 11:22:49 -08:00
Edison Su
0f532c4b3a
rebase to master
2013-02-21 11:22:49 -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
020be66f9d
add copy volume and create volume from snapshot
2013-02-21 11:22:49 -08:00
Edison Su
621a779446
use correct disk offering id
2013-02-21 11:22:49 -08:00
Edison Su
ec09e34f86
fix downloading template
2013-02-21 11:22:48 -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
Hugo Trippaers
9755d9b4a2
Keep naming more or less consistent
2013-02-02 12:43:15 +01:00
Kelven Yang
7b75f0d990
Sync master to javelin one more time
2013-02-01 11:37:33 -08:00
Kelven Yang
176523254e
Improve component lifecycle management with system run-level concept
2013-01-30 15:21:02 -08:00