Open onlineque opened 2 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 saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Possibly related to #62550?
@onlineque Are you using the classic packages or the onedir
packages? So far I haven't been able to reproduce this issue using the configurations you provided.
Not sure what is a 'onedir' package, but I am using Salt using the official repositories: baseurl=https://repo.saltproject.io/py3/redhat/8/x86_64/latest
[salt@dna-backend-master /]$ rpm -qi salt-3005-1.el8
Name : salt
Version : 3005
Release : 1.el8
Architecture: noarch
Install Date: Fri Sep 2 00:09:58 2022
Group : System Environment/Daemons
Size : 49688195
License : ASL 2.0
Signature : RSA/SHA256, Wed Aug 24 21:03:09 2022, Key ID 0e08a149de57bfbe
Source RPM : salt-3005-1.el8.src.rpm
Build Date : Wed Aug 24 20:19:50 2022
Build Host : ip-10-200-9-238.us-west-2.compute.internal
Relocations : (not relocatable)
URL : http://saltstack.org/
Summary : A parallel remote execution system
Description :
Salt is a distributed remote execution system used to execute commands and
query data. It was developed in order to bring the best solutions found in
the world of remote execution together and make them better, faster and more
malleable. Salt accomplishes this via its ability to handle larger loads of
information, and not just dozens, but hundreds or even thousands of individual
servers, handle them quickly and through a simple and manageable interface.
if that may be of any help.
@onlineque Thanks. That looks like the package type that we're calling classic packages
, the onedir
packages include everything installed in one directory. I just noticed you indicated that you were running this inside a Docker container, which one are you using?
Quick update, I was able to reproduce this one running inside a Rocky 8.6 Docker container.
Awesome ! Basically I've built the Docker image myself, highly inspired by the saltinit script to start Salt; and yes, it's based on Rocky 8.6 image, so it is exactly matching the environment you were able to reproduce it on.
@onlineque It looks like the cause of the issue is the order_masters: True
option you have in your master configuration. Removing that and the command returns right away. This is a hint to where in the code things are broken.
Thanks a lot, @garethgreenaway , I can confirm removing that from the config fixed the issue for me.
Description salt waiting few more seconds after successfully receiving and displaying the obtained minion result
Setup I am having one master and one minion, both running in a container, salt-master together with salt-minion, it's a Docker container
master config:
minion config:
Steps to Reproduce the behavior
Expected behavior I'd expect salt to finish right after receiving the result completely and not to wait few more seconds and exiting. Not sure if this is a configuration issue on my side or a bug. Please help. Thx !
Versions Report
salt --versions-report
[salt@dna-backend-master master.d]$ salt --versions-report Salt Version: Salt: 3005 Dependency Versions: cffi: 1.11.5 cherrypy: unknown 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: 0.6.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: 2.14 pycrypto: 3.15.0 pycryptodome: 3.15.0 pygit2: Not Installed Python: 3.6.8 (default, Apr 12 2022, 06:55:39) python-gnupg: Not Installed PyYAML: 3.12 PyZMQ: 20.0.0 smmap: Not Installed timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.3.4 System Versions: dist: rocky 8.6 Green Obsidian locale: UTF-8 machine: x86_64 release: 4.18.0-348.12.2.el8_5.x86_64 system: Linux version: Rocky Linux 8.6 Green Obsidian