Skip to content

Commit 15c61ac

Browse files
Fix the config 'powerflex.connect.on.demand' description (#11926)
1 parent 2dbc86a commit 15c61ac

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public interface ScaleIOSDCManager {
2828
ConfigKey<Boolean> ConnectOnDemand = new ConfigKey<>("Storage",
2929
Boolean.class,
3030
"powerflex.connect.on.demand",
31-
Boolean.FALSE.toString(),
31+
Boolean.TRUE.toString(),
3232
"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; " +
3333
"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.",
3434
Boolean.TRUE,

plugins/storage/volume/scaleio/src/main/java/org/apache/cloudstack/storage/datastore/manager/ScaleIOSDCManagerImpl.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,6 @@
6161
public class ScaleIOSDCManagerImpl implements ScaleIOSDCManager, Configurable {
6262
private Logger logger = LogManager.getLogger(getClass());
6363

64-
static ConfigKey<Boolean> ConnectOnDemand = new ConfigKey<>("Storage",
65-
Boolean.class,
66-
"powerflex.connect.on.demand",
67-
Boolean.TRUE.toString(),
68-
"Connect PowerFlex client on Host when first Volume is mapped to SDC and disconnect when last Volume is unmapped from SDC," +
69-
" otherwise no action (that is connection remains in the same state whichever it is, connected or disconnected).",
70-
Boolean.TRUE,
71-
ConfigKey.Scope.Zone);
72-
7364
@Inject
7465
AgentManager agentManager;
7566
@Inject

0 commit comments

Comments
 (0)