Skip to content

Commit e39a875

Browse files
authored
Merge pull request #3968 from nrwahl2/nrwahl2-T1000
Deprecate some cluster options
2 parents efd4dc5 + 694e51b commit e39a875

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+202
-315
lines changed

cts/cli/regression.cibadmin.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
=#=#=#= End test: Validate CIB (XML) - OK (0) =#=#=#=
8080
* Passed: cibadmin - Validate CIB (XML)
8181
=#=#=#= Begin test: Digest calculation =#=#=#=
82-
c330f9df7e1e54e99f9d5ae1a0d8d59a
82+
02e4118f17d65a512f1f540ff30dc116
8383
=#=#=#= End test: Digest calculation - OK (0) =#=#=#=
8484
* Passed: cibadmin - Digest calculation
8585
=#=#=#= Begin test: Digest calculation (XML) =#=#=#=
8686
<pacemaker-result api-version="X" request="cibadmin --output-as=xml -5 -p">
87-
<md5-sum digest="c330f9df7e1e54e99f9d5ae1a0d8d59a"/>
87+
<md5-sum digest="02e4118f17d65a512f1f540ff30dc116"/>
8888
<status code="0" message="OK"/>
8989
</pacemaker-result>
9090
=#=#=#= End test: Digest calculation (XML) - OK (0) =#=#=#=

cts/cli/regression.crm_attribute.exp

Lines changed: 35 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ Also known as properties, these are options that affect behavior across the enti
6161
* When true, the cluster will immediately ban a resource from a node if it fails to start there. When false, the cluster will instead check the resource's fail count against its migration-threshold.
6262
* Possible values: boolean (default: )
6363

64-
* enable-startup-probes: Whether the cluster should check for active resources during start-up
65-
* Possible values: boolean (default: )
66-
6764
* fencing-action: Action to send to fence device when a node needs to be fenced
6865
* Possible values: "reboot" (default), "off"
6966

@@ -111,19 +108,9 @@ Also known as properties, these are options that affect behavior across the enti
111108
* migration-limit: The number of live migration actions that the cluster is allowed to execute in parallel on a node (-1 means no limit)
112109
* Possible values: integer (default: )
113110

114-
* cluster-ipc-limit: Maximum IPC message backlog before disconnecting a client
115-
* Raise this if log has "Evicting client" messages for cluster PIDs (a good value is the number of resources in the cluster multiplied by the number of nodes).
116-
* Possible values: nonnegative_integer (default: )
117-
118111
* stop-all-resources: Whether the cluster should stop all active resources
119112
* Possible values: boolean (default: )
120113

