Edison Su
733ed3622d
fix compile
2013-06-20 00:57:06 -07:00
Edison Su
97f8c524b8
merge object_store
2013-06-20 00:18:00 -07:00
Harikrishna Patnala
7b6b8d7a07
CLOUDSTACK-2987 Ensure XStools to be there in template inorder to enable dynamic scaling of vm
...
CLOUDSTACK-3042 - handle Scaling up of vm memory/CPU based on the presence of XS tools in the template
This also takes care of updation of VM after XS tools are installed in the vm and set memory values accordingly to support dynamic scaling after stop start of VM
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-20 11:08:38 +05:30
Min Chen
18aeef3ef1
Merge branch 'master' (up to commit
...
c30d9be3ce ) into object_store.
2013-06-12 11:20:32 -07:00
Min Chen
ec55c2e909
CS-17842: java.lang.NullPointerException seen when using
...
"updateTemplatePermission" with projectids parameter.
2013-06-11 17:07:26 -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
Min Chen
e51adc3b7d
CLOUDSTACK-2673: Failed to deploy guest vm using ISO with S3 being the
...
storage provider.
2013-05-29 15:47:39 -07:00
Edison Su
0ed441c690
CLOUDSTACK-2637: fix upload volume
2013-05-24 19:00:52 -07:00
Min Chen
c609bc0541
Not reuse already destroyed entries in template_store_ref to make code
...
cleaner.
2013-05-24 14:34:56 -07:00
Min Chen
9e1a9bfd4b
Fix a bug in attachIsoToVM for S3.
2013-05-24 14:24:23 -07:00
Min Chen
863b534066
Copy iso from S3 to Cache in attach iso to VM.
2013-05-24 13:56:08 -07:00
Min Chen
c614c6a424
CLOUDSTACK-2674: Secondary Storage garbage collector failed with NPE in
...
case of S3 storage provider.
2013-05-24 11:10:45 -07:00
Min Chen
98af424053
Merge branch 'master' into object_store.
2013-05-23 18:00:15 -07:00
Min Chen
d1704a389a
Exclude removed template from template sync.
2013-05-23 17:23:25 -07:00
Prachi Damle
780b45e245
CLOUDSTACK-2657: listTemplatePermissions API should also include the owner of the template to the list of users having permission to launch
...
Changes:
- Add template owner to the list of users
2013-05-23 16:33:07 -07:00
Min Chen
039098469a
CLOUDSTACK-2584: set Format value in CopyCommand.
2013-05-22 14:33:40 -07:00
Min Chen
f5732fe3bf
Consolidate code to use UriUtils.validateUrl instead of repeating code
...
several places.
2013-05-21 16:50:02 -07:00
Min Chen
2af36aa87b
Clean up template_zone_ref entries in case of create template failure.
2013-05-21 12:00:59 -07:00
Min Chen
565bdfb27b
Fix CLOUDSTACK-2525: clean up db entries in vm_template and
...
template_store_ref in case of template creation failure.
2013-05-20 16:21:45 -07:00
Min Chen
255d08ae7c
Fix CLOUDSTACK-2586: ExtractTemplate for S3 template should give URL
...
directly from S3.
2013-05-20 12:06:36 -07:00
Edison Su
f7c1b711ad
merge to master
2013-05-16 23:56:20 -07:00
Mice Xia
6d57393629
instead of using '==', use equals() to test Long value equality
2013-05-16 16:00:02 +08:00
Edison Su
879a954b98
delete snapshot at the backend
2013-05-14 21:58:07 -07:00
Min Chen
03c255068b
Fix CLOUDSTACK-2484: not able to deploy VM from registered ISO.
2013-05-14 14:57:02 -07:00
Min Chen
2102ede2e7
Fix CLOUDSTACK-2469: default template is not downloaded.
2013-05-14 11:42:24 -07:00
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30
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
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
Edison Su
ac7be218d5
creat template from volume/snapshot, and then create vm from template works now
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
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
f6913b5088
Removed files that are no longer used and further separated out the files in the core project
2013-05-06 16:34:21 -07:00
Min Chen
0d78209b73
Address various UI requirements by introducing provider constants.
2013-05-06 15:12:33 -07:00
Kelven Yang
f101241050
Apply patch for https://reviews.apache.org/r/10892/
2013-05-01 17:40:38 -07:00
Min Chen
3c6b7c2a01
Populate system vm template to template_store_ref in adding an image
...
store.
2013-05-01 12:10:24 -07:00
Edison Su
2f689171e0
refactor snapshot
2013-04-29 18:51:14 -07:00
Harikrishna Patnala
deaf9106ca
CLOUDSTACK-741: Granular Global Parameters and adding fixes for CLOUDSTACK-2176, CLOUDSTACK-2198, CLOUDSTACK-2200
...
Adding the zone, cluster, account level parameters
The parameters at scope (zone/cluster/pool/account) can be updated by updateConfiguration API with additional parameter zoneid/clusterid/accountid/storagepoolid
Whenever these scoped parameters are used in CS they get value from the corresponding details table if not defined get value from global parameter.
Same with the listConfiguration API with additional parameter zoneid/clusterid/accountid/storagepoolid
2013-04-29 14:11:51 +05:30
Min Chen
de27f0ff53
Clean up DownloadMonitor and TemplateManagerImpl.
2013-04-25 16:49:46 -07:00
Min Chen
79151f5f5d
Remove sendToSSVM reference from SnapshotManagerImpl and
...
TemplateManagerImpl.
2013-04-24 17:45:32 -07:00
Min Chen
f16f92dd1d
Remove TemplateManager.getSecondaryStorageHost api.
2013-04-24 15:06:36 -07:00
Min Chen
0cfef3aa4e
Remove almost all VMTemplateHostDao references except S3Manager and
...
SwiftManager.
2013-04-23 17:51:54 -07:00
Min Chen
7ec0882dca
Remove VMTemplateHostDao reference from BareMetalTemplateAdapter, also
...
make store_id in template_store_ref table nullable to accommodate
baremetal case.
2013-04-23 16:07:44 -07:00
Min Chen
246e58013d
Remove VMTemplateHostDao reference from TemplateManagerImpl.
2013-04-23 15:09:37 -07:00
Min Chen
e40a06deae
Fix extractTemplateCmd.
2013-04-22 21:48:57 -07:00