You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2015/09/15 11:10:47 UTC

[1/2] git commit: updated refs/heads/master to 06cefaf

Repository: cloudstack
Updated Branches:
  refs/heads/master 34caa694d -> 06cefaf49


CLOUDSTACK-8834: Fixed unable to download Template , when in multi zones
We were listing image stores by zone id which was resulting in listing of only one image store
If in that image store its download state is not DOWNLOADED then download template is failing


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8511d62b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8511d62b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8511d62b

Branch: refs/heads/master
Commit: 8511d62b5aee6976f2eecd32506402de47858215
Parents: 2d90f18
Author: Anshul Gangwar <an...@citrix.com>
Authored: Thu Jun 11 11:32:08 2015 +0530
Committer: Anshul Gangwar <an...@citrix.com>
Committed: Fri Sep 11 15:30:39 2015 +0530

----------------------------------------------------------------------
 server/src/com/cloud/template/TemplateManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8511d62b/server/src/com/cloud/template/TemplateManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/template/TemplateManagerImpl.java b/server/src/com/cloud/template/TemplateManagerImpl.java
index 3911340..aaa86e4 100644
--- a/server/src/com/cloud/template/TemplateManagerImpl.java
+++ b/server/src/com/cloud/template/TemplateManagerImpl.java
@@ -501,7 +501,7 @@ public class TemplateManagerImpl extends ManagerBase implements TemplateManager,
 
         _accountMgr.checkAccess(caller, AccessType.OperateEntry, true, template);
 
-        List<DataStore> ssStores = _dataStoreMgr.getImageStoresByScope(new ZoneScope(zoneId));
+        List<DataStore> ssStores = _dataStoreMgr.getImageStoresByScope(new ZoneScope(null));
 
         TemplateDataStoreVO tmpltStoreRef = null;
         ImageStoreEntity tmpltStore = null;


[2/2] git commit: updated refs/heads/master to 06cefaf

Posted by wi...@apache.org.
Merge pull request #804 from anshul1886/CLOUDSTACK-8834

CLOUDSTACK-8834: Fixed unable to download Template , when in multi zonesWe were listing image stores by zone id which was resulting in listing of only one image store
If in that image store its download state is not DOWNLOADED then download template is failing

* pr/804:
  CLOUDSTACK-8834: Fixed unable to download Template , when in multi zones We were listing image stores by zone id which was resulting in listing of only one image store If in that image store its download state is not DOWNLOADED then download template is failing

Signed-off-by: Wido den Hollander <wi...@widodh.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/06cefaf4
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/06cefaf4
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/06cefaf4

Branch: refs/heads/master
Commit: 06cefaf493423c953a95ee92482a2d0a20a21095
Parents: 34caa69 8511d62
Author: Wido den Hollander <wi...@widodh.nl>
Authored: Tue Sep 15 11:10:41 2015 +0200
Committer: Wido den Hollander <wi...@widodh.nl>
Committed: Tue Sep 15 11:10:41 2015 +0200

----------------------------------------------------------------------
 server/src/com/cloud/template/TemplateManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------