121-
* stop-removed-resources: Whether to stop resources that were removed from the configuration
122-
* Possible values: boolean (default: )
123-
124-
* stop-removed-actions: Whether to cancel recurring actions removed from the configuration
125-
* Possible values: boolean (default: )
126-
127114
* pe-error-series-max: The number of scheduler inputs resulting in errors to save
128115
* Zero to disable, -1 to store unlimited.
129116
* Possible values: integer (default: )
@@ -260,6 +247,7 @@ Also known as properties, these are options that affect behavior across the enti
260247
<content type="boolean" default=""/>
261248
</parameter>
262249
<parameter name="enable-startup-probes" advanced="0" generated="0">
250+
<deprecated/>
263251
<longdesc lang="en">Whether the cluster should check for active resources during start-up</longdesc>
264252
<shortdesc lang="en">Whether the cluster should check for active resources during start-up</shortdesc>
265253
<content type="boolean" default=""/>
@@ -411,16 +399,18 @@ Also known as properties, these are options that affect behavior across the enti
411399
<content type="integer" default=""/>
412400
</parameter>
413401
<parameter name="cluster-ipc-limit" advanced="0" generated="0">
414-
<longdesc lang="en">Raise this if log has "Evicting client" messages for cluster PIDs (a good value is the number of resources in the cluster multiplied by the number of nodes).</longdesc>
415-
<shortdesc lang="en">Maximum IPC message backlog before disconnecting a client</shortdesc>
416-
<content type="nonnegative_integer" default=""/>
402+
<deprecated/>
403+
<longdesc lang="en">Ignored</longdesc>
404+
<shortdesc lang="en">Ignored</shortdesc>
405+
<content type="nonnegative_integer"/>
417406
</parameter>
418407
<parameter name="stop-all-resources" advanced="0" generated="0">
419408
<longdesc lang="en">Whether the cluster should stop all active resources</longdesc>
420409
<shortdesc lang="en">Whether the cluster should stop all active resources</shortdesc>
421410
<content type="boolean" default=""/>
422411
</parameter>
423412
<parameter name="stop-removed-resources" advanced="0" generated="0">
413+
<deprecated/>
424414
<longdesc lang="en">Whether to stop resources that were removed from the configuration</longdesc>
425415
<shortdesc lang="en">Whether to stop resources that were removed from the configuration</shortdesc>
426416
<content type="boolean" default=""/>
@@ -433,17 +423,18 @@ Also known as properties, these are options that affect behavior across the enti
433423
<shortdesc lang="en">Deprecated alias for stop-removed-resources</shortdesc>
434424
<content type="boolean" default=""/>
435425
</parameter>
436-
<parameter name="stop-removed-actions" advanced="0" generated="0">
426+
<parameter name="cancel-removed-actions" advanced="0" generated="0">
427+
<deprecated/>
437428
<longdesc lang="en">Whether to cancel recurring actions removed from the configuration</longdesc>
438429
<shortdesc lang="en">Whether to cancel recurring actions removed from the configuration</shortdesc>
439430
<content type="boolean" default=""/>
440431
</parameter>
441432
<parameter name="stop-orphan-actions" advanced="0" generated="0">
442433
<deprecated>
443-
<replaced-with name="stop-removed-actions"/>
434+
<replaced-with name="cancel-removed-actions"/>
444435
</deprecated>
445-
<longdesc lang="en">Deprecated alias for stop-removed-actions</longdesc>
446-
<shortdesc lang="en">Deprecated alias for stop-removed-actions</shortdesc>
436+
<longdesc lang="en">Deprecated alias for cancel-removed-actions</longdesc>
437+
<shortdesc lang="en">Deprecated alias for cancel-removed-actions</shortdesc>
447438
<content type="boolean" default=""/>
448439
</parameter>
449440
<parameter name="pe-error-series-max" advanced="0" generated="0">
@@ -557,9 +548,6 @@ Also known as properties, these are options that affect behavior across the enti
557548
* When true, the cluster will immediately ban a resource from a node if it fails to start there. When false, the cluster will instead check the resource's fail count against its migration-threshold.
558549
* Possible values: boolean (default: )
559550

560-
* enable-startup-probes: Whether the cluster should check for active resources during start-up
561-
* Possible values: boolean (default: )
562-
563551
* fencing-action: Action to send to fence device when a node needs to be fenced
564552
* Possible values: "reboot" (default), "off"
565553

@@ -607,19 +595,9 @@ Also known as properties, these are options that affect behavior across the enti
607595
* migration-limit: The number of live migration actions that the cluster is allowed to execute in parallel on a node (-1 means no limit)
608596
* Possible values: integer (default: )
609597

610-
* cluster-ipc-limit: Maximum IPC message backlog before disconnecting a client
611-
* Raise this if log has "Evicting client" messages for cluster PIDs (a good value is the number of resources in the cluster multiplied by the number of nodes).
612-
* Possible values: nonnegative_integer (default: )
613-
614598
* stop-all-resources: Whether the cluster should stop all active resources
615599
* Possible values: boolean (default: )
616600

617-
* stop-removed-resources: Whether to stop resources that were removed from the configuration
618-
* Possible values: boolean (default: )
619-
620-
* stop-removed-actions: Whether to cancel recurring actions removed from the configuration
621-
* Possible values: boolean (default: )
622-
623601
* pe-error-series-max: The number of scheduler inputs resulting in errors to save
624602
* Zero to disable, -1 to store unlimited.
625603
* Possible values: integer (default: )
@@ -687,9 +665,21 @@ Also known as properties, these are options that affect behavior across the enti
687665

688666
* DEPRECATED OPTIONS (will be removed in a future release):
689667

