Open Nemergal opened 4 years ago
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. If you have additional questions, email us at core@saltstack.com or reach out directly to the Community Manager, Cassandra Faris via Slack. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Could it be a firewall or antivirus issue?
Could it be a firewall or antivirus issue?
Think not: test with disabled, same with firewall, ni changes. It seems the minion can't initialize connection process. Maybe because cipher?
Are you able to ping the IPs themselves or tried netstat
on them?
Are you able to ping the IPs themselves or tried
netstat
on them?
Yes, ping are fine, DNS resolution too. It append only on WS 2008 (non-R2) and WS 2003.
After few searches, error 10041 append in ip.cpp at line 417 from ZMQ Python Library:
// Create listening socket.
SOCKET listener;
listener = zmq::open_socket (AF_INET, SOCK_STREAM, 0);
wsa_assert (listener != INVALID_SOCKET);
// Set SO_REUSEADDR and TCP_NODELAY on listening socket.
BOOL so_reuseaddr = 1;
int rc = setsockopt (listener, SOL_SOCKET, SO_REUSEADDR,
reinterpret_cast<char *> (&so_reuseaddr),
sizeof so_reuseaddr);
wsa_assert (rc != SOCKET_ERROR);
And error 10041 are from Windows Error Socket Code:
WSAEPROTOTYPE10041 | Protocol wrong type for socket.A protocol was specified in the socket function call that does not support the semantics of the socket type requested. For example, the ARPA Internet UDP protocol cannot be specified with a socket type of SOCK_STREAM.
Maybe an update on WS 2008? But OS are up-to-date...
That's difficult here, because we don't support WS 2008 or 2003 officially nor do we have any tests that would otherwise indicate we do have socket support for older machines that are expecting protocols like that. I personally don't know the internals of the socket implementation as I'm not ZMQ expert, and unfortunately googling brought me no where.
Unless there are other settings inside WS2008/WS2003 that you change settings. I booted up a 2008 and was seeing very similar results...
Hi! Yes I understand for WS 2008 and 2003 support (I hope myself this servers will be removed soon but for now...).
For info I've found a solution : salt minion Py2 x64 3000.3. No problem here. There is a risk? Because my server is 3001.1.
Interesting, will understand those differences between Py2/Py3 for your current issue however I still believe it shouldn't matter. I will ask because we have migrated to Py3 officially, so maybe there is a small change that still needs to go in. 3000.3 is latest neon release, and 3001.1 is latest sodium so should be good. 👍
https://docs.saltstack.com/en/latest/topics/releases/index.html
Hi,
I am trying to connect a minion to the master, from a Windows Server 2008 Storage, i known it's a EOL product but...
Without success, with salt-minion-debug.bat I get an error:
Setup My config is simple, no changes on salt-master (only listening interface) and only master and hostname on the minion side.
Steps to Reproduce the behavior Run salt-minion on a Windows 2008 storage.
Expected behavior Minion connecting to master like WS 2008 R2 and earlier
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) MINION: ``` C:\salt>salt-minion.bat --versions-report Salt Version: Salt: 3001.1 Dependency Versions: cffi: 1.12.2 cherrypy: 17.4.1 dateutil: 2.8.0 docker-py: Not Installed gitdb: 2.0.5 gitpython: Not Installed Jinja2: 2.10.1 libgit2: Not Installed M2Crypto: Not Installed Mako: 1.0.7 msgpack-pure: Not Installed msgpack-python: 1.0.0 mysql-python: Not Installed pycparser: 2.19 pycrypto: Not Installed pycryptodome: 3.9.7 pygit2: Not Installed Python: 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.19 16 64 bit (AMD64)] python-gnupg: 0.4.4 PyYAML: 5.3.1 PyZMQ: 18.0.1 smmap: 2.0.5 timelib: 0.2.4 Tornado: 4.5.3 ZMQ: 4.3.1 System Versions: dist: locale: cp1252 machine: AMD64 release: 2008Server system: Windows version: 2008Server 6.0.6003 SP2 ``` MASTER: ``` [root@salt]# salt --versions-report Salt Version: Salt: 3001.1 Dependency Versions: cffi: Not Installed cherrypy: Not Installed dateutil: 2.6.1 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 2.10.1 libgit2: Not Installed M2Crypto: 0.35.2 Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.6.2 mysql-python: Not Installed pycparser: Not Installed pycrypto: Not Installed pycryptodome: Not Installed pygit2: Not Installed Python: 3.6.8 (default, Apr 16 2020, 01:36:27) python-gnupg: Not Installed PyYAML: 3.12 PyZMQ: 19.0.0 smmap: Not Installed timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.3.2 System Versions: dist: centos 8 Core locale: UTF-8 machine: x86_64 release: 4.18.0-193.el8.x86_64 system: Linux version: CentOS Linux 8 Core ```