cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to d5538fb
Date Thu, 05 Feb 2015 10:25:18 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 82b6c1377 -> d5538fbe3


Publish secstorage failure, removed by a12ab8a2b3a14d2fed2bca287823bb558d0501fb

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/master
Commit: d5538fbe3b63e14a87402202d236b981f9fb4c2a
Parents: 82b6c13
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Feb 5 15:54:27 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Feb 5 15:55:13 2015 +0530

----------------------------------------------------------------------
 .../cloudstack/secondarystorage/SecondaryStorageManagerImpl.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d5538fbe/services/secondary-storage/controller/src/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java
----------------------------------------------------------------------
diff --git a/services/secondary-storage/controller/src/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java
b/services/secondary-storage/controller/src/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java
index 9883932..f9a343a 100644
--- a/services/secondary-storage/controller/src/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java
+++ b/services/secondary-storage/controller/src/org/apache/cloudstack/secondarystorage/SecondaryStorageManagerImpl.java
@@ -506,6 +506,8 @@ public class SecondaryStorageManagerImpl extends ManagerBase implements
Secondar
                 s_logger.debug("Unable to allocate secondary storage vm storage, remove the
secondary storage vm record from DB, secondary storage vm id: " +
                     secStorageVmId);
             }
+            SubscriptionMgr.getInstance().notifySubscribers(ALERT_SUBJECT, this,
+                new SecStorageVmAlertEventArgs(SecStorageVmAlertEventArgs.SSVM_CREATE_FAILURE,
dataCenterId, secStorageVmId, null, "Unable to allocate storage"));
         }
         return null;
     }


Mime
View raw message