Commit Graph

17089 Commits

Author SHA1 Message Date
Min Chen 6f4fcf741c Fix listImageStores to only list store with Image role, excluding those
cache stores since they are also stored in image_store table.
2013-05-09 21:49:12 -07:00
Min Chen f965e2d892 Download system template while adding S3 image store is working. 2013-05-09 21:49:12 -07:00
Min Chen 0824be38ff Fix a bug where listImageStores also shows cacheStorage. 2013-05-09 21:49:12 -07:00
Jessica Wang 1e539e81e3 CLOUDSTACK-2351: object store - UI - infrastructure menu - secondary storage
- Add Secondary Storage - when provider is S3, show option to create NFS cache storage.
2013-05-09 17:48:00 -07:00
Min Chen 292e77b96b Fix marvin test to add S3 image store and cache storage. 2013-05-09 16:19:06 -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 545d2e4eb6 Change removed field annotation in TemplateJoinVO to remove workaround
for not showing removed entries.
2013-05-08 18:04:02 -07:00
Min Chen 8ad517c028 Append template unique name for S3 key for template sync. 2013-05-08 17:58:52 -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
Min Chen f8edb55497 Register template, delete template and create instance from registered
template are working on NFS.
2013-05-08 10:29:09 -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
Edison Su 5aeca646ae make create template from volume/snapshot work 2013-05-07 20:18:19 -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 d79b890904 Change VMTemplate state in destroy. 2013-05-07 17:45:06 -07:00
Min Chen 8984e430ce Add state transition for destroy scenario. 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 e8c69632b6 Fix an issue in showing removed templates in list call. 2013-05-07 17:45:06 -07:00
Min Chen bc97dbde52 Fix a bug in ListImageStoresCmd when id is passed. 2013-05-07 17:45:06 -07:00
Brian Federle 66337e8e9c Zone wizard: fix secondary storage dropdown event 2013-05-07 14:24:39 -07:00
Min Chen 7e47b983f7 Merge branch 'object_store' of https://git-wip-us.apache.org/repos/asf/cloudstack into object_store 2013-05-07 13:35:09 -07:00
Min Chen 3315b23595 Relax url port validation and some MockLocalNfsSecondaryStorageResource
fix.
2013-05-07 13:34:27 -07:00
Jessica Wang e659819381 CLOUDSTACK-2351: object store - UI - zone wizard - add secondary storage step - implement provider S3, Swift. 2013-05-07 12:35:35 -07:00
Jessica Wang e0fa8e1e93 CLOUDSTACK-2351: object store - UI - cloudstack.js - replace listS3s, listSwiftsAPI with new API listImageStores. 2013-05-07 12:04:07 -07:00
Jessica Wang d9733e900d CLOUDSTACK-2351: object store - UI - infrastructure menu - secondary storages - detailView - delete action - replace deleteHost API with new API deleteImageStore. 2013-05-07 11:38:31 -07:00
Jessica Wang 79935f6eee CLOUDSTACK-2351: object store - UI - zone wizard - add secondary storage step - replace addSecondaryStorage API with new API addImageStore. 2013-05-07 11:11:30 -07:00
Jessica Wang 9f5d3c276d CLOUDSTACK-2351: object store - UI - Infrastructure menu - secondary storages - add secondary storage - implement provider S3. 2013-05-07 10:54:05 -07:00
Min Chen 41272c976e Add DeleteTemplate unit test. 2013-05-06 23:02:28 -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
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 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 1b8e7aba73 uncomment out template sync 2013-05-06 18:28:47 -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
Jessica Wang fdee284395 CLOUDSTACK-2351: object store - Infrastructure menu - secondary storages - add secondary storage dialog - implement Swift provider. 2013-05-06 17:57:52 -07:00
Jessica Wang a00e30cb16 CLOUDSTACK-2351: (1) object store - listStorageTypes API has been changed to return 'NFS'. Here is related UI change. (2) Infrastructure menu - secondary storages- add secondary storage dialog - fix a bug that this dialog failed to pop up when there is zero zone. 2013-05-06 17:18:49 -07:00
Jessica Wang eb4965ef63 CLOUDSTACK-2351: object store - UI - Infrastructure menu - secondary storages - add secondary storage - NFS provider - replace addSecondaryStorage API with new API addImageStore. 2013-05-06 16:57:23 -07:00
Min Chen 0d78209b73 Address various UI requirements by introducing provider constants. 2013-05-06 15:12:33 -07:00
Min Chen 4db84fb45e Remove the hard-coded package assumption in Command serialization. 2013-05-06 15:11:42 -07:00
Min Chen db65dfbb12 Work around an issue in using IPC callback for
HypervisorTemplateAdapter.
2013-05-06 15:10:31 -07:00
Min Chen 2e28515624 Fix the way to retrieve details map from api input. 2013-05-06 11:30:34 -07:00
Min Chen 7ad263b67e Revert previous workaround for ListTemplateCommand, which is correct
after updating the systemvm.iso on devcloud.
2013-05-06 11:29:57 -07:00
Min Chen bc244ccc8b Populate template_zone_ref for those cross-zone templates while adding
an image store.
2013-05-05 19:21:09 -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
Min Chen bb7a72b7d6 Add unit test for DataTO/DataStoreTO serializer/deserializer adapter. 2013-05-03 17:42:39 -07:00
Min Chen e0ab845e92 Add gson adapter to serialize/deserialize DataTO and DataStoreTO. 2013-05-03 17:29:12 -07:00
Edison Su 23d6f12e9a fix db select 2013-05-03 15:44:38 -07:00
Edison Su acafccfbc6 fix volume state change 2013-05-03 15:01:09 -07:00