668+
* enable-startup-probes: Whether the cluster should check for active resources during start-up
669+
* Possible values: boolean (default: )
670+
690671
* concurrent-fencing: Allow performing fencing operations in parallel
691672
* Possible values: boolean (default: )
692673

674+
* cluster-ipc-limit: Ignored
675+
* Possible values: nonnegative_integer (no default)
676+
677+
* stop-removed-resources: Whether to stop resources that were removed from the configuration
678+
* Possible values: boolean (default: )
679+
680+
* cancel-removed-actions: Whether to cancel recurring actions removed from the configuration
681+
* Possible values: boolean (default: )
682+
693683
* stonith-enabled: Deprecated alias for fencing-enabled
694684
* Possible values: boolean (default: )
695685

@@ -711,7 +701,7 @@ Also known as properties, these are options that affect behavior across the enti
711701
* stop-orphan-resources: Deprecated alias for stop-removed-resources
712702
* Possible values: boolean (default: )
713703

714-
* stop-orphan-actions: Deprecated alias for stop-removed-actions
704+
* stop-orphan-actions: Deprecated alias for cancel-removed-actions
715705
* Possible values: boolean (default: )
716706
=#=#=#= End test: List all available cluster options - OK (0) =#=#=#=
717707
* Passed: crm_attribute - List all available cluster options
@@ -815,6 +805,7 @@ Also known as properties, these are options that affect behavior across the enti
815805
<content type="boolean" default=""/>
816806
</parameter>
817807
<parameter name="enable-startup-probes" advanced="0" generated="0">
808+
<deprecated/>
818809
<longdesc lang="en">Whether the cluster should check for active resources during start-up</longdesc>
819810
<shortdesc lang="en">Whether the cluster should check for active resources during start-up</shortdesc>
820811
<content type="boolean" default=""/>
@@ -966,16 +957,18 @@ Also known as properties, these are options that affect behavior across the enti
966957
<content type="integer" default=""/>
967958
</parameter>
968959
<parameter name="cluster-ipc-limit" advanced="0" generated="0">
969-
<longdesc lang="en">Raise this if log has "Evicting client" messages for cluster PIDs (a good value is the number of resources in the cluster multiplied by the number of nodes).</longdesc>
970-
<shortdesc lang="en">Maximum IPC message backlog before disconnecting a client</shortdesc>
971-
<content type="nonnegative_integer" default=""/>
960+
<deprecated/>
961+
<longdesc lang="en">Ignored</longdesc>
962+
<shortdesc lang="en">Ignored</shortdesc>
963+
<content type="nonnegative_integer"/>
972964
</parameter>
973965
<parameter name="stop-all-resources" advanced="0" generated="0">
974966
<longdesc lang="en">Whether the cluster should stop all active resources</longdesc>
975967
<shortdesc lang="en">Whether the cluster should stop all active resources</shortdesc>
976968
<content type="boolean" default=""/>
977969
</parameter>
978970
<parameter name="stop-removed-resources" advanced="0" generated="0">
971+
<deprecated/>
979972
<longdesc lang="en">Whether to stop resources that were removed from the configuration</longdesc>
980973
<shortdesc lang="en">Whether to stop resources that were removed from the configuration</shortdesc>
981974
<content type="boolean" default=""/>
@@ -988,17 +981,18 @@ Also known as properties, these are options that affect behavior across the enti
988981
<shortdesc lang="en">Deprecated alias for stop-removed-resources</shortdesc>
989982
<content type="boolean" default=""/>
990983
</parameter>
991-
<parameter name="stop-removed-actions" advanced="0" generated="0">
984+
<parameter name="cancel-removed-actions" advanced="0" generated="0">
985+
<deprecated/>
992986
<longdesc lang="en">Whether to cancel recurring actions removed from the configuration</longdesc>
993987
<shortdesc lang="en">Whether to cancel recurring actions removed from the configuration</shortdesc>
994988
<content type="boolean" default=""/>
995989
</parameter>
996990
<parameter name="stop-orphan-actions" advanced="0" generated="0">
997991
<deprecated>
998-
<replaced-with name="stop-removed-actions"/>
992+
<replaced-with name="cancel-removed-actions"/>
999993
</deprecated>
1000-
<longdesc lang="en">Deprecated alias for stop-removed-actions</longdesc>
1001-
<shortdesc lang="en">Deprecated alias for stop-removed-actions</shortdesc>
994+
<longdesc lang="en">Deprecated alias for cancel-removed-actions</longdesc>
995+
<shortdesc lang="en">Deprecated alias for cancel-removed-actions</shortdesc>
1002996
<content type="boolean" default=""/>
1003997
</parameter>
1004998
<parameter name="pe-error-series-max" advanced="0" generated="0">

