This is an automated email from the ASF dual-hosted git repository.

harikrishna pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 15c61acedfe Fix the config 'powerflex.connect.on.demand' description 
(#11926)
15c61acedfe is described below

commit 15c61acedfe3d710a80431e2ec146656be0b2e55
Author: Suresh Kumar Anaparti <[email protected]>
AuthorDate: Thu Oct 30 18:19:08 2025 +0530

    Fix the config 'powerflex.connect.on.demand' description (#11926)
---
 .../cloudstack/storage/datastore/manager/ScaleIOSDCManager.java  | 2 +-
 .../storage/datastore/manager/ScaleIOSDCManagerImpl.java         | 9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git 
a/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManager.java
 
b/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManager.java
index 8529d5dac73..f8aaf495b39 100644
--- 
a/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManager.java
+++ 
b/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManager.java
@@ -28,7 +28,7 @@ public interface ScaleIOSDCManager {
     ConfigKey<Boolean> ConnectOnDemand = new ConfigKey<>("Storage",
             Boolean.class,
             "powerflex.connect.on.demand",
-            Boolean.FALSE.toString(),
+            Boolean.TRUE.toString(),
             "When true, connects PowerFlex client on Host when first Volume is 
mapped to SDC & client connections configured 
'storage.pool.connected.clients.limit' are within the limit and disconnects 
when last Volume is unmapped from SDC; " +
                     "and When false, connects PowerFlex client on Host when 
host connects to storage pool & client connections configured 
'storage.pool.connected.clients.limit' are within the limit and disconnects 
when host disconnects from storage pool & no volumes mapped to SDC.",
             Boolean.TRUE,
diff --git 
a/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManagerImpl.java
 
b/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManagerImpl.java
index 3d7d1cf279c..c13ad61a6cd 100644
--- 
a/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManagerImpl.java
+++ 
b/plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManagerImpl.java
@@ -61,15 +61,6 @@ import com.cloud.utils.exception.CloudRuntimeException;
 public class ScaleIOSDCManagerImpl implements ScaleIOSDCManager, Configurable {
     private Logger logger = LogManager.getLogger(getClass());
 
-    static ConfigKey<Boolean> ConnectOnDemand = new ConfigKey<>("Storage",
-            Boolean.class,
-            "powerflex.connect.on.demand",
-            Boolean.TRUE.toString(),
-            "Connect PowerFlex client on Host when first Volume is mapped to 
SDC and disconnect when last Volume is unmapped from SDC," +
-                    " otherwise no action (that is connection remains in the 
same state whichever it is, connected or disconnected).",
-            Boolean.TRUE,
-            ConfigKey.Scope.Zone);
-
     @Inject
     AgentManager agentManager;
     @Inject

Reply via email to