We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62b412f commit 13c349fCopy full SHA for 13c349f
repos/system_upgrade/el7toel8/actors/checkhacluster/libraries/checkhacluster.py
@@ -25,6 +25,17 @@ def inhibit(node_type):
25
" to a RHEL High Availability or Resilient Storage Cluster"
26
),
27
28
+ reporting.Remediation(
29
+ hint=(
30
+ "Destroy the existing HA cluster"
31
+ " or (if you have already removed HA cluster packages) remove"
32
+ " configuration files {0} and {1}".format(
33
+ CIB_LOCATION,
34
+ COROSYNC_CONF_LOCATION,
35
+ )
36
+ ),
37
+ commands=[["sh", "-c", "pcs cluster stop --all --wait && pcs cluster destroy --all"]]
38
39
reporting.RelatedResource('file', COROSYNC_CONF_LOCATION),
40
reporting.RelatedResource('file', CIB_LOCATION)
41
])
0 commit comments