osc copypac from project:systemsmanagement:saltstack:testing package:salt revision:379

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=183
This commit is contained in:
Pablo Suárez Hernández 2021-01-13 15:09:21 +00:00 committed by Git OBS Bridge
parent a39ea63ae4
commit 588fc6c9b9
4 changed files with 55 additions and 1 deletions

View File

@ -1 +1 @@
9d85a9b3aa831d4d880baab1e8488d3e3dbbc8f3
73673e4ab1d13c4393183b8ad6066dfab39c7e63

View File

@ -0,0 +1,43 @@
From 73e357d7eee19a73cade22becb30d9689cae27ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
<psuarezhernandez@suse.com>
Date: Wed, 13 Jan 2021 13:38:32 +0000
Subject: [PATCH] Remove deprecated warning that breaks miniion
execution when "server_id_use_crc" opts are missing
---
salt/minion.py | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/salt/minion.py b/salt/minion.py
index 4d271c6d08..4da665a130 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -82,7 +82,6 @@ from salt.utils.event import tagify
from salt.utils.network import parse_host_port
from salt.utils.odict import OrderedDict
from salt.utils.process import ProcessManager, SignalHandlingProcess, default_signals
-from salt.utils.versions import warn_until
from salt.utils.zeromq import ZMQ_VERSION_INFO, ZMQDefaultLoop, install_zmq, zmq
HAS_PSUTIL = False
@@ -1097,15 +1096,6 @@ class MinionManager(MinionBase):
):
masters = [masters]
- if not self.opts.get("server_id_use_crc"):
- warn_until(
- "Sodium",
- "This server_id is computed nor by Adler32 neither by CRC32. "
- 'Please use "server_id_use_crc" option and define algorithm you'
- 'prefer (default "Adler32"). The server_id will be computed with'
- "Adler32 by default.",
- )
-
beacons_leader = True
for master in masters:
s_opts = copy.deepcopy(self.opts)
--
2.29.2

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jan 13 13:49:34 UTC 2021 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
- Remove deprecated warning that breaks minion execution when "server_id_use_crc" opts is missing
- Added:
* remove-deprecated-warning-that-breaks-miniion-execut.patch
-------------------------------------------------------------------
Wed Jan 13 10:13:13 UTC 2021 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>

View File

@ -346,6 +346,8 @@ Patch142: add-patch-support-for-allow-vendor-change-option-wit.patch
Patch143: force-zyppnotify-to-prefer-packages.db-than-packages.patch
# PATCH-FIX_OPENSUSE: https://github.com/openSUSE/salt/commit/4028fd6e84d882b6dcee695d409c7e1ed6c83bdc
Patch144: revert-add-patch-support-for-allow-vendor-change-opt.patch
# PATCH-FIX_OPENSUSE: https://github.com/openSUSE/salt/commit/73e357d7eee19a73cade22becb30d9689cae27ba
Patch145: remove-deprecated-warning-that-breaks-miniion-execut.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: logrotate
@ -889,6 +891,7 @@ cp %{S:5} ./.travis.yml
%patch142 -p1
%patch143 -p1
%patch144 -p1
%patch145 -p1
%build
# Putting /usr/bin at the front of $PATH is needed for RHEL/RES 7. Without this