salt icon indicating copy to clipboard operation
salt copied to clipboard

[BUG] Salt Master executes jobs unreliably.

Open tstolswo opened this issue 3 years ago • 4 comments

Description In our SaltStack environment there have been countless instances where launching a job from RaaS or manually executing a state on the salt master itself times out and never executes. In each instance once we restart the salt master service and rerun the job it works as expected.

A VMWare Support case has been filed, and I believe a PR has been submitted on our behalf through the VMWare team. Please reference SR 23429759905. A VMWare Engineer has submitted the bug, in observing this exact issue with another customer of his. The current investigation has lead us to an error with msgpack deserializing binary data that the master is unable to recover from during run time.

Setup Please be as specific as possible and give set-up details.

  • [X] on-prem machine
  • [X] VM (Virtualbox, KVM, etc. please specify)
  • [ ] VM running on a cloud service, please be explicit and add details
  • [ ] container (Kubernetes, Docker, containerd, etc. please specify)
  • [ ] or a combination, please be explicit
  • [ ] jails if it is FreeBSD
  • [X] classic packaging
  • [ ] onedir packaging
  • [ ] used bootstrap to install

Two Salt Master servers, an EAPI server, a Redis server, and a Postgre server.

Steps to Reproduce the behavior There doesn't seem to be a specific trigger to reproducing the behavior; this occurs over time, almost daily.

Expected behavior We would generally expect the job to execute via the RaaS, or execute when manually ran.

Screenshots If applicable, add screenshots to help explain your problem.

Versions Report

salt --versions-report (Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
          Salt: 3005.1

Dependency Versions:
          cffi: 1.11.5
      cherrypy: Not Installed
      dateutil: 2.6.1
     docker-py: Not Installed
         gitdb: 4.0.9
     gitpython: 3.1.18
        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: Not Installed
  pycryptodome: 3.17
        pygit2: Not Installed
        Python: 3.6.8 (default, Jan 11 2023, 08:43:50)
  python-gnupg: Not Installed
        PyYAML: 3.12
         PyZMQ: 20.0.0
         smmap: 5.0.0
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.4

Salt Extensions:
        SSEAPE: 8.11.0.2

System Versions:
          dist: rhel 8.7 Ootpa
        locale: UTF-8
       machine: x86_64
       release: 4.18.0-425.19.2.el8_7.x86_64
        system: Linux
       version: Red Hat Enterprise Linux 8.7 Ootpa

Additional context

tstolswo avatar May 26 '23 20:05 tstolswo

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 [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

welcome[bot] avatar May 26 '23 20:05 welcome[bot]

We will be addressing this in a Bugfix release.

dwoz avatar May 31 '23 21:05 dwoz

@tstolswo VMWare Support will reach out to you via the SR.

dwoz avatar May 31 '23 23:05 dwoz

Thanks!

tstolswo avatar Jun 01 '23 01:06 tstolswo