Sentry in kubernetes

hi,
i need help to install sentry in kubernetes cluster.
i have a redis container and a aws rds postgresql, these services have a dns, so i need only configurate de container sentry.

i dont want to install from helm.

Hi,

Based on what you shared, I’m guessing this is for v9.1.2 (since for v10+ you’d need a bunch more services). If that’s the case, you can check out our official repo to guide you: https://github.com/getsentry/onpremise/tree/9.1.2

You’d need to adapt this configuration for your specific k8s setup but that should be quite straightforward.

i have deployed the version https://github.com/getsentry/onpremise/blob/84861509ae097c11892d29da4739a4758bcc8a84/Dockerfile

i have run sentry upgrade and in my database i can see 153 tables

but i get de error:

5:55:24 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

22/05/2020 12:55:32 15:55:32 [INFO] sentry.plugins.github: apps-not-configured

22/05/2020 12:55:32 *** Starting uWSGI 2.0.18 (64bit) on [Fri May 22 15:55:32 2020] ***

22/05/2020 12:55:32 compiled with version: 6.3.0 20170516 on 19 October 2019 09:00:01

22/05/2020 12:55:32 os: Linux-4.15.0-1051-aws #53-Ubuntu SMP Wed Sep 18 13:35:53 UTC 2019

22/05/2020 12:55:32 nodename: sentry-5cff6cd6f-mz8zl

22/05/2020 12:55:32 machine: x86_64

22/05/2020 12:55:32 clock source: unix

22/05/2020 12:55:32 detected number of CPU cores: 4

22/05/2020 12:55:32 current working directory: /usr/src/sentry

22/05/2020 12:55:32 detected binary path: /usr/local/bin/uwsgi

22/05/2020 12:55:32 !!! no internal routing support, rebuild with pcre support !!!

22/05/2020 12:55:32 your memory page size is 4096 bytes

22/05/2020 12:55:32 detected max file descriptor number: 1048576

22/05/2020 12:55:32 lock engine: pthread robust mutexes

22/05/2020 12:55:32 thunder lock: enabled

22/05/2020 12:55:32 uwsgi socket 0 bound to TCP address 0.0.0.0:9000 fd 3

22/05/2020 12:55:32 Python version: 2.7.16 (default, Oct 17 2019, 07:46:47) [GCC 6.3.0 20170516]

22/05/2020 12:55:32 Set PythonHome to /usr/local

22/05/2020 12:55:33 Python main interpreter initialized at 0x55769c5070f0

22/05/2020 12:55:33 python threads support enabled

22/05/2020 12:55:33 your server socket listen backlog is limited to 100 connections

22/05/2020 12:55:33 your mercy for graceful operations on workers is 60 seconds

22/05/2020 12:55:33 setting request body buffering size to 65536 bytes

22/05/2020 12:55:33 mapped 1924480 bytes (1879 KB) for 12 cores

22/05/2020 12:55:33 *** Operational MODE: preforking+threaded ***

22/05/2020 12:55:33 spawned uWSGI master process (pid: 16)

22/05/2020 12:55:33 spawned uWSGI worker 1 (pid: 20, cores: 4)

22/05/2020 12:55:33 spawned uWSGI worker 2 (pid: 21, cores: 4)

22/05/2020 12:55:33 spawned uWSGI worker 3 (pid: 22, cores: 4)

22/05/2020 12:55:39 15:55:39 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

22/05/2020 12:55:39 15:55:39 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

22/05/2020 12:55:40 15:55:40 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

22/05/2020 12:56:08 15:56:08 [INFO] sentry.plugins.github: apps-not-configured

22/05/2020 12:56:09 WSGI app 0 (mountpoint='') ready in 36 seconds on interpreter 0x55769c5070f0 pid: 20 (default app)

22/05/2020 12:56:10 15:56:10 [INFO] sentry.plugins.github: apps-not-configured

22/05/2020 12:56:10 15:56:10 [INFO] sentry.plugins.github: apps-not-configured

22/05/2020 12:56:10 WSGI app 0 (mountpoint='') ready in 37 seconds on interpreter 0x55769c5070f0 pid: 22 (default app)

22/05/2020 12:56:10 WSGI app 0 (mountpoint='') ready in 37 seconds on interpreter 0x55769c5070f0 pid: 21 (default app)

22/05/2020 12:56:29 10.53.110.163 - - [22/May/2020:15:56:28 +0000] "GET / HTTP/1.1" 302 470 "-" "kube-probe/1.16"

22/05/2020 12:56:30 Traceback (most recent call last):

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response

