Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"DeprecationWarning: This server_id is computed nor by Adler32 neither by CRC32" in salt-run output #1593

Closed
tserong opened this issue Mar 28, 2019 · 5 comments · Fixed by #1594
Assignees

Comments

@tserong
Copy link
Member

tserong commented Mar 28, 2019

#1530 appends "server_id_use_crc: adler32" to /etc/salt/minion, but we also need this appended to /etc/salt/master, otherwise salt-run output is polluted with "[WARNING ] /usr/lib/python3.6/site-packages/salt/grains/core.py:2802: DeprecationWarning: This server_id is computed nor by Adler32 neither by CRC32. Please use "server_id_use_crc" option and define algorithm youprefer (default "Adler32"). The server_id will be computed withAdler32 by default."

@jschmid1 jschmid1 self-assigned this Mar 28, 2019
@jschmid1
Copy link
Contributor

yep, noticed that aswell a couple of days ago.. I have this on my radar and will submit a fix soon

@suykerbuyk
Copy link

Here at Seagate, we are running into this problem as well. How do we work around it?

@jschmid1
Copy link
Contributor

@suykerbuyk

try adding server_id_use_crc: adler32

to your minion configuration. i.e. /etc/salt/minion.d/crc_method.conf and restart the salt-minion/master process.

If you're using deepsea 0.9.x this should happen automatically.

@suykerbuyk
Copy link

That seems to have worked, thank you!

Note: I was running this version of DeepSea before (needing) to apply the fix:
sadmin:/srv # rpm -qi deepsea
Name : deepsea
Version : 0.9.23+git.0.6a24f24a0
Release : 3.3.2
Architecture: noarch
Install Date: Fri 13 Sep 2019 05:23:54 PM MDT
Group : System/Libraries
Size : 847686
License : GPL-3.0
Signature : RSA/SHA256, Fri 09 Aug 2019 02:02:00 AM MDT, Key ID 70af9e8139db7c82
Source RPM : deepsea-0.9.23+git.0.6a24f24a0-3.3.2.src.rpm
Build Date : Fri 09 Aug 2019 02:00:55 AM MDT
Build Host : sheep61
Relocations : (not relocatable)
Packager : https://www.suse.com/
Vendor : SUSE LLC https://www.suse.com/
URL : https://github.com/suse/deepsea
Summary : Salt solution for deploying and managing Ceph
Description :
A collection of Salt files providing a deployment of Ceph as a series of stages.
Distribution: SUSE Linux Enterprise 15

@jschmid1
Copy link
Contributor

glad to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants