From d8ea2f04ea3706136b41c247c65e4149d58f812d Mon Sep 17 00:00:00 2001 From: abhishek Date: Fri, 28 Jan 2011 14:24:12 -0800 Subject: [PATCH] setting cpvm restart to true with every storage pool being added --- server/src/com/cloud/storage/StorageManagerImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/com/cloud/storage/StorageManagerImpl.java b/server/src/com/cloud/storage/StorageManagerImpl.java index 1e9013a3d82..f612fe28890 100755 --- a/server/src/com/cloud/storage/StorageManagerImpl.java +++ b/server/src/com/cloud/storage/StorageManagerImpl.java @@ -1210,6 +1210,10 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag } else { createCapacityEntry(pool); } + + //ensures cpvm is restarted even if the existing pools in system are in maintenance, hence flag below was hitherto in false state + _configMgr.updateConfiguration(UserContext.current().getCallerUserId(), "consoleproxy.restart", "true"); + return pool; }