diff --git a/ui/index.jsp b/ui/index.jsp
index d1f06fee1ea..7820764049e 100644
--- a/ui/index.jsp
+++ b/ui/index.jsp
@@ -849,7 +849,7 @@
@@ -869,6 +869,20 @@
+
+
+
+
+
+
diff --git a/ui/scripts/cloud.core.resource.js b/ui/scripts/cloud.core.resource.js
index 74e005ecf14..2fee43590f9 100644
--- a/ui/scripts/cloud.core.resource.js
+++ b/ui/scripts/cloud.core.resource.js
@@ -238,7 +238,25 @@ function buildZoneTree() {
}
}
}
- });
+ });
+
+ $.ajax({
+ data: createURL("command=listStoragePools&clusterid="+clusterObj.id),
+ dataType: "json",
+ success: function(json) {
+ var items = json.liststoragepoolsresponse.storagepool;
+ var $container = $clusterContent.find("#primarystorages_container").empty();
+ if(items != null && items.length > 0) {
+ var $template = $("#leftmenu_primarystorage_node_template");
+ for(var i=0; i