From 0c8d98bb420b5ea366de361758c6c01851f94630 Mon Sep 17 00:00:00 2001 From: Ivan Devat Date: Mon, 23 May 2016 17:00:13 +0200 Subject: [PATCH] change cman to rhel6 in messages --- pcs/cluster.py | 6 +++--- pcs/lib/reports.py | 8 ++++---- pcs/pcs.8 | 10 +++++----- pcs/usage.py | 20 ++++++++++---------- pcsd/views/_dialogs.erb | 2 +- pcsd/views/manage.erb | 16 ++++++++-------- pcsd/views/nodes.erb | 2 +- 7 files changed, 32 insertions(+), 32 deletions(-) diff --git a/pcs/cluster.py b/pcs/cluster.py index e5ad1ec..4572643 100644 --- a/pcs/cluster.py +++ b/pcs/cluster.py @@ -1553,7 +1553,7 @@ def cluster_node(argv): else: utils.err("Unable to update any nodes") if utils.is_cman_with_udpu_transport(): - print("Warning: Using udpu transport on a CMAN cluster, " + print("Warning: Using udpu transport on a RHEL 6 cluster, " + "cluster restart is required to apply node addition") if wait: print() @@ -1628,7 +1628,7 @@ def cluster_node(argv): output, retval = utils.reloadCorosync() output, retval = utils.run(["crm_node", "--force", "-R", node0]) if utils.is_cman_with_udpu_transport(): - print("Warning: Using udpu transport on a CMAN cluster, " + print("Warning: Using udpu transport on a RHEL 6 cluster, " + "cluster restart is required to apply node removal") def cluster_localnode(argv): @@ -1796,7 +1796,7 @@ def cluster_uidgid(argv, silent_list = False): def cluster_get_corosync_conf(argv): if utils.is_rhel6(): - utils.err("corosync.conf is not supported on CMAN clusters") + utils.err("corosync.conf is not supported on RHEL 6 clusters") if len(argv) > 1: usage.cluster() diff --git a/pcs/lib/reports.py b/pcs/lib/reports.py index cff491c..89888c5 100644 --- a/pcs/lib/reports.py +++ b/pcs/lib/reports.py @@ -893,7 +893,7 @@ def cman_unsupported_command(): """ return ReportItem.error( report_codes.CMAN_UNSUPPORTED_COMMAND, - "This command is not supported on CMAN clusters" + "This command is not supported on RHEL 6 clusters" ) def id_already_exists(id): @@ -1138,7 +1138,7 @@ def cman_ignored_option(option): """ return ReportItem.warning( report_codes.IGNORED_CMAN_UNSUPPORTED_OPTION, - '{option_name} ignored as it is not supported on CMAN clusters', + '{option_name} ignored as it is not supported on RHEL 6 clusters', info={'option_name': option} ) @@ -1159,7 +1159,7 @@ def cman_udpu_restart_required(): """ return ReportItem.warning( report_codes.CMAN_UDPU_RESTART_REQUIRED, - "Using udpu transport on a CMAN cluster, " + "Using udpu transport on a RHEL 6 cluster, " + "cluster restart is required after node add or remove" ) @@ -1169,7 +1169,7 @@ def cman_broadcast_all_rings(): """ return ReportItem.warning( report_codes.CMAN_BROADCAST_ALL_RINGS, - "Enabling broadcast for all rings as CMAN does not support " + "Enabling broadcast for all rings as RHEL 6 does not support " + "broadcast in only one ring" ) diff --git a/pcs/pcs.8 b/pcs/pcs.8 index 1efe8f4..dffaddd 100644 --- a/pcs/pcs.8 +++ b/pcs/pcs.8 @@ -197,13 +197,13 @@ auth [node] [...] [\fB\-u\fR username] [\fB\-p\fR password] [\fB\-\-force\fR] [\ Authenticate pcs to pcsd on nodes specified, or on all nodes configured in corosync.conf if no nodes are specified (authorization tokens are stored in ~/.pcs/tokens or /var/lib/pcsd/tokens for root). By default all nodes are also authenticated to each other, using \fB\-\-local\fR only authenticates the local node (and does not authenticate the remote nodes with each other). Using \fB\-\-force\fR forces re-authentication to occur. .TP setup [\fB\-\-start\fR [\fB\-\-wait\fR[=]]] [\fB\-\-local\fR] [\fB\-\-enable\fR] \fB\-\-name\fR [] [...] [\fB\-\-transport\fR udpu|udp] [\fB\-\-rrpmode\fR active|passive] [\fB\-\-addr0\fR [[[\fB\-\-mcast0\fR
] [\fB\-\-mcastport0\fR ] [\fB\-\-ttl0\fR ]] | [\fB\-\-broadcast0\fR]] [\fB\-\-addr1\fR [[[\fB\-\-mcast1\fR
] [\fB\-\-mcastport1\fR ] [\fB\-\-ttl1\fR ]] | [\fB\-\-broadcast1\fR]]]] [\fB\-\-wait_for_all\fR=<0|1>] [\fB\-\-auto_tie_breaker\fR=<0|1>] [\fB\-\-last_man_standing\fR=<0|1> [\fB\-\-last_man_standing_window\fR=