cts/cli/regression.daemons.exp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
</parameter>
2222
<parameter name="cluster-ipc-limit">
2323
<longdesc lang="en">
24-
Raise this if log has "Evicting client" messages for cluster PIDs (a good value is the number of resources in the cluster multiplied by the number of nodes).
24+
Ignored
2525
</longdesc>
2626
<shortdesc lang="en">
27-
Maximum IPC message backlog before disconnecting a client
27+
*** Deprecated ***
2828
</shortdesc>
29-
<content type="integer" default=""/>
29+
<content type="integer"/>
3030
</parameter>
3131
</parameters>
3232
</resource-agent>
@@ -540,7 +540,7 @@
540540
Whether the cluster should check for active resources during start-up
541541
</longdesc>
542542
<shortdesc lang="en">
543-
Whether the cluster should check for active resources during start-up
543+
*** Deprecated ***
544544
</shortdesc>
545545
<content type="boolean" default=""/>
546546
</parameter>
@@ -699,7 +699,7 @@
699699
Whether to stop resources that were removed from the configuration
700700
</longdesc>
701701
<shortdesc lang="en">
702-
Whether to stop resources that were removed from the configuration
702+
*** Deprecated ***
703703
</shortdesc>
704704
<content type="boolean" default=""/>
705705
</parameter>
@@ -712,21 +712,21 @@
712712
</shortdesc>
713713
<content type="boolean" default=""/>
714714
</parameter>
715-
<parameter name="stop-removed-actions">
715+
<parameter name="cancel-removed-actions">
716716
<longdesc lang="en">
717717
Whether to cancel recurring actions removed from the configuration
718718
</longdesc>
719719
<shortdesc lang="en">
720-
Whether to cancel recurring actions removed from the configuration
720+
*** Deprecated ***
721721
</shortdesc>
722722
<content type="boolean" default=""/>
723723
</parameter>
724724
<parameter name="stop-orphan-actions">
725725
<longdesc lang="en">
726-
Deprecated alias for stop-removed-actions
726+
Deprecated alias for cancel-removed-actions
727727
</longdesc>
728728
<shortdesc lang="en">
729-
*** Deprecated *** *** Replaced with stop-removed-actions ***
729+
*** Deprecated *** *** Replaced with cancel-removed-actions ***
730730
</shortdesc>
731731
<content type="boolean" default=""/>
732732
</parameter>

cts/scheduler/xml/asymmetric.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<cluster_property_set id="cib-bootstrap-options">
55
<nvpair id="nvpair.id21849" name="dc-version" value="0.6.3-node: fd8904c9bc67a2396bb5a7908bc7de0540241b1a"/>
66
<nvpair id="nvpair.id21859" name="symmetric-cluster" value="false"/>
7-
<nvpair id="nvpair.id21878" name="stop-removed-resources" value="true"/>
8-
<nvpair id="nvpair.id21887" name="stop-removed-actions" value="true"/>
97
<nvpair id="nvpair.id21897" name="no-quorum-policy" value="ignore"/>
108
<nvpair id="nvpair.id21906" name="fencing-enabled" value="false"/>
119
<nvpair id="nvpair.id21915" name="fencing-action" value="reboot"/>

cts/scheduler/xml/bug-1572-1.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<nvpair id="nvpair.id21859" name="no_quorum-policy" value="stop"/>
77
<nvpair id="nvpair.id21887" name="fencing-enabled" value="false"/>
88
<nvpair id="nvpair.id21896" name="fencing-action" value="reboot"/>
9-
<nvpair id="nvpair.id21905" name="stop-removed-resources" value="true"/>
10-
<nvpair id="nvpair.id21914" name="stop-removed-actions" value="true"/>
119
<nvpair id="nvpair.id21942" name="transition-idle-timeout" value="5min"/>
1210
<nvpair name="last-lrm-refresh" id="nvpair.id21970" value="1178199084"/>
1311
</cluster_property_set>

