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

26d00b
From 652e3fd4bcd895d6863ca9c867473558164d83d2 Mon Sep 17 00:00:00 2001
d759a1
From: Ivan Devat <idevat@redhat.com>
d759a1
Date: Tue, 20 Nov 2018 15:03:56 +0100
23d26c
Subject: [PATCH] do not support cluster setup with udp(u) transport
d759a1
d759a1
---
329e08
 pcs/pcs.8.in              | 2 ++
d759a1
 pcs/usage.py              | 1 +
d759a1
 pcsd/public/css/style.css | 3 +++
d759a1
 3 files changed, 6 insertions(+)
d759a1
329e08
diff --git a/pcs/pcs.8.in b/pcs/pcs.8.in
26d00b
index 785c3d4f..9200f32a 100644
329e08
--- a/pcs/pcs.8.in
329e08
+++ b/pcs/pcs.8.in
26d00b
@@ -428,6 +428,8 @@ By default, encryption is enabled with cipher=aes256 and hash=sha256. To disable
d759a1
 
d759a1
 Transports udp and udpu:
d759a1
 .br
d759a1
+WARNING: These transports are not supported in RHEL 8.
d759a1
+.br
d759a1
 These transports are limited to one address per node. They do not support traffic encryption nor compression.
d759a1
 .br
d759a1
 Transport options are: ip_version, netmtu
d759a1
diff --git a/pcs/usage.py b/pcs/usage.py
26d00b
index 8d8ce7fa..70fcf4b7 100644
d759a1
--- a/pcs/usage.py
d759a1
+++ b/pcs/usage.py
26d00b
@@ -870,6 +870,7 @@ Commands:
d759a1
             hash=sha256. To disable encryption, set cipher=none and hash=none.
d759a1
 
d759a1
         Transports udp and udpu:
d759a1
+        WARNING: These transports are not supported in RHEL 8.
d759a1
         These transports are limited to one address per node. They do not
d759a1
         support traffic encryption nor compression.
d759a1
         Transport options are:
d759a1
diff --git a/pcsd/public/css/style.css b/pcsd/public/css/style.css
329e08
index 2f26e831..a7702ac4 100644
d759a1
--- a/pcsd/public/css/style.css
d759a1
+++ b/pcsd/public/css/style.css
d759a1
@@ -949,6 +949,9 @@ table.args-table td.reg {
d759a1
   width: 6ch;
d759a1
   text-align: right;
d759a1
 }
d759a1
+#csetup-transport .transport-types {
d759a1
+  display: none;
d759a1
+}
d759a1
 #csetup-transport-options.udp .knet-only,
d759a1
 #csetup-transport-options.knet .without-knet
d759a1
 {
d759a1
-- 
a2d821
2.31.1
d759a1