22/05/2020 12:56:30 response = wrapped_callback(request, *callback_args, **callback_kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view

22/05/2020 12:56:30 return self.dispatch(request, *args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view

22/05/2020 12:56:30 return view_func(*args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/base.py", line 225, in dispatch

22/05/2020 12:56:30 return self.handle(request, *args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func

22/05/2020 12:56:30 response = view_func(request, *args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/db/transaction.py", line 371, in inner

22/05/2020 12:56:30 return func(*args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/auth_login.py", line 193, in handle

22/05/2020 12:56:30 return super(AuthLoginView, self).handle(request, *args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/base.py", line 238, in handle

22/05/2020 12:56:30 return super(BaseView, self).dispatch(request, *args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch

22/05/2020 12:56:30 return handler(request, *args, **kwargs)

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/sentry/web/frontend/auth_login.py", line 211, in get

22/05/2020 12:56:30 org = Organization.get_default()

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/sentry/models/organization.py", line 164, in get_default

22/05/2020 12:56:30 )[0]

22/05/2020 12:56:30 File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 132, in __getitem__

22/05/2020 12:56:30 return list(qs)[0]

22/05/2020 12:56:30 IndexError: list index out of range

22/05/2020 12:56:30 15:56:30 [ERROR] django.request: Internal Server Error: /auth/login/ (status_code=500 request=<WSGIRequest: GET u'/auth/login/'>)

22/05/2020 12:56:30 10.53.110.163 - - [22/May/2020:15:56:29 +0000] "GET /auth/login/ HTTP/1.1" 500 5583 "http://10.42.224.81:9000/" "kube-probe/1.16"

I think you don’t have the default user created, have you?

i have run sentry createuser
and i see this user in database but this error occurs:

Email: adm@gmail.com
Password: 
Repeat for confirmation: 
Should this user be a superuser? [y/N]: y
User created: adm@gmail.com
Traceback (most recent call last):
  File "/usr/local/bin/sentry", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/sentry/runner/__init__.py", line 162, in main
    cli(prog_name=get_prog(), obj={}, max_content_width=100)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/sentry/runner/decorators.py", line 36, in inner
    return ctx.invoke(f, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/sentry/runner/commands/createuser.py", line 95, in createuser
    org = Organization.get_default()
  File "/usr/local/lib/python2.7/site-packages/sentry/models/organization.py", line 164, in get_default
    )[0]
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 132, in __getitem__
    return list(qs)[0]
IndexError: list index out of range
root@sentry-786b4dfdf-8d4l6:/usr/src/sentry#

Yeah, I think your migrations did not complete properly. Have you successfully run sentry upgrade?

Btw. can you please wrap your logs in code blocks (surround them with ```) so they become easier to read?

i think that i have sucessfully completed sentry upgrade,

root@sentry-69bd7c645c-mgzkp:/usr/src/sentry# sentry upgrade
19:30:17 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.
19:30:29 [INFO] sentry.plugins.github: apps-not-configured
Syncing…
Creating tables …
Installing custom SQL …
Installing indexes …
Installed 0 object(s) from 0 fixture(s)
Migrating…
Running migrations for sentry:

  • Nothing to migrate.
    Running migrations for sentry.nodestore:
  • Nothing to migrate.
    Running migrations for sentry.search:
  • Nothing to migrate.
    Running migrations for social_auth:
  • Nothing to migrate.
    Running migrations for sentry.tagstore:
  • Nothing to migrate.
    Running migrations for sentry_plugins.hipchat_ac:
  • Nothing to migrate.
    Running migrations for sentry_plugins.jira_ac:
  • Nothing to migrate.

Synced:

django.contrib.admin
django.contrib.auth
django.contrib.contenttypes
django.contrib.messages
django.contrib.sessions
django.contrib.sites
django.contrib.staticfiles
crispy_forms
debug_toolbar
rest_framework
sentry.plugins.sentry_interface_types
sentry.plugins.sentry_mail
sentry.plugins.sentry_urls
sentry.plugins.sentry_useragents
sentry.plugins.sentry_webhooks
sudo
south

Migrated:

  • sentry
  • sentry.nodestore
  • sentry.search
  • social_auth
  • sentry.tagstore
  • sentry_plugins.hipchat_ac
  • sentry_plugins.jira_ac
    Creating missing DSNs
    Correcting Group.num_comments counter
    root@sentry-69bd7c645c-mgzkp:/usr/src/sentry#

how i can verify in database if all data is correct?

hy BYK,

declaring ENV SENTRY_SINGLE_ORGANIZATION = false, an application started.

user creation returns a message:
User created: user@teste.com.br
Unhandled exception in the thread started by <Thread chaining method .__ bootstrap of <Thread (Thread-1, stopped daemon 139886471210752) >>
Error in sys.excepthook:
Traceback (most recent last call):
File “/usr/local/lib/python2.7/site-packages/sentry_sdk/integrations/excepthook.py”, line 53, at sentry_sdk_excepthook
hub = Hub.current
File “/usr/local/lib/python2.7/site-packages/sentry_sdk/hub.py”, line 113, in the current version
rv = _local.get (none)
root @ sentry-65844f76cb-t5h2z: / usr / src / sentry #

I think something went wrong during your initial migration, causing certain signals to not work, hence the absence of the default organization.

I recommend starting over from a clean slate. If you want to try, you may try running this command in sentry shell: https://github.com/getsentry/sentry/blob/0fffc30f1455a23f98e76240fb1bf9de7ef81e71/src/sentry/receivers/core.py#L46-L51

from django.conf import settings
from sentry.receivers.core import create_default_project

create_default_project(id=settings.SENTRY_PROJECT, name='Internal', slug='internal', verbosity=2)

thanks BYK,

how i can resolve that error;
[Background workers haven’t checked in recently. This is likely an issue with your configuration or the workers aren’t running]

i run (sentry run worker and sentry run cron) but de error persist.

They should go away in 5-10 minutes as the workers and cron start communicating with Sentry.

hi BYK, how are you?
i still have get de message " [Background workers haven’t checked in recently. It seems that you have a backlog of 69 tasks. Either your workers aren’t running or you need more capacity.]

root@sentry-57df5b66c5-7lxmk:/usr/src/sentry# ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
sentry 1 0.0 0.0 4176 696 ? Ss 09:27 0:00 tini – sentry run web
sentry 14 0.0 0.0 91896 11900 ? S 09:27 0:04 [Sentry] uWSGI master
sentry 18 0.5 0.8 684884 138608 ? Sl 09:28 0:45 [Sentry] uWSGI worker 1
root 26 0.0 0.0 4280 796 pts/0 Ss+ 11:36 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 31 0.0 0.0 4280 92 pts/0 S+ 11:36 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 32 0.0 0.0 20680 2244 pts/0 S+ 11:36 0:00 /usr/bin/script -q -c /bin/bash /dev/null
root 33 0.0 0.0 4280 744 pts/1 Ss 11:36 0:00 sh -c /bin/bash
root 34 0.0 0.0 19988 3536 pts/1 S 11:36 0:00 /bin/bash
root 35 1.0 0.7 422912 122276 pts/1 Sl+ 11:36 0:04 [celery beat] run cron
root 40 0.0 0.0 4280 704 pts/2 Ss+ 11:41 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 45 0.0 0.0 4280 92 pts/2 S+ 11:41 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 46 0.0 0.0 20680 2240 pts/2 S+ 11:41 0:00 /usr/bin/script -q -c /bin/bash /dev/null
root 47 0.0 0.0 4280 764 pts/3 Ss 11:41 0:00 sh -c /bin/bash

root@sentry-57df5b66c5-7lxmk:/usr/src/sentry# free -m
total used free shared buff/cache available
Mem: 15855 5867 434 3 9552 9817
Swap: 0 0 0

Log Start:
11:50:14 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

29/06/2020 08:51:08 11:51:08 [INFO] sentry.plugins.github: apps-not-configured

29/06/2020 08:51:09 *** Starting uWSGI 2.0.18 (64bit) on [Mon Jun 29 11:51:09 2020] ***

29/06/2020 08:51:09 compiled with version: 6.3.0 20170516 on 19 October 2019 09:00:01

29/06/2020 08:51:09 os: Linux-4.15.0-1051-aws #53-Ubuntu SMP Wed Sep 18 13:35:53 UTC 2019

29/06/2020 08:51:09 nodename: sentry-57df5b66c5-bwmwq

29/06/2020 08:51:09 machine: x86_64

29/06/2020 08:51:09 clock source: unix

29/06/2020 08:51:09 detected number of CPU cores: 4

29/06/2020 08:51:09 current working directory: /usr/src/sentry

29/06/2020 08:51:09 detected binary path: /usr/local/bin/uwsgi

29/06/2020 08:51:09 !!! no internal routing support, rebuild with pcre support !!!

29/06/2020 08:51:09 your memory page size is 4096 bytes

29/06/2020 08:51:09 detected max file descriptor number: 1048576

29/06/2020 08:51:09 lock engine: pthread robust mutexes

29/06/2020 08:51:09 thunder lock: enabled

29/06/2020 08:51:09 uwsgi socket 0 bound to TCP address 0.0.0.0:9000 fd 3

29/06/2020 08:51:09 Python version: 2.7.16 (default, Oct 17 2019, 07:46:47) [GCC 6.3.0 20170516]

29/06/2020 08:51:09 Set PythonHome to /usr/local

29/06/2020 08:51:10 Python main interpreter initialized at 0x5566948ae140

29/06/2020 08:51:10 python threads support enabled

29/06/2020 08:51:10 your server socket listen backlog is limited to 100 connections

29/06/2020 08:51:10 your mercy for graceful operations on workers is 60 seconds

29/06/2020 08:51:10 setting request body buffering size to 65536 bytes

29/06/2020 08:51:10 mapped 962240 bytes (939 KB) for 4 cores

29/06/2020 08:51:10 *** Operational MODE: threaded ***

29/06/2020 08:51:10 spawned uWSGI master process (pid: 14)

29/06/2020 08:51:10 spawned uWSGI worker 1 (pid: 18, cores: 4)

29/06/2020 08:51:23 11:51:23 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

29/06/2020 08:52:32 11:52:32 [INFO] sentry.plugins.github: apps-not-configured

29/06/2020 08:52:33 WSGI app 0 (mountpoint=’’) ready in 83 seconds on interpreter 0x5566948ae140 pid: 18 (default app)

29/06/2020 08:52:52 10.53.124.10 - - [29/Jun/2020:11:52:33 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:52:52 10.53.124.10 - - [29/Jun/2020:11:52:52 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:52:52 10.53.124.10 - - [29/Jun/2020:11:52:33 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:52:52 10.53.124.10 - - [29/Jun/2020:11:52:52 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:52:52 10.53.124.10 - - [29/Jun/2020:11:52:33 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:52:53 10.53.124.10 - - [29/Jun/2020:11:52:33 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:52:56 10.53.124.10 - - [29/Jun/2020:11:52:52 +0000] “GET /auth/login/ HTTP/1.1” 200 9078 “http://10.42.211.84:9000/” “kube-probe/1.16”

29/06/2020 08:52:56 10.53.124.10 - - [29/Jun/2020:11:52:52 +0000] “GET /auth/login/ HTTP/1.1” 200 9078 “http://10.42.211.84:9000/” “kube-probe/1.16”

29/06/2020 08:53:13 10.53.124.10 - - [29/Jun/2020:11:53:13 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 08:53:14 10.53.124.10 - - [29/Jun/2020:11:53:13 +0000] “GET /auth/login/ HTTP/1.1” 200 9078 “http://10.42.211.84:9000/” “kube-probe/1.16”

29/06/2020 08:53:20 10.53.124.10 - - [29/Jun/2020:11:53:19 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

the message error; “29/06/2020 08:51:09 !!! no internal routing support, rebuild with pcre support !!!” has been corrected.

Log:

23:14:00 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

29/06/2020 20:14:39 23:14:39 [INFO] sentry.plugins.github: apps-not-configured

29/06/2020 20:14:40 *** Starting uWSGI 2.0.19.1 (64bit) on [Mon Jun 29 23:14:40 2020] ***

29/06/2020 20:14:40 compiled with version: 6.3.0 20170516 on 29 June 2020 23:13:13

29/06/2020 20:14:40 os: Linux-4.15.0-1051-aws #53-Ubuntu SMP Wed Sep 18 13:35:53 UTC 2019

29/06/2020 20:14:40 nodename: sentry-6967789b8c-bnj9z

29/06/2020 20:14:40 machine: x86_64

29/06/2020 20:14:40 clock source: unix

29/06/2020 20:14:40 pcre jit disabled

29/06/2020 20:14:40 detected number of CPU cores: 4

29/06/2020 20:14:40 current working directory: /usr/src/sentry

29/06/2020 20:14:40 detected binary path: /usr/local/bin/uwsgi

29/06/2020 20:14:40 your memory page size is 4096 bytes

29/06/2020 20:14:40 detected max file descriptor number: 1048576

29/06/2020 20:14:40 lock engine: pthread robust mutexes

29/06/2020 20:14:40 thunder lock: enabled

29/06/2020 20:14:40 uwsgi socket 0 bound to TCP address 0.0.0.0:9000 fd 3

29/06/2020 20:14:40 Python version: 2.7.16 (default, Oct 17 2019, 07:46:47) [GCC 6.3.0 20170516]

29/06/2020 20:14:40 Set PythonHome to /usr/local

29/06/2020 20:14:41 Python main interpreter initialized at 0x55d4a159fbf0

29/06/2020 20:14:41 python threads support enabled

29/06/2020 20:14:41 your server socket listen backlog is limited to 100 connections

29/06/2020 20:14:41 your mercy for graceful operations on workers is 60 seconds

29/06/2020 20:14:41 setting request body buffering size to 65536 bytes

29/06/2020 20:14:41 mapped 962240 bytes (939 KB) for 4 cores

29/06/2020 20:14:41 *** Operational MODE: threaded ***

29/06/2020 20:14:41 spawned uWSGI master process (pid: 14)

29/06/2020 20:14:41 spawned uWSGI worker 1 (pid: 18, cores: 4)

29/06/2020 20:14:51 23:14:51 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured.

29/06/2020 20:15:31 23:15:31 [INFO] sentry.plugins.github: apps-not-configured

29/06/2020 20:15:32 WSGI app 0 (mountpoint=‘’) ready in 51 seconds on interpreter 0x55d4a159fbf0 pid: 18 (default app)

29/06/2020 20:15:38 10.53.77.14 - - [29/Jun/2020:23:15:32 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 20:15:43 10.53.77.14 - - [29/Jun/2020:23:15:43 +0000] “GET / HTTP/1.1” 302 470 “-” “kube-probe/1.16”

29/06/2020 20:15:45 10.53.77.14 - - [29/Jun/2020:23:15:43 +0000] “GET /auth/login/ HTTP/1.1” 200 9077 “http://10.42.158.28:9000/” “kube-probe/1.16”

but i have a message : Background workers haven’t checked in recently. This is likely an issue with your configuration or the workers aren’t running.

so, i run sentry run cron:

and this message is:


Background workers haven’t checked in recently. It seems that you have a backlog of 25 tasks. Either your workers aren’t running or you need more capacity.

For more details see ps(1).
root@sentry-6967789b8c-bnj9z:/usr/src/sentry# ps -aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
sentry 1 0.0 0.0 4176 644 ? Ss 23:13 0:00 tini – sentry run web
sentry 14 0.3 0.0 94504 11840 ? S 23:13 0:05 [Sentry] uWSGI master
sentry 18 1.4 0.8 686828 138108 ? Sl 23:14 0:17 [Sentry] uWSGI worker 1
root 26 0.0 0.0 4280 756 pts/0 Ss+ 23:16 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 31 0.0 0.0 4280 92 pts/0 S+ 23:16 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 32 0.0 0.0 20680 2292 pts/0 S+ 23:16 0:00 /usr/bin/script -q -c /bin/bash /dev/null
root 33 0.0 0.0 4280 704 pts/1 Ss 23:16 0:00 sh -c /bin/bash
root 34 0.0 0.0 19984 3676 pts/1 S+ 23:16 0:00 /bin/bash
root 36 0.0 0.0 4280 756 pts/2 Ss+ 23:23 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 41 0.0 0.0 4280 92 pts/2 S+ 23:23 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 42 0.0 0.0 20680 2212 pts/2 S+ 23:23 0:00 /usr/bin/script -q -c /bin/bash /dev/null
root 43 0.0 0.0 4280 716 pts/3 Ss 23:23 0:00 sh -c /bin/bash
root 44 0.0 0.0 19984 3524 pts/3 S 23:23 0:00 /bin/bash
root 45 1.0 0.7 422912 122204 pts/3 Sl+ 23:24 0:06 [celery beat] run cron
root 50 0.0 0.0 4280 748 pts/4 Ss+ 23:35 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 55 0.0 0.0 4280 92 pts/4 S+ 23:35 0:00 /bin/sh -c TERM=xterm-256color; export TERM; [ -x /bin/bash ] && ([ -x /usr/bin/script ] && /usr/bin
root 56 0.0 0.0 20680 2216 pts/4 S+ 23:35 0:00 /usr/bin/script -q -c /bin/bash /dev/null
root 57 0.0 0.0 4280 800 pts/5 Ss 23:35 0:00 sh -c /bin/bash
root 58 0.0 0.0 19984 3680 pts/5 S 23:35 0:00 /bin/bash
root 60 0.0 0.0 38384 3296 pts/5 R+ 23:35 0:00 ps -aux

I think you are looking at the wrong place. The celery workers Sentry mentions are the ones defined here:

They are separate instances from the web service and need to run in separate containers with shared data volumes and database. Once you get those containers running, the warning should go away.

Hi BYK, thanks for reply,

so, run and cron dont could running in same instance container?

The recommendation is to run them in separate containers. You may be having networking issues with Redis as that’s the channel used for communication (at least it’s the default).