cts/scheduler/xml/bug-1572-2.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<nvpair id="nvpair.id21859" name="no_quorum-policy" value="stop"/>
77
<nvpair id="nvpair.id21887" name="fencing-enabled" value="false"/>
88
<nvpair id="nvpair.id21896" name="fencing-action" value="reboot"/>
9-
<nvpair id="nvpair.id21905" name="stop-removed-resources" value="true"/>
10-
<nvpair id="nvpair.id21914" name="stop-removed-actions" value="true"/>
119
<nvpair id="nvpair.id21942" name="transition-idle-timeout" value="5min"/>
1210
<nvpair name="last-lrm-refresh" id="nvpair.id21970" value="1178199084"/>
1311
</cluster_property_set>

cts/scheduler/xml/bug-1573.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<nvpair id="nvpair.id21858" name="no_quorum-policy" value="stop"/>
77
<nvpair id="nvpair.id21886" name="fencing-enabled" value="false"/>
88
<nvpair id="nvpair.id21895" name="fencing-action" value="reboot"/>
9-
<nvpair id="nvpair.id21904" name="stop-removed-resources" value="true"/>
10-
<nvpair id="nvpair.id21914" name="stop-removed-actions" value="true"/>
119
<nvpair id="nvpair.id21942" name="transition-idle-timeout" value="5min"/>
1210
<nvpair id="nvpair.id21969" name="last-lrm-refresh" value="1179263353"/>
1311
</cluster_property_set>

cts/scheduler/xml/bug-1685.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
<nvpair id="nvpair.id21858" name="startup-fencing" value="true"/>
66
<nvpair id="nvpair.id21867" name="fencing-enabled" value="false"/>
77
<nvpair id="nvpair.id21876" name="symmetric-cluster" value="true"/>
8-
<nvpair id="nvpair.id21885" name="stop-removed-actions" value="true"/>
98
<nvpair id="nvpair.id21894" name="fencing-action" value="reboot"/>
10-
<nvpair id="nvpair.id21913" name="stop-removed-resources" value="true"/>
119
<nvpair id="nvpair.id21922" name="no-quorum-policy" value="stop"/>
1210
<nvpair id="nvpair.id21941" name="probe_complete" value="true"/>
1311
<nvpair id="nvpair.id21950" name="transition-idle-timeout" value="60s"/>

cts/scheduler/xml/bug-1822.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
<nvpair id="nvpair.id21884" name="cluster-delay" value="180s"/>
88
<nvpair id="nvpair.id21901" name="no-quorum-policy" value="ignore"/>
99
<nvpair id="nvpair.id21910" name="symmetric-cluster" value="true"/>
10-
<nvpair id="nvpair.id21938" name="stop-removed-resources" value="true"/>
11-
<nvpair id="nvpair.id21947" name="stop-removed-actions" value="true"/>
1210
<nvpair id="nvpair.id21965" name="dc-deadtime" value="10s"/>
1311
<nvpair id="nvpair.id21973" name="cluster-recheck-interval" value="0"/>
1412
<nvpair id="nvpair.id21982" name="election-timeout" value="2min"/>

cts/scheduler/xml/clone-anon-dup.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<nvpair id="symmetric-cluster" name="symmetric-cluster" value="true"/>
66
<nvpair id="transition-idle-timeout" name="transition-idle-timeout" value="60"/>
77
<nvpair id="no-quorum-policy" name="no-quorum-policy" value="stop"/>
8-
<nvpair id="stop-removed-resources" name="stop-removed-resources" value="false"/>
9-
<nvpair id="stop-removed-actions" name="stop-removed-actions" value="true"/>
108
<nvpair id="fencing-enabled" name="fencing-enabled" value="true"/>
119
<nvpair id="fencing-action" name="fencing-action" value="reboot"/>
1210
<!-- see /usr/lib/heartbeat/crmd metadata - set to defaults -->

0 commit comments

Comments
 (0)