import pcs-0.10.8-2.el8
This commit is contained in:
commit
3321d1a41e
25
.gitignore
vendored
Normal file
25
.gitignore
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
SOURCES/HAM-logo.png
|
||||
SOURCES/backports-3.17.2.gem
|
||||
SOURCES/dacite-1.6.0.tar.gz
|
||||
SOURCES/daemons-1.3.1.gem
|
||||
SOURCES/dataclasses-0.8.tar.gz
|
||||
SOURCES/ethon-0.12.0.gem
|
||||
SOURCES/eventmachine-1.2.7.gem
|
||||
SOURCES/ffi-1.13.1.gem
|
||||
SOURCES/json-2.3.0.gem
|
||||
SOURCES/mustermann-1.1.1.gem
|
||||
SOURCES/open4-1.3.4-1.gem
|
||||
SOURCES/pcs-0.10.8.181-47e9.tar.gz
|
||||
SOURCES/pcs-web-ui-0.1.6.tar.gz
|
||||
SOURCES/pcs-web-ui-node-modules-0.1.6.tar.xz
|
||||
SOURCES/pyagentx-0.4.pcs.2.tar.gz
|
||||
SOURCES/python-dateutil-2.8.1.tar.gz
|
||||
SOURCES/rack-2.2.3.gem
|
||||
SOURCES/rack-protection-2.0.8.1.gem
|
||||
SOURCES/rack-test-1.1.0.gem
|
||||
SOURCES/rexml-3.2.5.gem
|
||||
SOURCES/ruby2_keywords-0.0.2.gem
|
||||
SOURCES/sinatra-2.0.8.1.gem
|
||||
SOURCES/thin-1.7.2.gem
|
||||
SOURCES/tilt-2.0.10.gem
|
||||
SOURCES/tornado-6.1.0.tar.gz
|
25
.pcs.metadata
Normal file
25
.pcs.metadata
Normal file
@ -0,0 +1,25 @@
|
||||
679a4ce22a33ffd4d704261a17c00cff98d9499a SOURCES/HAM-logo.png
|
||||
28b63a742124da6c9575a1c5e7d7331ef93600b2 SOURCES/backports-3.17.2.gem
|
||||
31546c37fbdc6270d5097687619e9c0db6f1c05c SOURCES/dacite-1.6.0.tar.gz
|
||||
e28c1e78d1a6e34e80f4933b494f1e0501939dd3 SOURCES/daemons-1.3.1.gem
|
||||
8b7598273d2ae6dad2b88466aefac55071a41926 SOURCES/dataclasses-0.8.tar.gz
|
||||
921ef1be44583a7644ee7f20fe5f26f21d018a04 SOURCES/ethon-0.12.0.gem
|
||||
7a5b2896e210fac9759c786ee4510f265f75b481 SOURCES/eventmachine-1.2.7.gem
|
||||
cfa25e7a3760c3ec16723cb8263d9b7a52d0eadf SOURCES/ffi-1.13.1.gem
|
||||
0230e8c5a37f1543982e5b04be503dd5f9004b47 SOURCES/json-2.3.0.gem
|
||||
50a4e37904485810cb05e27d75c9783e5a8f3402 SOURCES/mustermann-1.1.1.gem
|
||||
41a7fe9f8e3e02da5ae76c821b89c5b376a97746 SOURCES/open4-1.3.4-1.gem
|
||||
cda150aa3e2e5b5c84ec4f462914e167c6a2526c SOURCES/pcs-0.10.8.181-47e9.tar.gz
|
||||
0d5a8c5f3c2888e19de1f7180401bbfcfd423e24 SOURCES/pcs-web-ui-0.1.6.tar.gz
|
||||
3d401b7048e51cb097c3b55c77492e76dde1d443 SOURCES/pcs-web-ui-node-modules-0.1.6.tar.xz
|
||||
3176b2f2b332c2b6bf79fe882e83feecf3d3f011 SOURCES/pyagentx-0.4.pcs.2.tar.gz
|
||||
bd26127e57f83a10f656b62c46524c15aeb844dd SOURCES/python-dateutil-2.8.1.tar.gz
|
||||
345b7169d4d2d62176a225510399963bad62b68f SOURCES/rack-2.2.3.gem
|
||||
1f046e23baca8beece3b38c60382f44aa2b2cb41 SOURCES/rack-protection-2.0.8.1.gem
|
||||
b80bc5ca38a885e747271675ba91dd3d02136bf1 SOURCES/rack-test-1.1.0.gem
|
||||
e7f48fa5fb2d92e6cb21d6b1638fe41a5a7c4287 SOURCES/rexml-3.2.5.gem
|
||||
0be571aacb5d6a212a30af3f322a7000d8af1ef9 SOURCES/ruby2_keywords-0.0.2.gem
|
||||
04cca7a5d9d641fe076e4e24dc5b6ff31922f4c3 SOURCES/sinatra-2.0.8.1.gem
|
||||
41395e86322ffd31f3a7aef1f697bda3e1e2d6b9 SOURCES/thin-1.7.2.gem
|
||||
d265c822a6b228392d899e9eb5114613d65e6967 SOURCES/tilt-2.0.10.gem
|
||||
c23c617c7a0205e465bebad5b8cdf289ae8402a2 SOURCES/tornado-6.1.0.tar.gz
|
@ -0,0 +1,53 @@
|
||||
From 34df297266fb33d2cc062f2a5a584183a450d763 Mon Sep 17 00:00:00 2001
|
||||
From: Ivan Devat <idevat@redhat.com>
|
||||
Date: Tue, 20 Nov 2018 15:03:56 +0100
|
||||
Subject: [PATCH 2/2] do not support cluster setup with udp(u) transport
|
||||
|
||||
---
|
||||
pcs/pcs.8.in | 2 ++
|
||||
pcs/usage.py | 1 +
|
||||
pcsd/public/css/style.css | 3 +++
|
||||
3 files changed, 6 insertions(+)
|
||||
|
||||
diff --git a/pcs/pcs.8.in b/pcs/pcs.8.in
|
||||
index 205fdc4e..dfa7f1ea 100644
|
||||
--- a/pcs/pcs.8.in
|
||||
+++ b/pcs/pcs.8.in
|
||||
@@ -420,6 +420,8 @@ By default, encryption is enabled with cipher=aes256 and hash=sha256. To disable
|
||||
|
||||
Transports udp and udpu:
|
||||
.br
|
||||
+WARNING: These transports are not supported in RHEL 8.
|
||||
+.br
|
||||
These transports are limited to one address per node. They do not support traffic encryption nor compression.
|
||||
.br
|
||||
Transport options are: ip_version, netmtu
|
||||
diff --git a/pcs/usage.py b/pcs/usage.py
|
||||
index cec99ef2..30515ebb 100644
|
||||
--- a/pcs/usage.py
|
||||
+++ b/pcs/usage.py
|
||||
@@ -853,6 +853,7 @@ Commands:
|
||||
hash=sha256. To disable encryption, set cipher=none and hash=none.
|
||||
|
||||
Transports udp and udpu:
|
||||
+ WARNING: These transports are not supported in RHEL 8.
|
||||
These transports are limited to one address per node. They do not
|
||||
support traffic encryption nor compression.
|
||||
Transport options are:
|
||||
diff --git a/pcsd/public/css/style.css b/pcsd/public/css/style.css
|
||||
index 2f26e831..a7702ac4 100644
|
||||
--- a/pcsd/public/css/style.css
|
||||
+++ b/pcsd/public/css/style.css
|
||||
@@ -949,6 +949,9 @@ table.args-table td.reg {
|
||||
width: 6ch;
|
||||
text-align: right;
|
||||
}
|
||||
+#csetup-transport .transport-types {
|
||||
+ display: none;
|
||||
+}
|
||||
#csetup-transport-options.udp .knet-only,
|
||||
#csetup-transport-options.knet .without-knet
|
||||
{
|
||||
--
|
||||
2.31.1
|
||||
|
151
SOURCES/fix-wrong-name-for-library-command.patch
Normal file
151
SOURCES/fix-wrong-name-for-library-command.patch
Normal file
@ -0,0 +1,151 @@
|
||||
From 79570d1d344de985e40602d373eebcf6e94b83d9 Mon Sep 17 00:00:00 2001
|
||||
From: Ivan Devat <idevat@redhat.com>
|
||||
Date: Thu, 10 Jun 2021 14:52:15 +0200
|
||||
Subject: [PATCH 1/2] fix wrong name for library command
|
||||
|
||||
---
|
||||
pcs/cli/common/lib_wrapper.py | 8 ++++----
|
||||
pcs/cli/constraint_colocation/command.py | 2 +-
|
||||
pcs/cli/constraint_order/command.py | 4 +++-
|
||||
pcs/cli/constraint_ticket/command.py | 4 ++--
|
||||
pcs_test/tier0/cli/common/test_lib_wrapper.py | 6 +++---
|
||||
pcs_test/tier0/cli/constraint_ticket/test_command.py | 8 ++++----
|
||||
6 files changed, 17 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/pcs/cli/common/lib_wrapper.py b/pcs/cli/common/lib_wrapper.py
|
||||
index d9a6bd26..c41ce875 100644
|
||||
--- a/pcs/cli/common/lib_wrapper.py
|
||||
+++ b/pcs/cli/common/lib_wrapper.py
|
||||
@@ -230,7 +230,7 @@ def load_module(env, middleware_factory, name):
|
||||
env,
|
||||
middleware.build(middleware_factory.cib),
|
||||
{
|
||||
- "set": constraint_colocation.create_with_set,
|
||||
+ "create_with_set": constraint_colocation.create_with_set,
|
||||
"show": constraint_colocation.show,
|
||||
},
|
||||
)
|
||||
@@ -240,7 +240,7 @@ def load_module(env, middleware_factory, name):
|
||||
env,
|
||||
middleware.build(middleware_factory.cib),
|
||||
{
|
||||
- "set": constraint_order.create_with_set,
|
||||
+ "create_with_set": constraint_order.create_with_set,
|
||||
"show": constraint_order.show,
|
||||
},
|
||||
)
|
||||
@@ -250,9 +250,9 @@ def load_module(env, middleware_factory, name):
|
||||
env,
|
||||
middleware.build(middleware_factory.cib),
|
||||
{
|
||||
- "set": constraint_ticket.create_with_set,
|
||||
+ "create_with_set": constraint_ticket.create_with_set,
|
||||
"show": constraint_ticket.show,
|
||||
- "add": constraint_ticket.create,
|
||||
+ "create": constraint_ticket.create,
|
||||
"remove": constraint_ticket.remove,
|
||||
},
|
||||
)
|
||||
diff --git a/pcs/cli/constraint_colocation/command.py b/pcs/cli/constraint_colocation/command.py
|
||||
index f5cf91ab..10539aa6 100644
|
||||
--- a/pcs/cli/constraint_colocation/command.py
|
||||
+++ b/pcs/cli/constraint_colocation/command.py
|
||||
@@ -18,7 +18,7 @@ def create_with_set(lib, argv, modifiers):
|
||||
"""
|
||||
modifiers.ensure_only_supported("-f", "--force")
|
||||
command.create_with_set(
|
||||
- lib.constraint_colocation.set,
|
||||
+ lib.constraint_colocation.create_with_set,
|
||||
argv,
|
||||
modifiers,
|
||||
)
|
||||
diff --git a/pcs/cli/constraint_order/command.py b/pcs/cli/constraint_order/command.py
|
||||
index 04a49c8e..7251a4a7 100644
|
||||
--- a/pcs/cli/constraint_order/command.py
|
||||
+++ b/pcs/cli/constraint_order/command.py
|
||||
@@ -17,7 +17,9 @@ def create_with_set(lib, argv, modifiers):
|
||||
* -f - CIB file
|
||||
"""
|
||||
modifiers.ensure_only_supported("--force", "-f")
|
||||
- command.create_with_set(lib.constraint_order.set, argv, modifiers)
|
||||
+ command.create_with_set(
|
||||
+ lib.constraint_order.create_with_set, argv, modifiers
|
||||
+ )
|
||||
|
||||
|
||||
def show(lib, argv, modifiers):
|
||||
diff --git a/pcs/cli/constraint_ticket/command.py b/pcs/cli/constraint_ticket/command.py
|
||||
index 7823981e..b4cd2bcd 100644
|
||||
--- a/pcs/cli/constraint_ticket/command.py
|
||||
+++ b/pcs/cli/constraint_ticket/command.py
|
||||
@@ -20,7 +20,7 @@ def create_with_set(lib, argv, modifiers):
|
||||
"""
|
||||
modifiers.ensure_only_supported("--force", "-f")
|
||||
command.create_with_set(
|
||||
- lib.constraint_ticket.set,
|
||||
+ lib.constraint_ticket.create_with_set,
|
||||
argv,
|
||||
modifiers,
|
||||
)
|
||||
@@ -50,7 +50,7 @@ def add(lib, argv, modifiers):
|
||||
if resource_role:
|
||||
options["rsc-role"] = resource_role
|
||||
|
||||
- lib.constraint_ticket.add(
|
||||
+ lib.constraint_ticket.create(
|
||||
ticket,
|
||||
resource_id,
|
||||
options,
|
||||
diff --git a/pcs_test/tier0/cli/common/test_lib_wrapper.py b/pcs_test/tier0/cli/common/test_lib_wrapper.py
|
||||
index 3a8188c6..33538685 100644
|
||||
--- a/pcs_test/tier0/cli/common/test_lib_wrapper.py
|
||||
+++ b/pcs_test/tier0/cli/common/test_lib_wrapper.py
|
||||
@@ -25,8 +25,8 @@ class LibraryWrapperTest(TestCase):
|
||||
mock_middleware_factory.cib = dummy_middleware
|
||||
mock_middleware_factory.corosync_conf_existing = dummy_middleware
|
||||
mock_env = mock.MagicMock()
|
||||
- Library(mock_env, mock_middleware_factory).constraint_order.set(
|
||||
- "first", second="third"
|
||||
- )
|
||||
+ Library(
|
||||
+ mock_env, mock_middleware_factory
|
||||
+ ).constraint_order.create_with_set("first", second="third")
|
||||
|
||||
mock_order_set.assert_called_once_with(lib_env, "first", second="third")
|
||||
diff --git a/pcs_test/tier0/cli/constraint_ticket/test_command.py b/pcs_test/tier0/cli/constraint_ticket/test_command.py
|
||||
index 118bfa22..ca4835c3 100644
|
||||
--- a/pcs_test/tier0/cli/constraint_ticket/test_command.py
|
||||
+++ b/pcs_test/tier0/cli/constraint_ticket/test_command.py
|
||||
@@ -24,12 +24,12 @@ class AddTest(TestCase):
|
||||
)
|
||||
lib = mock.MagicMock()
|
||||
lib.constraint_ticket = mock.MagicMock()
|
||||
- lib.constraint_ticket.add = mock.MagicMock()
|
||||
+ lib.constraint_ticket.create = mock.MagicMock()
|
||||
|
||||
command.add(lib, ["argv"], _modifiers())
|
||||
|
||||
mock_parse_add.assert_called_once_with(["argv"])
|
||||
- lib.constraint_ticket.add.assert_called_once_with(
|
||||
+ lib.constraint_ticket.create.assert_called_once_with(
|
||||
"ticket",
|
||||
"resource_id",
|
||||
{"loss-policy": "fence"},
|
||||
@@ -60,12 +60,12 @@ class AddTest(TestCase):
|
||||
)
|
||||
lib = mock.MagicMock()
|
||||
lib.constraint_ticket = mock.MagicMock()
|
||||
- lib.constraint_ticket.add = mock.MagicMock()
|
||||
+ lib.constraint_ticket.create = mock.MagicMock()
|
||||
|
||||
command.add(lib, ["argv"], _modifiers())
|
||||
|
||||
mock_parse_add.assert_called_once_with(["argv"])
|
||||
- lib.constraint_ticket.add.assert_called_once_with(
|
||||
+ lib.constraint_ticket.create.assert_called_once_with(
|
||||
"ticket",
|
||||
"resource_id",
|
||||
{"loss-policy": "fence", "rsc-role": "resource_role"},
|
||||
--
|
||||
2.31.1
|
||||
|
1007
SPECS/pcs.spec
Normal file
1007
SPECS/pcs.spec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user