Blame SOURCES/do-not-support-cluster-setup-with-udp-u-transport.patch

3362d5
From 4470259655fa10cb5908fee00653483e7056f1a7 Mon Sep 17 00:00:00 2001
50c00a
From: Ivan Devat <idevat@redhat.com>
50c00a
Date: Tue, 20 Nov 2018 15:03:56 +0100
3362d5
Subject: [PATCH] do not support cluster setup with udp(u) transport
50c00a
50c00a
---
ce1222
 pcs/pcs.8.in              | 2 ++
50c00a
 pcs/usage.py              | 1 +
50c00a
 pcsd/public/css/style.css | 3 +++
50c00a
 3 files changed, 6 insertions(+)
50c00a
ce1222
diff --git a/pcs/pcs.8.in b/pcs/pcs.8.in
3362d5
index d1a6dcf2..cd00f8ac 100644
ce1222
--- a/pcs/pcs.8.in
ce1222
+++ b/pcs/pcs.8.in
9e0fa3
@@ -436,6 +436,8 @@ By default, encryption is enabled with cipher=aes256 and hash=sha256. To disable
50c00a
 
50c00a
 Transports udp and udpu:
50c00a
 .br
50c00a
+WARNING: These transports are not supported in RHEL 8.
50c00a
+.br
50c00a
 These transports are limited to one address per node. They do not support traffic encryption nor compression.
50c00a
 .br
50c00a
 Transport options are: ip_version, netmtu
50c00a
diff --git a/pcs/usage.py b/pcs/usage.py
3362d5
index c3174d82..0a6ffcb6 100644
50c00a
--- a/pcs/usage.py
50c00a
+++ b/pcs/usage.py
3362d5
@@ -1004,6 +1004,7 @@ Commands:
50c00a
             hash=sha256. To disable encryption, set cipher=none and hash=none.
50c00a
 
50c00a
         Transports udp and udpu:
50c00a
+        WARNING: These transports are not supported in RHEL 8.
50c00a
         These transports are limited to one address per node. They do not
50c00a
         support traffic encryption nor compression.
50c00a
         Transport options are:
50c00a
diff --git a/pcsd/public/css/style.css b/pcsd/public/css/style.css
ce1222
index 2f26e831..a7702ac4 100644
50c00a
--- a/pcsd/public/css/style.css
50c00a
+++ b/pcsd/public/css/style.css
50c00a
@@ -949,6 +949,9 @@ table.args-table td.reg {
50c00a
   width: 6ch;
50c00a
   text-align: right;
50c00a
 }
50c00a
+#csetup-transport .transport-types {
50c00a
+  display: none;
50c00a
+}
50c00a
 #csetup-transport-options.udp .knet-only,
50c00a
 #csetup-transport-options.knet .without-knet
50c00a
 {
50c00a
-- 
3362d5
2.38.1
50c00a