Giter Club home page Giter Club logo

Comments (4)

welcome avatar welcome commented on July 18, 2024

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!

from salt.

jchatin avatar jchatin commented on July 18, 2024

updated salt to 3007.0, same issue

Dockerfile
FROM debian:bullseye

RUN apt-get update && apt-get upgrade -y && \
    apt-get install -y wget gnupg2

RUN wget -O - https://repo.saltproject.io/salt/py3/debian/11/amd64/3007/SALT-PROJECT-GPG-PUBKEY-2023.pub | apt-key add - && \
    printf 'deb https://repo.saltproject.io/salt/py3/debian/11/amd64/3007 bullseye main' > /etc/apt/sources.list.d/saltstack.list && \
    apt-get update && \
    apt-get install -y salt-master salt-api salt-ssh salt-cloud python3-pip git iproute2 && \
    apt-get install -y patchelf

EXPOSE 4505 4506 8000

ADD run.sh /usr/local/bin/run.sh

#ENV LOG_LEVEL debug
#ENV LOG_LEVEL info

RUN chmod +x "/usr/local/bin/run.sh"

RUN useradd -p YourOwnPasswordHash testapi

CMD [ "/usr/local/bin/run.sh" ]
salt --versions-report
Salt Version:
          Salt: 3007.0

Python Version:
        Python: 3.10.13 (main, Feb 19 2024, 03:31:20) [GCC 11.2.0]

Dependency Versions:
          cffi: 1.16.0
      cherrypy: unknown
      dateutil: 2.8.2
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.3
       libgit2: 1.8.1
  looseversion: 1.3.0
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.7
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     packaging: 23.1
     pycparser: 2.21
      pycrypto: Not Installed
  pycryptodome: 3.19.1
        pygit2: 1.15.0
  python-gnupg: 0.5.2
        PyYAML: 6.0.1
         PyZMQ: 25.1.2
        relenv: 0.15.1
         smmap: Not Installed
       timelib: 0.3.0
       Tornado: 6.3.3
           ZMQ: 4.3.4

Salt Package Information:
  Package Type: onedir

System Versions:
          dist: debian 11.9 bullseye
        locale: utf-8
       machine: x86_64
       release: 5.10.0-28-cloud-amd64
        system: Linux
       version: Debian GNU/Linux 11.9 bullseye

```</details>

from salt.

jchatin avatar jchatin commented on July 18, 2024

Also just noticed that running a runner module from the salt master in async has the same behavior

From salt master

loop 'salt-run jobs.list_jobs --async'

#while true;do salt-run jobs.list_jobs --async;sleep 2;done
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165915059925
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165918440154
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165921779997
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165924996628
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165928173393
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165931430030
[WARNING ] Running in asynchronous mode. Results of this execution may be collected by attaching to the master event bus or by examining the master job cache, if configured. This execution is running under tag salt/run/20240521165934535769

in parallel from another terminal , loop 'ps -ef|grep defunct' to count defunct processes

#while true ; do ps -ef --forest| grep defun| wc -l; sleep 2.5; done
40
41
42
44
45
47
48
50
52
53

from salt.

jchatin avatar jchatin commented on July 18, 2024

found workaround, run docker container using host user namespace:
docker-compose file:

services:
  salt-master:
    userns_mode: host
    pid: host

from salt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.